/*
 * HUM — front-end styles.
 *
 * AUTHORING RULE, and it is not negotiable: this file is written in CSS LOGICAL PROPERTIES
 * from the first line. padding-inline-start, margin-inline-end, border-inline-start,
 * inset-inline-start, text-align: start — never their left/right equivalents.
 *
 * The reason is Arabic. It is one of the site's 23 languages, and the sister site shows what
 * happens when RTL is treated as a later audit: its ENTIRE right-to-left surface is three
 * rules covering four of its own 260 selectors, and its blog stylesheet has none at all.
 * Logical properties cost nothing while the file is being written; a [dir="rtl"] override
 * block is a second stylesheet that has to be kept in sync forever, and demonstrably is not.
 *
 * Physical direction is correct in exactly four places, and each one says why:
 *   1. the brand wordmark            — ".org" must not jump left of "Humanity"
 *   2. .platform-screen-progress     — a progress read left-to-right
 *   3. .impact-value                 — carries €, which must stay beside its digits
 *   4. the five glyph arrows ↗ ← → › ⌄ — these need scaleX(-1), not mirroring
 *
 * Colour values below are the accessible ones. Sixteen of the prototype's small-text pairs
 * fail WCAG AA, so where a token differs from the prototype it has been darkened in place
 * and the original is noted.
 *
 * TABLE OF CONTENTS
 * -----------------
 *   1. Tokens
 *   2. Base
 *   3. Accessibility utilities
 *   4. Reduced motion
 *   5. Language switcher
 *   6. Site header
 *   7. Buttons, links and glyphs
 *   8. Headings, labels and section scaffolding
 *   9. Hero
 *  10. Short band
 *  11. Impact — "in numbers"
 *  12. Pillars
 *  13. Transparency and the VisibleMoney panel
 *  14. #app-preview — the blue island
 *  15. Global scope and the network diagram
 *  16. Political Academy
 *  17. FAQ
 *  18. Join
 *  19. Author and books
 *  20. Closing banner
 *  21. Footer
 *  22. WordPress chrome
 *  23. Direction — the deliberate physical exceptions
 *  24. Reduced motion, deferred half
 *  25. Script adjustments — MUST STAY LAST
 *
 * Sections 1 to 21 run in page order. Each section carries its own media queries directly
 * beneath its rules, because a maintainer changing the hero should not have to find five
 * breakpoint blocks at the bottom of the file to see what the hero does on a phone.
 * Sections 23 to 25 are cascade-ordered, not page-ordered: they override what comes before
 * them and only work from the end of the file.
 */

/* ---------------------------------------------------------------------------
 * 1. Tokens
 * ------------------------------------------------------------------------ */

:root {
	--hum-ink: #18343b;
	--hum-muted: #526b71;
	--hum-green: #006967;
	--hum-green-dark: #0b4f50;
	--hum-bright: #a9e2d4;
	--hum-line: #d6dfd8;
	--hum-mist: #f4f8f6;
	--hum-pale: #e9f4f1;
	--hum-deep: #102f32;
	--hum-white: #fff;

	--hum-radius: 20px;
	--hum-radius-sm: 10px;
	--hum-shadow: 0 24px 65px rgba(16, 47, 50, 0.1);
	--hum-shadow-sm: 0 6px 18px rgba(16, 47, 50, 0.14);

	/*
	 * The prototype's focus ring (#57c18d) measures 2.23:1 against white, failing
	 * WCAG 2.2 SC 1.4.11 (3:1 minimum for non-text contrast). This is the darkened
	 * replacement; it applies to every interactive element on the site.
	 */
	--hum-focus: #0b6b4a;

	--hum-container: 1168px;
	--hum-gutter: 26px;

	/*
	 * Everything below this line was added when the design's stylesheet was ported in.
	 * Nothing above it changed.
	 */

	/*
	 * --hum-line (#d6dfd8) is a 1.33:1 hairline. That is right for dividers, which are
	 * decoration, and wrong for the BORDER OF A CONTROL: on .btn-outline and .menu-toggle
	 * the border is the only thing that says "this is a button", so SC 1.4.11 asks 3:1 of
	 * it. These two tokens are that border, measured: #6b8e7e is 3.62:1 on white, 3.38:1
	 * on --hum-mist and 3.22:1 on --hum-pale, so it holds on every surface the page uses.
	 */
	--hum-line-strong: #6b8e7e;
	--hum-line-strong-hover: #478969;

	/*
	 * DIRECTION-AWARE GEOMETRY.
	 *
	 * A gradient angle and a box-shadow offset are the two things in this file that have a
	 * direction and no logical form. Their physical values therefore live in tokens, and
	 * section 23 redefines the tokens once under [dir="rtl"] — so the gradients and shadows
	 * mirror with the layout instead of lighting the page from the wrong side in Arabic.
	 * The vertical (180deg) and centred (50% 50%) gradients need no token: they are already
	 * direction-neutral.
	 */
	--hum-angle-card: 145deg;        /* .impact-card, .network-center, .author-aside   */
	--hum-angle-banner: 115deg;      /* .academy-banner, #app-preview .platform-tabs  */
	--hum-angle-join: 125deg;        /* .join-box                                     */
	--hum-angle-book: 140deg;        /* .book-card                                    */
	--hum-angle-book-alt: 135deg;    /* .book-card:nth-child(2)                       */
	--hum-angle-academy: 117deg;     /* .academy-banner-new                           */
	--hum-angle-final: 114deg;       /* .hum-final-banner                             */
	--hum-angle-island: 160deg;      /* #app-preview                                  */
	--hum-hero-glow-x: 83%;          /* .hero-wrap radial highlight                   */
	--hum-shadow-x: 8px;             /* .book-cover-link, a cast book shadow          */
	--hum-inset-x: 3px;              /* #app-preview pressed-option inset bar         */
}

/* ---------------------------------------------------------------------------
 * 2. Base
 * ------------------------------------------------------------------------ */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 95px;
}

body {
	background: var(--hum-white);
	color: var(--hum-ink);
	line-height: 1.55;
	margin: 0;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	cursor: pointer;
	font: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid var(--hum-focus);
	outline-offset: 3px;
}

.container {
	inline-size: min(var(--hum-container), calc(100% - (var(--hum-gutter) * 2)));
	margin-inline: auto;
}

/*
 * The design narrows its gutter twice (52px → 34px → 28px of total side space). Because
 * .container is expressed in the token, the breakpoints only have to move the token, and
 * every container on the page — including #app-preview's wider one — follows.
 */
@media (max-width: 730px) {
	:root {
		--hum-gutter: 17px;
	}
}

@media (max-width: 410px) {
	:root {
		--hum-gutter: 14px;
	}
}

/* ---------------------------------------------------------------------------
 * 3. Accessibility utilities
 * ------------------------------------------------------------------------ */

/* Accessible-but-invisible text, matching core's own utility. */
.screen-reader-text {
	block-size: 1px;
	clip-path: inset(50%);
	inline-size: 1px;
	margin: -1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
}

.skip-link {
	background: var(--hum-white);
	inset-block-start: -100px;
	inset-inline-start: 12px;
	padding: 12px;
	position: absolute;
	z-index: 200;
}

.skip-link:focus {
	inset-block-start: 10px;
}

/* #main carries tabindex="-1" so the skip link actually moves focus, not just the viewport. */
#main:focus {
	outline: none;
}

/* ---------------------------------------------------------------------------
 * 4. Reduced motion
 *
 * The universal rule below already neutralises every transition and animation on the page,
 * including ones added later. Section 24 names the individual components anyway — see the
 * comment there for why that belongs at the END of the file and not in this block.
 * ------------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* ---------------------------------------------------------------------------
 * 5. Language switcher
 *
 * Markup comes from inc/switcher.php: a button plus a plain <ul> of links.
 * ------------------------------------------------------------------------ */

.hum-lang {
	display: inline-block;
	font-size: 0.8125rem;
	line-height: 1.3;
	position: relative;
	text-align: start;
}

.hum-lang-toggle {
	align-items: center;
	background: var(--hum-white);
	border: 1px solid var(--hum-line);
	border-radius: var(--hum-radius-sm);
	color: var(--hum-ink);
	display: inline-flex;
	font-weight: 600;
	gap: 0.5em;
	min-block-size: 40px;
	padding-block: 0.4em;
	padding-inline: 0.7em;
	transition: border-color 0.2s, background 0.2s;
}

.hum-lang-toggle:hover,
.hum-lang-toggle:focus-visible {
	background: var(--hum-mist);
	border-color: var(--hum-green);
	color: var(--hum-green-dark);
}

.hum-lang-toggle.is-static {
	cursor: default;
}

.hum-lang-caret {
	border-block-start: 5px solid currentColor;
	border-inline: 4px solid transparent;
	block-size: 0;
	inline-size: 0;
	margin-inline-start: 0.1em;
	opacity: 0.6;
	transition: transform 0.2s;
}

.hum-lang[data-open="true"] .hum-lang-caret {
	transform: rotate(180deg);
}

.hum-lang-list {
	background: var(--hum-white);
	border: 1px solid var(--hum-line);
	border-radius: var(--hum-radius-sm);
	box-shadow: var(--hum-shadow-sm);
	inline-size: max-content;
	inset-block-start: calc(100% + 4px);
	/*
	 * Anchored to the inline END so the panel opens inward from the header's right in LTR
	 * and from its left in RTL, with no direction-specific override.
	 */
	inset-inline-end: 0;
	list-style: none;
	margin: 0;
	/* 23 languages do not fit on a phone; cap and scroll rather than overflow the viewport. */
	max-block-size: min(70vh, 520px);
	min-inline-size: 100%;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-block: 0.25em;
	padding-inline: 0;
	position: absolute;
	/* The sticky header is z-index 50; this must clear it. */
	z-index: 60;
}

.hum-lang-list[hidden] {
	display: none;
}

.hum-lang-item {
	margin: 0;
	padding: 0;
}

.hum-lang-item > a {
	align-items: center;
	color: var(--hum-ink);
	display: flex;
	gap: 0.55em;
	padding-block: 0.45em;
	padding-inline: 0.8em;
	white-space: nowrap;
}

.hum-lang-item > a:hover,
.hum-lang-item > a:focus-visible {
	background: var(--hum-mist);
	color: var(--hum-green-dark);
}

.hum-lang-item.is-current > a {
	font-weight: 600;
}

/* A language whose current page has no translation still links — to its home page. */
.hum-lang-item.no-translation > a {
	opacity: 0.65;
}

.hum-lang-flag {
	block-size: 12px;
	border-radius: 1px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
	display: block;
	flex: 0 0 18px;
	inline-size: 18px;
	max-inline-size: none;
}

.hum-lang-name {
	display: inline-block;
}

/*
 * KEEP VERBATIM. An RTL language name inside an LTR list needs its own direction and an
 * isolate, or the browser reorders it against the surrounding text. dir is on this span and
 * never on the <a> — see the comment in inc/switcher.php.
 */
.hum-lang-name[dir="rtl"] {
	direction: rtl;
	text-align: right;
	unicode-bidi: isolate;
}

/*
 * KEEP VERBATIM. Arabic and Devanagari have no letter-spacing tradition, and the design
 * applies tracking from -3.6px to +2.4px across its headings and labels. Reset it for those
 * scripts or the text renders visibly broken.
 *
 * This pair of rules is specificity (0,1,0) and (0,1,1), which the design's own .eyebrow and
 * #app-preview .section-label beat. Section 25 finishes the job from the end of the file.
 */
html[lang^="ar"],
html[lang^="hi"] {
	letter-spacing: normal;
}

html[lang^="ar"] *,
html[lang^="hi"] * {
	letter-spacing: normal;
}

/* Below the design's small breakpoint the header has no room for the name; the flag carries it. */
@media (max-width: 730px) {
	.hum-lang-name {
		display: none;
	}

	.hum-lang-list .hum-lang-name {
		display: inline-block;
	}
}

/* ---------------------------------------------------------------------------
 * 6. Site header
 *
 * Markup: template-parts/site-header.php. The drawer below 1120px is positioned against
 * .header, which is sticky and therefore its own containing block — that is why the
 * admin-bar offset in section 22 moves only .header and the drawer follows for free.
 * ------------------------------------------------------------------------ */

.header {
	backdrop-filter: blur(16px);
	background: rgba(255, 255, 255, 0.96);
	border-block-end: 1px solid rgba(217, 232, 224, 0.9);
	inset-block-start: 0;
	position: sticky;
	z-index: 50;
}

.header-inner {
	align-items: center;
	display: flex;
	gap: 17px;
	justify-content: space-between;
	min-block-size: 79px;
}

.brand {
	align-items: center;
	display: inline-flex;
	flex-shrink: 0;
	gap: 9px;
	max-inline-size: 100%;
}

.brand-symbol {
	--logo-side: #42645a;
	--logo-main: #11865d;
	block-size: 37px;
	flex: none;
	inline-size: 49px;
}

.brand-words {
	font-size: 17.5px;
	font-weight: 780;
	letter-spacing: -0.75px;
	white-space: nowrap;
}

.brand-words .humanity {
	color: #12835a;
}

.brand-words .united {
	color: #21362f;
}

.brand-words .movement {
	color: #62786d;
	font-weight: 520;
}

/* #6a8578 measured 4.01:1 at 13.1px, under the 4.5:1 floor for small text. */
.brand-words .domain {
	color: #617a6e;
	font-size: 0.75em;
	font-weight: 450;
}

.nav {
	align-items: center;
	color: #53665d;
	display: flex;
	font-size: 12.5px;
	font-weight: 700;
	gap: 22px;
	/* Pushes the nav off the brand and towards the actions, mirrored for free. */
	margin-inline-start: auto;
}

.header-actions {
	align-items: center;
	display: flex;
	flex: none;
	gap: 11px;
}

/* The switcher must not be squeezed by a long translated CTA beside it. */
.header-actions .hum-lang,
.header-actions .hum-header-lang {
	flex: none;
}

.menu-toggle {
	/*
	 * Icon-only in this theme: the prototype wrote "☰ Menu" into the button from
	 * JavaScript, in Slovak, which no translation layer could reach. The accessible name
	 * now comes from aria-label in PHP, so the control needs its own touch target.
	 */
	align-items: center;
	background: var(--hum-white);
	border: 1px solid var(--hum-line-strong);
	border-radius: 9px;
	color: var(--hum-ink);
	display: none;
	font-size: 15px;
	font-weight: 700;
	justify-content: center;
	min-block-size: 40px;
	min-inline-size: 40px;
	padding-block: 9px;
	padding-inline: 12px;
}

.menu-toggle:hover {
	border-color: var(--hum-line-strong-hover);
}

@media (max-width: 1240px) {
	.header-inner {
		gap: 13px;
	}

	.nav {
		font-size: 12px;
		gap: 14px;
	}

	.brand-words {
		font-size: 15.5px;
	}

	.brand-symbol {
		inline-size: 43px;
	}
}

@media (max-width: 1120px) {
	.menu-toggle {
		display: inline-flex;
	}

	.nav {
		align-items: stretch;
		background: var(--hum-white);
		border-block-end: 1px solid var(--hum-line);
		box-shadow: 0 13px 28px rgba(18, 58, 41, 0.08);
		display: none;
		flex-direction: column;
		gap: 0;
		inset-block-start: 79px;
		inset-inline: 0;
		padding-block: 20px;
		padding-inline: max(26px, calc((100% - var(--hum-container)) / 2));
		position: absolute;
	}

	.nav.is-open {
		display: flex;
	}

	.nav a {
		font-size: 14px;
		padding-block: 11px;
		padding-inline: 8px;
	}

	.header-actions {
		margin-inline-start: auto;
	}
}

@media (max-width: 730px) {
	.header-inner {
		min-block-size: 70px;
	}

	.nav {
		inset-block-start: 70px;
	}

	.brand-symbol {
		block-size: 33px;
		inline-size: 40px;
	}

	.brand-words {
		font-size: clamp(12px, 3.6vw, 16px);
		letter-spacing: -0.55px;
	}

	/* The CTA repeats inside #join; the switcher and the menu button keep their place. */
	.header-actions > .btn {
		display: none;
	}
}

@media (max-width: 410px) {
	.brand-symbol {
		inline-size: 31px;
	}

	.brand-words {
		font-size: 11.8px;
	}

	.menu-toggle {
		font-size: 12px;
		padding-inline: 9px;
	}
}

/* ---------------------------------------------------------------------------
 * 7. Buttons, links and glyphs
 * ------------------------------------------------------------------------ */

.btn {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 11px;
	display: inline-flex;
	font-size: 13px;
	font-weight: 780;
	gap: 9px;
	justify-content: center;
	min-block-size: 47px;
	padding-block: 12px;
	padding-inline: 20px;
	transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn-primary {
	background: var(--hum-green);
	box-shadow: 0 8px 21px rgba(20, 131, 91, 0.18);
	color: var(--hum-white);
}

.btn-primary:hover {
	background: var(--hum-green-dark);
}

/*
 * #c9ddd3 measured 1.42:1 against both the button fill and the page behind it. On a white
 * button on a white page the border IS the control's boundary, so SC 1.4.11 wants 3:1 of
 * it; --hum-line-strong is 3.62:1 and the hover state stays visibly darker at 4.05:1.
 */
.btn-outline {
	background: var(--hum-white);
	border-color: var(--hum-line-strong);
	color: var(--hum-ink);
}

.btn-outline:hover {
	background: #f9fdfb;
	border-color: var(--hum-line-strong-hover);
}

.btn-light {
	background: var(--hum-white);
	color: var(--hum-green-dark);
}

.btn-light:hover {
	background: #e6f5ed;
}

.text-link {
	align-items: center;
	color: var(--hum-green);
	display: inline-flex;
	font-size: 13px;
	font-weight: 800;
	gap: 8px;
	text-underline-offset: 5px;
	transition: color 0.2s;
}

.nav a:not(.btn):hover,
.text-link:hover {
	color: var(--hum-green);
}

.nav a:not(.btn):hover {
	text-decoration: underline;
	text-underline-offset: 5px;
}

/*
 * THE ARROW HOOK.
 *
 * template-parts/site-header.php wraps its ↗ in <span class="hum-arrow" aria-hidden="true">,
 * and every other standalone directional glyph in the markup does the same. That wrapper is
 * the only thing section 23 can mirror: a glyph sitting loose inside a translated sentence
 * is part of the string and belongs to the translator, not to this stylesheet.
 */
.hum-arrow {
	display: inline-block;
	line-height: 1;
}

/* ---------------------------------------------------------------------------
 * 8. Headings, labels and section scaffolding
 * ------------------------------------------------------------------------ */

h1,
h2,
h3,
h4,
p {
	margin-block-start: 0;
}

h1 {
	font-size: clamp(44px, 5.05vw, 68px);
	font-weight: 850;
	letter-spacing: -3.6px;
	line-height: 1.07;
	margin-block: 20px 23px;
	margin-inline: 0;
}

h1 .green,
h2 .green {
	color: var(--hum-green);
}

h2 {
	font-size: clamp(32px, 3.2vw, 44px);
	font-weight: 820;
	letter-spacing: -1.8px;
	line-height: 1.18;
	margin-block: 10px 18px;
	margin-inline: 0;
}

h3 {
	font-size: 20px;
	letter-spacing: -0.55px;
	line-height: 1.3;
	margin-block: 0 12px;
	margin-inline: 0;
}

.eyebrow,
.section-label {
	color: var(--hum-green);
	font-size: 10.5px;
	font-weight: 850;
	letter-spacing: 1.7px;
	text-transform: uppercase;
}

.eyebrow {
	align-items: center;
	display: inline-flex;
	gap: 10px;
}

.eyebrow:before {
	background: var(--hum-bright);
	block-size: 8px;
	border-radius: 50%;
	box-shadow: 0 0 0 4px rgba(41, 184, 129, 0.11);
	content: "";
	flex: none;
	inline-size: 8px;
}

.body-copy,
.section-intro {
	color: var(--hum-muted);
	font-size: 15px;
	line-height: 1.8;
}

.section-intro {
	margin-block: 0;
	margin-inline: auto;
	max-inline-size: 690px;
}

.align-left {
	margin: 0;
	max-inline-size: 690px;
}

.section {
	padding-block: 102px;
}

.section-alt {
	background: var(--hum-mist);
}

.center {
	text-align: center;
}

.split {
	align-items: center;
	display: grid;
	gap: 63px;
	grid-template-columns: 1fr 1fr;
}

.copy h2 {
	max-inline-size: 570px;
}

.copy p {
	color: var(--hum-muted);
	font-size: 15px;
	line-height: 1.79;
	margin-block: 0 15px;
	margin-inline: 0;
}

/*
 * .statement appears in #transparency and in #global. Its rule is the one in the design most
 * obviously built for one direction: a left rule and two square left corners. Both are now
 * logical, so in Arabic the rule moves to the right edge and the square corners follow it.
 */
.statement {
	background: #f1f9f4;
	border-end-end-radius: 11px;
	border-end-start-radius: 0;
	border-inline-start: 3px solid var(--hum-green);
	border-start-end-radius: 11px;
	border-start-start-radius: 0;
	color: #20583d;
	font-size: 15px;
	font-weight: 760;
	line-height: 1.6;
	margin-block: 22px 24px;
	margin-inline: 0;
	padding-block: 18px;
	padding-inline: 22px;
}

.checklist {
	display: grid;
	gap: 13px;
	list-style: none;
	margin-block: 26px;
	margin-inline: 0;
	padding: 0;
}

.checklist li {
	align-items: start;
	color: #49695b;
	display: flex;
	font-size: 13px;
	gap: 11px;
	line-height: 1.65;
}

.checklist li:before {
	background: #ddf2e5;
	block-size: 23px;
	border-radius: 50%;
	color: var(--hum-green);
	content: "✓";
	display: grid;
	flex: none;
	font-size: 13px;
	font-weight: 900;
	inline-size: 23px;
	place-items: center;
}

.section-heading-row {
	align-items: end;
	display: flex;
	gap: 25px;
	justify-content: space-between;
	margin-block-end: 34px;
}

@media (max-width: 900px) {
	.section {
		padding-block: 78px;
	}

	.split {
		gap: 35px;
	}
}

@media (max-width: 730px) {
	.section-heading-row {
		align-items: start;
		flex-direction: column;
		gap: 16px;
	}

	.split {
		grid-template-columns: 1fr;
	}

	/* The diagram leads on desktop and follows the copy on a phone. */
	.split .graphic-first {
		order: 2;
	}
}

/* ---------------------------------------------------------------------------
 * 9. Hero
 * ------------------------------------------------------------------------ */

.hero-wrap {
	/*
	 * Two gradients. The 180deg wash is direction-neutral; the radial highlight is not, so
	 * its horizontal position is a token and section 23 mirrors 83% to 17%.
	 */
	background:
		radial-gradient(ellipse at var(--hum-hero-glow-x) 22%, rgba(169, 226, 212, 0.34), transparent 37%),
		linear-gradient(180deg, #fafcfb 0%, var(--hum-white) 90%);
	isolation: isolate;
	overflow: hidden;
	position: relative;
}

.hero-wrap:before {
	block-size: 555px;
	border: 1px solid rgba(0, 105, 103, 0.12);
	border-radius: 50%;
	box-shadow: 0 0 0 58px rgba(0, 105, 103, 0.022), 0 0 0 116px rgba(0, 105, 103, 0.016);
	content: "";
	inline-size: 555px;
	inset-block-start: -205px;
	inset-inline-end: -230px;
	position: absolute;
	z-index: -1;
}

.hero {
	align-items: center;
	display: grid;
	gap: 44px;
	grid-template-columns: 1.04fr 0.96fr;
	min-block-size: 652px;
	padding-block: 69px 79px;
}

.hero-subline {
	color: #286b4e;
	font-size: clamp(18px, 2.15vw, 25px);
	font-weight: 750;
	letter-spacing: -0.65px;
	line-height: 1.4;
	margin-block: 0 17px;
	margin-inline: 0;
}

.hero-description {
	color: #607269;
	font-size: 15.5px;
	line-height: 1.8;
	margin: 0;
	max-inline-size: 540px;
}

.cta-row {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-block: 29px 25px;
	margin-inline: 0;
}

/* #638278 measured 4.08:1 at 11.5px. */
.hero-points {
	color: #5c786f;
	display: flex;
	flex-wrap: wrap;
	font-size: 11.5px;
	font-weight: 700;
	gap: 10px 19px;
}

.hero-points span {
	align-items: center;
	display: inline-flex;
	gap: 8px;
}

.hero-points span:before {
	color: var(--hum-green);
	content: "✓";
	font-size: 14px;
	font-weight: 900;
}

.globe-frame {
	aspect-ratio: 1 / 1;
	background: transparent;
	border: none;
	border-radius: 30px;
	box-shadow: none;
	isolation: isolate;
	min-inline-size: 0;
	overflow: visible;
	position: relative;
}

.globe-frame:before {
	background: radial-gradient(
		circle,
		rgba(169, 226, 212, 0.32) 0%,
		rgba(169, 226, 212, 0.18) 36%,
		rgba(169, 226, 212, 0.08) 56%,
		rgba(169, 226, 212, 0) 72%
	);
	border-radius: 50%;
	content: "";
	filter: blur(2px);
	inset-block: 12% 10%;
	inset-inline: 12%;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.globe-frame:after {
	background: none;
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 3;
}

.globe-orbit {
	block-size: 92%;
	filter: drop-shadow(0 0 4px rgba(140, 216, 188, 0.27));
	inline-size: 92%;
	inset: 4%;
	overflow: visible;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

/*
 * THE LCP ELEMENT.
 *
 * The globe ships at two widths — globe-earth-920.webp and globe-earth-460.webp — and
 * renders at 458.6 CSS px at the widest layout, so the 460 file is the 1x candidate and the
 * 920 file the 2x. The markup therefore wants:
 *
 *   srcset="…/globe-earth-460.webp 460w, …/globe-earth-920.webp 920w"
 *   sizes="(max-width: 730px) min(100vw - 34px, 500px), (max-width: 1240px) 44vw, 459px"
 *
 * aspect-ratio plus block-size:auto is what makes that safe: the box is reserved from the
 * ratio rather than from the parent's resolved height, so no candidate can shift the hero
 * while it decodes. The image is square (1254 × 1254 at source) and the frame is square, so
 * 85% inline-size reproduces the design's 85% × 85% box exactly.
 */
.globe-earth {
	aspect-ratio: 1 / 1;
	block-size: auto;
	filter: brightness(1.03) saturate(0.92) drop-shadow(0 10px 26px rgba(0, 105, 103, 0.14));
	inline-size: 85%;
	inset-block-start: 0;
	inset-inline-start: 7.5%;
	max-inline-size: 85%;
	object-fit: contain;
	position: absolute;
	z-index: 2;
}

.globe-persons {
	--logo-side: #fff;
	--logo-main: #006967;
	block-size: auto;
	filter: drop-shadow(0 2px 5px rgba(9, 41, 40, 0.55));
	inline-size: 58%;
	inset-block-start: 27%;
	inset-inline-start: 21%;
	position: absolute;
	z-index: 4;
}

.globe-title {
	color: #18343b;
	inset-block-end: 8%;
	inset-inline: 7%;
	position: absolute;
	text-align: center;
	z-index: 5;
}

.globe-title strong {
	display: block;
	font-size: clamp(15px, 1.45vw, 19px);
	font-weight: 800;
	letter-spacing: -0.6px;
}

/* #6a7f82 measured 4.22:1 at 10px. */
.globe-title span {
	color: #65787b;
	display: block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 2.4px;
	margin-block-start: 8px;
	text-transform: uppercase;
}

@media (max-width: 1120px) {
	.hero {
		gap: 24px;
	}

	.globe-title strong {
		font-size: 15px;
	}
}

@media (max-width: 900px) {
	.hero {
		min-block-size: 0;
		padding-block: 60px;
	}
}

@media (max-width: 730px) {
	.hero {
		gap: 37px;
		grid-template-columns: 1fr;
		padding-block: 54px 64px;
	}

	.hero h1 {
		font-size: clamp(39px, 11vw, 58px);
		letter-spacing: -2.3px;
	}

	.globe-frame {
		inline-size: min(100%, 500px);
		margin-inline: auto;
	}
}

@media (max-width: 410px) {
	.globe-title strong {
		font-size: 13px;
	}

	.globe-title span {
		font-size: 8px;
	}
}

/* ---------------------------------------------------------------------------
 * 10. Short band
 * ------------------------------------------------------------------------ */

.short-band {
	/*
	 * THE DARK-SURFACE FOCUS RING, and the same note covers .academy-banner, .join-box and
	 * .hum-final-banner below.
	 *
	 * --hum-focus (#0b6b4a) is a dark green chosen to reach 6.53:1 against a white page. On
	 * this band it measures 2.18:1 and on .join-box 2.06:1 — a focus ring nobody can see,
	 * which is worse than the one it replaced. Redefining the TOKEN on the dark container
	 * rather than rewriting the :focus-visible rule keeps a single invariant true across the
	 * whole site: every interactive element's ring is var(--hum-focus). #eafff6 measures
	 * between 5.14:1 and 13.65:1 on the five dark surfaces the page uses, and outline-offset
	 * puts a 3px band of that dark background on both sides of the ring, so the contrast
	 * holds even around the white buttons inside these blocks.
	 */
	--hum-focus: #eafff6;

	background: var(--hum-deep);
	color: var(--hum-white);
}

.short-band .container {
	align-items: center;
	display: flex;
	gap: 36px;
	justify-content: space-between;
	padding-block: 22px;
}

.short-band strong {
	font-size: 14px;
}

.short-band span {
	color: #b9d4cf;
	font-size: 12px;
	text-align: end;
}

@media (max-width: 730px) {
	.short-band .container {
		display: block;
	}

	.short-band span {
		display: block;
		margin-block-start: 7px;
		text-align: start;
	}
}

/* ---------------------------------------------------------------------------
 * 11. Impact — "in numbers"
 * ------------------------------------------------------------------------ */

.impact-section {
	padding-block: 84px 90px;
}

.impact-indicator {
	background: #edf8f2;
	border: 1px solid #d4eddf;
	border-radius: 999px;
	color: #537768;
	font-size: 11px;
	font-weight: 750;
	padding-block: 11px;
	padding-inline: 14px;
	white-space: nowrap;
}

/* #86b89a measured 2.07:1; the dot carries the "not yet connected" state beside its label. */
.indicator-dot {
	background: #599771;
	block-size: 7px;
	border-radius: 50%;
	display: inline-block;
	inline-size: 7px;
	margin-inline-end: 6px;
}

.impact-grid {
	display: grid;
	gap: 17px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.impact-card {
	background: linear-gradient(var(--hum-angle-card), var(--hum-white), #f3faf6);
	border: 1px solid #e0eee6;
	border-radius: 19px;
	min-block-size: 229px;
	padding: 29px;
}

.metric-icon {
	background: #e1f4e9;
	block-size: 41px;
	border-radius: 12px;
	color: #14835b;
	display: grid;
	font-size: 19px;
	font-weight: 800;
	inline-size: 41px;
	place-items: center;
}

/*
 * PHYSICAL ON PURPOSE (2 of 4). The funds figure is printed with its currency sign — in
 * Arabic the bidi algorithm would otherwise move "€" to the far side of the digits, or put
 * it between the thousands groups. direction + isolate keeps the number and its sign as one
 * left-to-right run inside an otherwise right-to-left page. The BOX still mirrors; only the
 * characters inside it are pinned.
 */
.impact-value {
	color: #185c3f;
	direction: ltr;
	display: block;
	font-size: 43px;
	font-weight: 840;
	letter-spacing: -1.6px;
	line-height: 1.1;
	margin-block: 17px 10px;
	margin-inline: 0;
	unicode-bidi: isolate;
}

.impact-card h3 {
	font-size: 15px;
	margin-block: 0 7px;
	margin-inline: 0;
}

/* #70857b measured 3.72:1 at 12px. */
.impact-card p {
	color: #62756c;
	font-size: 12px;
	line-height: 1.65;
	margin: 0;
}

/* #81968a measured 3.15:1 at 11px. */
.impact-foot {
	color: #65796d;
	display: flex;
	flex-wrap: wrap;
	font-size: 11px;
	gap: 15px;
	justify-content: space-between;
	margin-block-start: 18px;
}

@media (max-width: 730px) {
	.impact-grid {
		grid-template-columns: 1fr;
	}
}

/* ---------------------------------------------------------------------------
 * 12. Pillars
 * ------------------------------------------------------------------------ */

.pillar-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-block-start: 45px;
}

.pillar-card {
	background: var(--hum-white);
	border: 1px solid #e1ede5;
	border-radius: 19px;
	padding: 27px;
	transition: box-shadow 0.2s, transform 0.2s;
}

.pillar-card:hover {
	box-shadow: var(--hum-shadow);
	transform: translateY(-3px);
}

.pillar-icon {
	background: #e8f7ed;
	block-size: 49px;
	border-radius: 14px;
	color: var(--hum-green);
	display: grid;
	inline-size: 49px;
	margin-block-end: 23px;
	place-items: center;
}

.pillar-icon svg {
	block-size: 26px;
	fill: none;
	inline-size: 26px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.pillar-card p {
	color: var(--hum-muted);
	font-size: 13px;
	line-height: 1.74;
	margin-block: 0 18px;
	margin-inline: 0;
	min-block-size: 92px;
}

@media (max-width: 900px) {
	.pillar-card {
		padding: 21px;
	}
}

@media (max-width: 730px) {
	.pillar-grid {
		grid-template-columns: 1fr;
	}

	/* Equal-height copy only matters while the cards sit side by side. */
	.pillar-card p {
		min-block-size: 0;
	}
}

/* ---------------------------------------------------------------------------
 * 13. Transparency and the VisibleMoney panel
 *
 * .platform-panel is shared with #app-preview, which resets it. Section 14 keeps that reset;
 * do not move these rules below it.
 * ------------------------------------------------------------------------ */

.platform-panel {
	background: var(--hum-white);
	border: 1px solid #dcece2;
	border-radius: 23px;
	box-shadow: var(--hum-shadow);
	overflow: hidden;
}

.platform-panel-top {
	align-items: center;
	background: #f7fcf9;
	border-block-end: 1px solid #e2efe7;
	display: flex;
	gap: 12px;
	padding-block: 24px;
	padding-inline: 28px;
}

.vm-logo {
	block-size: 39px;
	flex: none;
	inline-size: 39px;
}

.platform-panel-top strong {
	display: block;
	font-size: 18px;
	letter-spacing: -0.65px;
}

/* #0e9e99 measured 3.18:1 at 18px, which is under the 18.66px large-text threshold. */
.platform-panel-top strong span {
	color: #0b7f7b;
}

/* #83988c measured 2.96:1 at 11px. */
.platform-panel-top small {
	color: #63776b;
	display: block;
	font-size: 11px;
	margin-block-start: 2px;
}

.platform-panel-body {
	padding: 28px;
}

.platform-panel-body h3 {
	margin-block-end: 20px;
}

.platform-rule {
	align-items: start;
	border-block-end: 1px solid #e4ede7;
	display: flex;
	gap: 15px;
	padding-block: 15px;
}

.platform-rule:last-child {
	border-block-end: 0;
}

.rule-number {
	background: #e8f7ee;
	block-size: 32px;
	border-radius: 10px;
	color: var(--hum-green);
	display: grid;
	flex: none;
	font-size: 12px;
	font-weight: 800;
	inline-size: 32px;
	place-items: center;
}

.platform-rule strong {
	display: block;
	font-size: 13px;
}

/* #6c8074 measured 4.22:1 at 12px. */
.platform-rule span {
	color: #66796e;
	font-size: 12px;
	line-height: 1.6;
}

.platform-panel-foot {
	background: #edf8f2;
	border-radius: 12px;
	color: #4f7361;
	font-size: 11px;
	line-height: 1.65;
	margin-block-start: 18px;
	padding: 16px;
}

/* ---------------------------------------------------------------------------
 * 14. #app-preview — the blue island
 *
 * This section is a deliberate island: VisibleMoney's own blue palette, inside the green
 * page, because the screenshots in it are of a blue application and a green chrome around
 * them would read as HUM's software rather than as someone else's.
 *
 * The mechanism is the design's and it is preserved exactly: --hum-ink and --hum-muted are
 * RE-DECLARED on #app-preview, so every descendant that resolves them picks up the blue
 * values without a single rule being rewritten. Two consequences a maintainer must respect:
 *
 *   - do not add a rule that hard-codes a green inside this block, and do not widen a green
 *     rule in sections 7 to 13 so that it reaches in here. Where a shared class needed an
 *     override the design already made one (.section-label, .section-intro, .platform-panel)
 *     and those overrides stay;
 *   - the focus ring stays var(--hum-focus), the one green that does cross the border. It is
 *     drawn 3px outside the control, where the island's own near-white background gives it
 *     6.53:1, and a site has exactly one focus indicator or it has none anybody recognises.
 *     The design's #7ab8fd ring measured 2.08:1 and failed SC 1.4.11 outright.
 * ------------------------------------------------------------------------ */

#app-preview {
	--hum-blue: #245ddb;
	/*
	 * The design also declares --blue-dark: #194bb7 and uses it in no rule. It is not
	 * carried over: an unused token is the first step towards the sister site's 58 KB of
	 * declarations that nothing emits.
	 */
	/* #0e9e99 measured 3.09:1 against the island's background at 11px. */
	--hum-teal: #0b7d79;
	--hum-ink: #12233c;
	--hum-muted: #596a7f;
	/* 1.42:1 and 1.25:1 in the design; the boundary of a button needs 3:1. 3.59:1 here. */
	--hum-blue-line-strong: #76899f;

	/* A wider container than the rest of the page: 1200px against 1168px. */
	--hum-container: 1200px;

	background: linear-gradient(var(--hum-angle-island), #eef6ff, var(--hum-white) 65%);
	color: var(--hum-ink);
	/* The sticky header is 79px; a deep link to this section must clear it. */
	scroll-margin-block-start: 88px;
}

#app-preview .section-label {
	color: var(--hum-teal);
	font-size: 11px;
	font-weight: 850;
	letter-spacing: 2px;
	margin-block-end: 12px;
	text-transform: uppercase;
}

#app-preview h2 {
	font-size: clamp(30px, 3.2vw, 43px);
	letter-spacing: -1.8px;
	line-height: 1.16;
	margin-block: 0 18px;
	margin-inline: 0;
}

#app-preview .section-intro {
	color: var(--hum-muted);
	font-size: 15px;
	line-height: 1.78;
	margin-block: 0;
	margin-inline: auto;
	max-inline-size: 660px;
}

/* The green section's panel chrome is removed here; the explorer provides its own. */
#app-preview .platform-panel {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
	/* landing.js scrolls a panel into view when a hash selects its category. */
	scroll-margin-block-start: 100px;
}

#app-preview .platform-explorer {
	background: var(--hum-white);
	border: 1px solid #dfe9f5;
	border-radius: 22px;
	box-shadow: 0 20px 60px rgba(26, 67, 121, 0.08);
	margin-block: 45px 0;
	margin-inline: auto;
	max-inline-size: 1150px;
	overflow: hidden;
}

#app-preview .platform-tabs {
	background: linear-gradient(var(--hum-angle-banner), #edf4ff, #f6fbff);
	border-block-end: 1px solid #dce8f5;
	display: grid;
	gap: 7px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding: 9px;
}

#app-preview .platform-category-tab {
	align-items: center;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 13px;
	color: #446383;
	display: flex;
	font-size: 14px;
	font-weight: 800;
	gap: 11px;
	justify-content: center;
	min-block-size: 55px;
	padding-block: 12px;
	padding-inline: 14px;
	transition: background 0.16s, color 0.16s, box-shadow 0.16s;
}

#app-preview .platform-category-tab:hover {
	background: rgba(255, 255, 255, 0.65);
	color: #174ea4;
}

/* The selected fill is 5.18:1 against the strip behind it, so the state is not colour-only. */
#app-preview .platform-category-tab[aria-selected="true"] {
	background: var(--hum-blue);
	box-shadow: 0 9px 19px rgba(36, 93, 219, 0.19);
	color: var(--hum-white);
}

#app-preview .platform-tab-icon {
	font-size: 18px;
	line-height: 1;
}

#app-preview .platform-tab-count {
	background: rgba(27, 81, 154, 0.09);
	block-size: 25px;
	border-radius: 9px;
	display: grid;
	font-size: 11px;
	min-inline-size: 25px;
	padding-block: 0;
	padding-inline: 5px;
	place-items: center;
}

#app-preview .platform-category-tab[aria-selected="true"] .platform-tab-count {
	background: rgba(255, 255, 255, 0.18);
}

#app-preview .platform-tab-body {
	padding: 30px;
}

/*
 * The explorer hides panels and slides with the hidden attribute from JavaScript, and
 * display:flex/grid on the same element would defeat it. !important is load-bearing here.
 */
#app-preview .platform-panel[hidden],
#app-preview .platform-slide[hidden] {
	display: none !important;
}

#app-preview .platform-content-header {
	align-items: flex-end;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin-block: 0 25px;
	margin-inline: 0;
}

#app-preview .platform-content-header h3 {
	font-size: 29px;
	letter-spacing: -1px;
	margin-block: 10px 8px;
	margin-inline: 0;
}

#app-preview .platform-content-header p {
	color: #59718a;
	font-size: 13.5px;
	line-height: 1.65;
	margin: 0;
	max-inline-size: 750px;
}

#app-preview .platform-index {
	background: #e6f1ff;
	border-radius: 999px;
	color: #1d64c9;
	display: inline-block;
	font-size: 10px;
	font-weight: 850;
	letter-spacing: 1.2px;
	padding-block: 8px;
	padding-inline: 12px;
	/*
	 * The design pre-capitalised this label in the markup. Uppercase source strings
	 * break Turkish dotted/dotless i and German sharp s, and several of the site's 23
	 * languages have no case distinction at all — so the string is stored in sentence
	 * case and the capitals are applied here instead.
	 */
	text-transform: uppercase;
}

#app-preview .platform-counter {
	background: var(--hum-white);
	border: 1px solid #dae7f5;
	border-radius: 999px;
	color: #557697;
	font-size: 11px;
	font-weight: 750;
	padding-block: 10px;
	padding-inline: 14px;
	white-space: nowrap;
}

#app-preview .platform-workspace {
	align-items: start;
	display: grid;
	gap: 20px;
	grid-template-columns: 260px minmax(0, 1fr);
}

#app-preview .platform-screen-menu {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

#app-preview .platform-screen-option {
	align-items: center;
	background: var(--hum-white);
	border: 1px solid var(--hum-blue-line-strong);
	border-radius: 12px;
	color: #29435e;
	display: flex;
	gap: 12px;
	min-block-size: 70px;
	padding-block: 12px;
	padding-inline: 13px;
	text-align: start;
	transition: background 0.16s, border-color 0.16s, box-shadow 0.16s;
}

/*
 * The design's hover border (#abc9f0, 1.88:1) was LIGHTER than its resting border, so hover
 * read as the boundary fading out. #5581c5 is 3.73:1 — one measured step up from the resting
 * grey-blue and one clearly below the pressed royal blue, so the three states stay ordered.
 */
#app-preview .platform-screen-option:hover {
	background: #f5f9ff;
	border-color: #5581c5;
}

/*
 * The pressed state is a fill, a border and a 3px bar down the inline start edge. box-shadow
 * has no logical form, so the bar's x offset is --hum-inset-x and section 23 flips its sign;
 * the border is var(--hum-blue) because the design's #6f9fea measured 2.68:1 against the
 * white panel and could not carry a state on its own.
 */
#app-preview .platform-screen-option[aria-pressed="true"] {
	background: #eaf3ff;
	border-color: var(--hum-blue);
	box-shadow: inset var(--hum-inset-x) 0 var(--hum-blue);
}

#app-preview .platform-screen-option-no {
	background: #f4f8fc;
	block-size: 31px;
	border: 1px solid #c9daef;
	border-radius: 9px;
	color: #3266a8;
	display: grid;
	flex: none;
	font-size: 11px;
	font-weight: 850;
	inline-size: 31px;
	place-items: center;
}

#app-preview .platform-screen-option[aria-pressed="true"] .platform-screen-option-no {
	background: #d7e9ff;
	border-color: #91b9f4;
	color: #164ba4;
}

#app-preview .platform-screen-option-label {
	flex: 1;
	font-size: 12.5px;
	font-weight: 800;
	line-height: 1.45;
	min-inline-size: 0;
}

/* #7a8da1 measured 3.41:1 on white and 3.05:1 on the pressed fill, at 10px. */
#app-preview .platform-screen-option-label small {
	color: #5c6f83;
	display: block;
	font-size: 10px;
	font-weight: 600;
	margin-block-start: 3px;
}

/* #8aa7c4 measured 2.50:1. Decorative, but it is the affordance, so 3:1 applies. */
#app-preview .platform-screen-option-arrow {
	color: #7194b7;
	font-size: 23px;
	line-height: 1;
}

#app-preview .platform-stage {
	background: #fbfdff;
	border: 1px solid #dde8f5;
	border-radius: 16px;
	min-inline-size: 0;
	overflow: hidden;
}

/* #647d9b measured 4.16:1 at 10–11px. */
#app-preview .platform-screen-top {
	align-items: center;
	border-block-end: 1px solid #e0eaf5;
	color: #5e7591;
	display: flex;
	justify-content: space-between;
	padding-block: 13px;
	padding-inline: 16px;
}

#app-preview .platform-screen-kicker {
	font-size: 10px;
	font-weight: 850;
	letter-spacing: 1px;
	/*
	 * The design pre-capitalised this label in the markup. Uppercase source strings
	 * break Turkish dotted/dotless i and German sharp s, and several of the site's 23
	 * languages have no case distinction at all — so the string is stored in sentence
	 * case and the capitals are applied here instead.
	 */
	text-transform: uppercase;
}

/*
 * PHYSICAL ON PURPOSE (3 of 4). "01 / 05" is a position in a sequence, read as a number line
 * from low to high. Mirrored it reads "05 / 01", which states the opposite. The progress
 * indicator therefore keeps its own left-to-right run; the control it sits in mirrors.
 */
#app-preview .platform-screen-progress {
	direction: ltr;
	font-size: 11px;
	font-weight: 800;
	unicode-bidi: isolate;
}

#app-preview .platform-screen-visual {
	align-items: center;
	aspect-ratio: 16 / 9;
	background: #e9f1fa;
	display: flex;
	inline-size: 100%;
	justify-content: center;
	overflow: hidden;
}

#app-preview .platform-screen-zoom {
	align-items: center;
	background: transparent;
	block-size: 100%;
	border: 0;
	display: flex;
	inline-size: 100%;
	justify-content: center;
	padding: 0;
	position: relative;
}

#app-preview .platform-screen-zoom img {
	block-size: 100%;
	display: block;
	inline-size: 100%;
	object-fit: contain;
	object-position: center;
}

#app-preview .shot-zoom {
	cursor: zoom-in;
}

/* The ring sits inside the image's own box, which is why the offset is negative. */
#app-preview .shot-zoom:focus-visible {
	outline: 3px solid var(--hum-focus);
	outline-offset: -3px;
}

.zoom-label {
	background: rgba(20, 41, 70, 0.88);
	border-radius: 8px;
	box-shadow: 0 6px 16px rgba(22, 46, 68, 0.17);
	color: var(--hum-white);
	font-size: 10px;
	font-weight: 750;
	inset-block-end: 13px;
	inset-inline-end: 13px;
	padding-block: 9px;
	padding-inline: 12px;
	position: absolute;
}

#app-preview .platform-screen-zoom .zoom-label {
	opacity: 0;
	transform: translateY(5px);
	transition: 0.18s ease;
}

#app-preview .platform-screen-zoom:hover .zoom-label,
#app-preview .platform-screen-zoom:focus-visible .zoom-label {
	opacity: 1;
	transform: none;
}

#app-preview .platform-screen-description {
	align-items: flex-start;
	display: flex;
	gap: 15px;
	justify-content: space-between;
	min-block-size: 100px;
	padding-block: 19px 18px;
	padding-inline: 19px;
}

#app-preview .platform-screen-description h4 {
	font-size: 18px;
	letter-spacing: -0.45px;
	line-height: 1.3;
	margin-block: 0 7px;
	margin-inline: 0;
}

#app-preview .platform-screen-description p {
	color: #5c7590;
	font-size: 12px;
	line-height: 1.55;
	margin: 0;
}

#app-preview .platform-screen-real {
	background: #f2f8ff;
	border: 1px solid #d7e9f6;
	border-radius: 9px;
	color: #436d91;
	font-size: 10px;
	font-weight: 750;
	padding-block: 7px;
	padding-inline: 9px;
	white-space: nowrap;
}

#app-preview .platform-screen-pager {
	align-items: center;
	background: var(--hum-white);
	border-block-start: 1px solid #e0eaf5;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	padding-block: 11px 13px;
	padding-inline: 17px;
}

/* #71859b measured 3.80:1 at 11px. */
#app-preview .platform-screen-tip {
	color: #63768c;
	font-size: 11px;
}

#app-preview .platform-screen-pager > div {
	display: flex;
	gap: 8px;
}

#app-preview .platform-pager-btn {
	background: #f1f6ff;
	block-size: 32px;
	border: 1px solid var(--hum-blue-line-strong);
	border-radius: 9px;
	color: #205ab4;
	font-size: 17px;
	font-weight: 800;
	inline-size: 37px;
}

#app-preview .platform-pager-btn:not(:disabled):hover {
	background: #e2efff;
}

/*
 * A disabled control is exempt from SC 1.4.3 and 1.4.11, which is the only reason 0.35
 * opacity is allowed to stand. The pager is never the only way to reach a screen — the
 * option list beside it reaches every one — so the dimmed state costs no function.
 */
#app-preview .platform-pager-btn:disabled {
	cursor: not-allowed;
	opacity: 0.35;
}

#app-preview .platform-guide {
	color: #596f87;
	font-size: 13px;
	line-height: 1.7;
	margin-block: 22px 0;
	margin-inline: 0;
}

#app-preview .platform-panel .platform-guide {
	margin-block-start: 22px;
}

#app-preview .platform-guide a {
	color: #1a58c8;
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 3px;
}

#app-preview .platform-source-note {
	color: #61778d;
	font-size: 12px;
	line-height: 1.6;
	margin-block: 18px 0;
	margin-inline: auto;
	max-inline-size: 1010px;
}

#app-preview .platform-chain-disclaimer {
	color: #526b83;
	font-size: 12px;
	line-height: 1.7;
	margin-block: 20px 0;
	margin-inline: 0;
}

#app-preview .shot-dialog {
	background: var(--hum-white);
	border: 0;
	border-radius: 14px;
	box-shadow: 0 20px 100px rgba(0, 0, 0, 0.53);
	max-block-size: 95vh;
	max-inline-size: min(1280px, 96vw);
	overflow: auto;
	padding: 14px;
}

#app-preview .shot-dialog::backdrop {
	background: rgba(9, 21, 35, 0.86);
}

#app-preview .shot-dialog img {
	block-size: auto;
	display: block;
	inline-size: 100%;
	max-block-size: 80vh;
	object-fit: contain;
}

/* #637d94 measured 4.29:1 at 12px. */
#app-preview .dialog-header {
	align-items: center;
	color: #5f778d;
	display: flex;
	font-size: 12px;
	gap: 15px;
	justify-content: space-between;
	padding-block: 4px 13px;
	padding-inline: 4px;
}

#app-preview .dialog-close {
	background: #f0f5fa;
	border: 1px solid var(--hum-blue-line-strong);
	border-radius: 8px;
	color: #193451;
	font-size: 12px;
	font-weight: 800;
	padding-block: 7px;
	padding-inline: 11px;
}

@media (max-width: 900px) {
	#app-preview .platform-workspace {
		gap: 14px;
		grid-template-columns: 215px minmax(0, 1fr);
	}

	#app-preview .platform-tab-body {
		padding: 22px;
	}

	#app-preview .platform-category-tab {
		font-size: 12.5px;
		gap: 6px;
	}

	#app-preview .platform-screen-option {
		padding: 10px;
	}

	#app-preview .platform-screen-option-label {
		font-size: 11.5px;
	}

	#app-preview .platform-content-header h3 {
		font-size: 26px;
	}
}

@media (max-width: 700px) {
	#app-preview .platform-workspace {
		grid-template-columns: 1fr;
	}

	/* The option list becomes a snap-scrolling row; overscroll-behavior-inline is logical. */
	#app-preview .platform-screen-menu {
		flex-direction: row;
		overflow-x: auto;
		overscroll-behavior-inline: contain;
		padding-block-end: 7px;
		scroll-snap-type: x proximity;
	}

	#app-preview .platform-screen-option {
		flex: 0 0 195px;
		min-block-size: 63px;
		scroll-snap-align: start;
	}

	#app-preview .platform-content-header {
		align-items: flex-start;
		flex-direction: column;
		margin-block-end: 20px;
	}

	#app-preview .platform-category-tab {
		flex-direction: column;
		font-size: 11px;
		gap: 4px;
		min-block-size: 70px;
		padding-block: 7px;
		padding-inline: 5px;
	}

	#app-preview .platform-tab-icon {
		font-size: 16px;
	}

	#app-preview .platform-tab-count {
		display: none;
	}

	#app-preview .platform-screen-description {
		min-block-size: 92px;
		padding: 14px;
	}
}

@media (max-width: 470px) {
	#app-preview .platform-explorer {
		border-radius: 15px;
		margin-block-start: 27px;
	}

	#app-preview .platform-tab-body {
		padding: 15px;
	}

	#app-preview .platform-tabs {
		gap: 4px;
		padding: 6px;
	}

	#app-preview .platform-category-tab {
		border-radius: 9px;
		font-size: 10px;
	}

	#app-preview .platform-screen-description {
		display: block;
	}

	#app-preview .platform-screen-real {
		display: inline-block;
		margin-block-start: 10px;
	}

	#app-preview .platform-screen-tip {
		font-size: 10px;
	}

	#app-preview .platform-screen-progress {
		font-size: 10px;
	}
}

/* ---------------------------------------------------------------------------
 * 15. Global scope and the network diagram
 * ------------------------------------------------------------------------ */

.global-section {
	background: linear-gradient(180deg, #f8fcf9 0%, #f2f9f5 100%);
}

.global-graphic {
	background: radial-gradient(circle at 50% 50%, #ecf8ee 0, #f9fffb 60%, var(--hum-white) 100%);
	border: 1px solid #dcece3;
	border-radius: 24px;
	display: grid;
	min-block-size: 430px;
	overflow: hidden;
	place-items: center;
	position: relative;
}

.global-graphic:before {
	block-size: 350px;
	border: 1px dashed #acd8bc;
	border-radius: 50%;
	box-shadow: 0 0 0 42px rgba(232, 246, 237, 0.38), 0 0 0 90px rgba(232, 246, 237, 0.21);
	content: "";
	inline-size: 350px;
	position: absolute;
}

.network-lines {
	block-size: 100%;
	inline-size: 100%;
	inset: 0;
	position: absolute;
	z-index: 0;
}

.network-center {
	align-items: center;
	background: linear-gradient(var(--hum-angle-card), #0e7f57, #0c5b42);
	block-size: 148px;
	border-radius: 50%;
	box-shadow: 0 20px 35px rgba(23, 101, 72, 0.29);
	color: var(--hum-white);
	display: flex;
	flex-direction: column;
	inline-size: 148px;
	justify-content: center;
	position: relative;
	text-align: center;
	z-index: 2;
}

.network-center svg {
	block-size: 34px;
	inline-size: 34px;
	margin-block-end: 7px;
}

.network-center strong {
	font-size: 17px;
}

/* #cce9da measured 3.87:1 at 9px against the lighter end of the gradient. */
.network-center span {
	color: #eff8f3;
	font-size: 9px;
	letter-spacing: 1.3px;
	text-transform: uppercase;
}

.network-node {
	background: var(--hum-white);
	border: 1px solid #d6e9dd;
	border-radius: 999px;
	box-shadow: 0 7px 17px rgba(22, 76, 45, 0.07);
	color: #27644a;
	font-size: 11px;
	font-weight: 780;
	padding-block: 11px;
	padding-inline: 14px;
	position: absolute;
	text-align: center;
	z-index: 2;
}

/*
 * The two horizontal nodes mirror; the two vertical ones are centred with inset-inline plus
 * auto margins rather than left:50% and a translate, because a physical translate does not
 * re-centre when the inset flips.
 */
.node-top,
.node-bottom {
	inline-size: max-content;
	inset-inline: 0;
	margin-inline: auto;
	max-inline-size: min(68%, 250px);
}

.node-top {
	inset-block-start: 11%;
}

.node-bottom {
	inset-block-end: 10%;
}

.node-left {
	inset-block-start: 43%;
	inset-inline-start: 5%;
}

.node-right {
	inset-block-start: 43%;
	inset-inline-end: 5%;
}

/* #8aaa97 measured 2.50:1 at 10px — the worst small-text pair in the design. */
.global-graphic-note {
	color: #5a7b67;
	font-size: 10px;
	inset-block-end: 12px;
	inset-inline-end: 15px;
	position: absolute;
	z-index: 1;
}

.global-principles {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(3, 1fr);
	margin-block-start: 43px;
}

.global-principle {
	background: var(--hum-white);
	border: 1px solid #dcece3;
	border-radius: 15px;
	padding: 23px;
}

.global-principle b {
	font-size: 13px;
}

.global-principle p {
	color: var(--hum-muted);
	font-size: 12px;
	line-height: 1.75;
	margin-block: 9px 0;
	margin-inline: 0;
}

@media (max-width: 900px) {
	.global-principles {
		gap: 10px;
	}

	.global-principle {
		padding: 18px;
	}
}

@media (max-width: 730px) {
	.global-principles {
		grid-template-columns: 1fr;
	}

	.global-graphic {
		min-block-size: 390px;
	}
}

@media (max-width: 410px) {
	.global-graphic {
		min-block-size: 365px;
	}

	.network-node {
		font-size: 9px;
		padding: 9px;
	}

	.node-left {
		inset-inline-start: 2%;
	}

	.node-right {
		inset-inline-end: 2%;
	}
}

/* ---------------------------------------------------------------------------
 * 16. Political Academy
 * ------------------------------------------------------------------------ */

.academy-section {
	background: var(--hum-white);
}

.academy-intro {
	margin: auto;
	max-inline-size: 860px;
	text-align: center;
}

.academy-lead {
	color: #345a57;
	font-size: 17px;
	line-height: 1.76;
	margin-block: 2px 16px;
	margin-inline: auto;
	max-inline-size: 810px;
}

.academy-lead strong {
	color: var(--hum-green);
}

.academy-banner {
	/* A dark surface: see the note on .short-band. */
	--hum-focus: #eafff6;

	align-items: center;
	background: linear-gradient(var(--hum-angle-banner), #103d32, #096344);
	border-radius: 19px;
	color: var(--hum-white);
	display: flex;
	gap: 32px;
	justify-content: space-between;
	margin-block: 36px 0;
	margin-inline: 0;
	padding-block: 27px;
	padding-inline: 33px;
}

.academy-banner strong {
	font-size: 23px;
	letter-spacing: -0.8px;
}

/* #bcebd1 measured 4.07:1 at 10px against the lightest stop of the gradient below. */
.academy-banner span {
	color: #dcf5e7;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	white-space: nowrap;
}

.academy-banner-new {
	background: linear-gradient(var(--hum-angle-academy), #103c3d, #065f5a 63%, #147869);
	margin-block-start: 35px;
}

/* #bceee3 measured 4.20:1 at 10px. */
.academy-banner-new .academy-kicker {
	color: #d6f5ee;
	display: block;
	font-size: 10px;
	font-weight: 820;
	letter-spacing: 2px;
	margin-block-end: 9px;
	/*
	 * The design pre-capitalised this label in the markup. Uppercase source strings
	 * break Turkish dotted/dotless i and German sharp s, and several of the site's 23
	 * languages have no case distinction at all — so the string is stored in sentence
	 * case and the capitals are applied here instead.
	 */
	text-transform: uppercase;
}

.academy-banner-new strong {
	color: var(--hum-white);
	display: block;
	font-size: clamp(20px, 2.3vw, 28px);
}

/* #ccefe8 measured 4.36:1 at 10px. */
.academy-banner-new .academy-banner-mark {
	color: #dbf4ef;
	font-size: 10px;
	letter-spacing: 1.5px;
	/*
	 * The design pre-capitalised this label in the markup. Uppercase source strings
	 * break Turkish dotted/dotless i and German sharp s, and several of the site's 23
	 * languages have no case distinction at all — so the string is stored in sentence
	 * case and the capitals are applied here instead.
	 */
	text-transform: uppercase;
}

.academy-facts {
	display: grid;
	gap: 15px;
	grid-template-columns: repeat(3, 1fr);
	margin-block: 29px 0;
	margin-inline: auto;
	max-inline-size: 1000px;
}

.academy-facts > div {
	background: #f5faf8;
	border: 1px solid #dceae5;
	border-radius: 16px;
	padding-block: 22px;
	padding-inline: 18px;
	text-align: center;
}

.academy-facts strong {
	color: var(--hum-green);
	display: block;
	font-size: 37px;
	letter-spacing: -1.5px;
	line-height: 1.15;
}

.academy-facts strong small {
	font-size: 17px;
	letter-spacing: 0;
}

/* #667b75 measured 4.28:1 at 12px. */
.academy-facts span {
	color: #617570;
	display: block;
	font-size: 12px;
	font-weight: 650;
	margin-block-start: 8px;
}

/* #768c83 measured 3.59:1 at 11px. */
.academy-proposal-note {
	color: #667971;
	font-size: 11px;
	margin-block: 14px 0;
	margin-inline: auto;
	max-inline-size: 850px;
	text-align: center;
}

.academy-program-head {
	align-items: end;
	display: flex;
	gap: 20px;
	justify-content: space-between;
	margin-block: 54px 18px;
	margin-inline: auto;
	max-inline-size: 1000px;
}

.academy-program-head h3 {
	font-size: clamp(21px, 2.2vw, 29px);
	margin-block: 7px 0;
	margin-inline: 0;
	max-inline-size: 690px;
}

/* #718a7e measured 3.72:1 at 11px. */
.academy-program-head > span {
	color: #63796f;
	font-size: 11px;
	white-space: nowrap;
}

.academy-program {
	background: var(--hum-white);
	border: 1px solid #dcece5;
	border-radius: 19px;
	box-shadow: 0 14px 35px rgba(11, 80, 72, 0.045);
	margin-block: 0;
	margin-inline: auto;
	max-inline-size: 1000px;
	overflow: hidden;
}

.academy-topic {
	border-block-end: 1px solid #e3eee9;
}

.academy-topic:last-child {
	border-block-end: 0;
}

.academy-topic summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	gap: 17px;
	list-style: none;
	padding-block: 21px;
	padding-inline: 25px;
}

.academy-topic summary::-webkit-details-marker {
	display: none;
}

.academy-topic summary:hover {
	background: #f8fcfa;
}

.academy-topic[open] > summary {
	background: #f2faf6;
}

.academy-topic-no {
	background: #e7f5ef;
	block-size: 40px;
	border: 1px solid #bde0d1;
	border-radius: 12px;
	color: var(--hum-green);
	display: grid;
	flex: 0 0 40px;
	font-size: 15px;
	font-weight: 850;
	inline-size: 40px;
	place-items: center;
}

.academy-topic-name {
	color: #243a33;
	flex: 1;
	font-size: 15px;
	font-weight: 800;
}

/* #778b81 measured 3.62:1 at 11px. */
.academy-topic-name small {
	color: #66786f;
	display: block;
	font-size: 11px;
	font-weight: 550;
	letter-spacing: 0;
	margin-block-start: 4px;
}

.academy-topic-weight {
	background: #e1f2ea;
	border-radius: 999px;
	color: #075f5c;
	flex: none;
	font-size: 12px;
	font-weight: 850;
	padding-block: 6px;
	padding-inline: 11px;
}

.academy-topic-chevron {
	color: var(--hum-green);
	font-size: 22px;
	font-weight: 400;
	inline-size: 15px;
	text-align: center;
}

.academy-topic[open] .academy-topic-chevron {
	font-size: 0;
}

.academy-topic[open] .academy-topic-chevron:after {
	content: "−";
	font-size: 22px;
}

/*
 * The 83px indent aligns the body copy under the 40px letter badge in the summary above it
 * (25px summary padding + 40px badge + 17px gap + 1px border). It is an inline-START indent,
 * so in Arabic the whole stack hangs off the right edge instead of drifting away from it.
 */
.academy-topic-body {
	color: #586f66;
	font-size: 13px;
	line-height: 1.75;
	padding-block: 0 24px;
	padding-inline: 83px 27px;
}

.academy-topic-body > p {
	margin-block: 10px 12px;
	margin-inline: 0;
	max-inline-size: 800px;
}

.academy-topic-body ul {
	column-gap: 35px;
	columns: 2;
	margin: 0;
	padding-inline-start: 19px;
}

.academy-topic-body li {
	break-inside: avoid;
	margin-block: 0 8px;
	margin-inline: 0;
	padding-inline-end: 11px;
}

.academy-topic-body .academy-practice {
	background: #eff8f4;
	border-radius: 10px;
	color: #2e6556;
	margin-block-start: 19px;
	padding-block: 13px;
	padding-inline: 16px;
}

/*
 * .curriculum is the design's earlier accordion. The markup for #academy uses
 * .academy-program, but the class pair is still part of the design's contract and the two
 * must not drift apart if a template reaches for it.
 */
.curriculum {
	border-block-start: 1px solid var(--hum-line);
	margin-block: 32px 0;
	margin-inline: auto;
	max-inline-size: 1000px;
}

.curriculum details {
	border-block-end: 1px solid var(--hum-line);
}

.curriculum summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	font-size: 17px;
	font-weight: 760;
	gap: 19px;
	letter-spacing: -0.35px;
	list-style: none;
	padding-block: 22px;
}

.curriculum summary::-webkit-details-marker {
	display: none;
}

.curriculum summary .index {
	background: #e5f5ec;
	block-size: 35px;
	border-radius: 10px;
	color: var(--hum-green);
	display: grid;
	flex: none;
	font-size: 12px;
	font-weight: 850;
	inline-size: 35px;
	place-items: center;
}

.curriculum summary:after {
	color: var(--hum-green);
	content: "+";
	font-size: 24px;
	font-weight: 400;
	/* Sits at the inline end of the row in both directions. */
	margin-inline-start: auto;
}

.curriculum details[open] summary:after {
	content: "−";
}

.curriculum-body {
	color: var(--hum-muted);
	font-size: 13px;
	line-height: 1.75;
	padding-block: 0 24px;
	padding-inline: 54px 20px;
}

.curriculum-body p {
	margin-block-end: 9px;
}

.curriculum-body ul {
	column-gap: 45px;
	columns: 2;
	margin-block: 12px 0;
	margin-inline: 0;
	padding-inline-start: 19px;
}

.curriculum-body li {
	break-inside: avoid;
	margin-block-end: 5px;
}

.academy-extras {
	display: grid;
	gap: 17px;
	grid-template-columns: 1fr 1fr;
	margin-block-start: 32px;
}

.academy-section .academy-extras {
	margin-block: 22px 0;
	margin-inline: auto;
	max-inline-size: 1000px;
}

.academy-extra {
	background: #f7fcf9;
	border: 1px solid #dcece3;
	border-radius: 17px;
	padding: 23px;
}

.academy-extra b {
	font-size: 13px;
}

/* #6a8476 measured 3.91:1 at 12px. */
.academy-extra p {
	color: #60776a;
	font-size: 12px;
	line-height: 1.7;
	margin-block: 8px 0;
	margin-inline: 0;
}

@media (max-width: 730px) {
	.academy-banner {
		align-items: start;
		flex-direction: column;
		gap: 10px;
	}

	.academy-facts {
		gap: 9px;
	}

	.academy-facts > div {
		padding-block: 17px;
		padding-inline: 7px;
	}

	.academy-facts strong {
		font-size: 29px;
	}

	.academy-facts span {
		font-size: 10px;
	}

	.academy-program-head {
		display: block;
	}

	.academy-program-head > span {
		display: block;
		margin-block-start: 12px;
	}

	.academy-topic summary {
		gap: 11px;
		padding-block: 17px;
		padding-inline: 14px;
	}

	.academy-topic-name {
		font-size: 13px;
	}

	.academy-topic-weight {
		padding-block: 5px;
		padding-inline: 8px;
	}

	/* The badge indent goes away with the columns; the body gets the full width. */
	.academy-topic-body {
		padding-block: 4px 21px;
		padding-inline: 21px;
	}

	.academy-topic-body ul {
		columns: 1;
	}

	.curriculum-body {
		padding-inline-start: 0;
	}

	.curriculum-body ul {
		columns: 1;
	}

	.academy-extras {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 380px) {
	.academy-facts {
		grid-template-columns: 1fr;
	}

	.academy-facts strong {
		font-size: 32px;
	}

	.academy-topic-weight {
		font-size: 10px;
	}

	.academy-topic-name {
		font-size: 12px;
	}

	.academy-topic-no {
		block-size: 32px;
		flex-basis: 32px;
		inline-size: 32px;
	}
}

/* ---------------------------------------------------------------------------
 * 17. FAQ
 * ------------------------------------------------------------------------ */

.hum-faq-list {
	margin-block: 38px 0;
	margin-inline: auto;
	max-inline-size: 830px;
}

.hum-faq-list details {
	border-block-end: 1px solid #dce9e2;
	padding-block: 20px;
}

.hum-faq-list summary {
	color: #234238;
	cursor: pointer;
	display: flex;
	font-size: 15px;
	font-weight: 760;
	gap: 24px;
	justify-content: space-between;
	line-height: 1.5;
	list-style: none;
}

.hum-faq-list summary::-webkit-details-marker {
	display: none;
}

.hum-faq-list summary:after {
	color: var(--hum-green);
	content: "+";
	flex: none;
	font-size: 22px;
	font-weight: 400;
}

.hum-faq-list details[open] summary:after {
	content: "−";
}

/* #61796f measured 4.38:1 at 13px on --hum-mist. */
.hum-faq-list details p {
	color: #5e756b;
	font-size: 13px;
	line-height: 1.85;
	/* The 35px keeps the answer clear of the marker, on whichever side the marker is. */
	margin-block: 12px 2px;
	margin-inline: 0 35px;
}

.hum-faq-list details p a {
	color: var(--hum-green);
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------------------------------------------------------------------------
 * 18. Join
 * ------------------------------------------------------------------------ */

.join-section {
	padding-block: 0 108px;
}

.join-box {
	/* A dark surface: see the note on .short-band. */
	--hum-focus: #eafff6;

	align-items: start;
	background: linear-gradient(var(--hum-angle-join), #0e5a43, #0b352d);
	border-radius: 23px;
	color: var(--hum-white);
	display: grid;
	gap: 52px;
	grid-template-columns: 0.85fr 1.15fr;
	overflow: hidden;
	padding: 54px;
	position: relative;
}

.join-box:before {
	block-size: 440px;
	border: 1px solid rgba(107, 197, 148, 0.27);
	border-radius: 50%;
	box-shadow: 0 0 0 58px rgba(101, 188, 153, 0.19), 0 0 0 117px rgba(101, 188, 153, 0.13);
	content: "";
	inline-size: 440px;
	inset-block-start: -260px;
	inset-inline-end: -250px;
	position: absolute;
}

.join-box > * {
	position: relative;
	z-index: 1;
}

.join-box .section-label {
	color: #b7f0d2;
}

.join-box h2 {
	font-size: clamp(31px, 3vw, 40px);
}

.join-box p {
	color: #c4e0d3;
	font-size: 14px;
	line-height: 1.8;
}

.join-steps {
	counter-reset: join;
	list-style: none;
	margin: 0;
	padding: 0;
}

/*
 * The counter is absolutely positioned in the inline-start gutter the padding opens up, so
 * the 48px indent and the badge move to the other edge together. Getting one of the two
 * wrong is the classic RTL break: a number floating over the text it numbers.
 */
.join-steps li {
	border-block-end: 1px solid rgba(255, 255, 255, 0.16);
	counter-increment: join;
	margin-block-end: 18px;
	padding-block: 0 18px;
	padding-inline-start: 48px;
	position: relative;
}

.join-steps li:before {
	background: rgba(255, 255, 255, 0.12);
	block-size: 30px;
	border: 1px solid #95cfb9;
	border-radius: 50%;
	color: var(--hum-white);
	content: counter(join);
	display: grid;
	font-size: 12px;
	font-weight: 800;
	inline-size: 30px;
	inset-block-start: 0;
	inset-inline-start: 0;
	place-items: center;
	position: absolute;
}

.join-steps li:last-child {
	border-block-end: none;
	margin: 0;
	padding-block-end: 0;
}

.join-steps h3 {
	font-size: 15px;
	margin-block-end: 6px;
}

.join-steps p {
	font-size: 12px;
	margin: 0;
}

.join-steps a {
	color: #b9f3d0;
	font-size: 12px;
	font-weight: 750;
	text-decoration: underline;
	text-underline-offset: 4px;
}

/*
 * !important is the design's, and it stays: .join-note is a <p> inside .join-box, so it
 * inherits the block's own p rule above and has the same specificity as it.
 */
.join-note {
	color: #9fd1bd !important;
	font-size: 11px !important;
	margin-block-start: 20px !important;
}

@media (max-width: 900px) {
	.join-box {
		gap: 28px;
		padding: 35px;
	}
}

@media (max-width: 730px) {
	.join-box {
		grid-template-columns: 1fr;
		padding: 29px;
	}
}

/* ---------------------------------------------------------------------------
 * 19. Author and books
 * ------------------------------------------------------------------------ */

.author-section {
	background: var(--hum-white);
}

.author-top {
	align-items: center;
	display: grid;
	gap: 55px;
	grid-template-columns: 1.38fr 0.62fr;
	margin-block-end: 58px;
}

.author-em {
	color: var(--hum-green);
}

.author-overview h2 {
	margin-block-end: 26px;
	max-inline-size: 700px;
}

.author-overview > p {
	color: #62776b;
	font-size: 15px;
	line-height: 1.8;
	max-inline-size: 705px;
}

.author-line {
	align-items: center;
	display: flex;
	gap: 16px;
	margin-block: 22px 23px;
	margin-inline: 0;
}

.author-line img {
	block-size: 82px;
	border: 4px solid #e0f4e8;
	border-radius: 50%;
	inline-size: 82px;
	object-fit: cover;
}

.author-line strong,
.author-line span {
	display: block;
}

.author-line strong {
	font-size: 20px;
}

/* #789284 measured 3.36:1 at 12px. */
.author-line span {
	color: #637a6e;
	font-size: 12px;
	line-height: 1.55;
	margin-block-start: 5px;
}

.author-contact {
	color: var(--hum-green);
	display: inline-block;
	font-size: 13px;
	font-weight: 800;
	margin-block-start: 10px;
}

.author-aside {
	background: linear-gradient(var(--hum-angle-card), #edf9f1, #f8fcf9);
	border: 1px solid #dcece2;
	border-radius: 22px;
	padding: 31px;
}

.author-aside-label {
	color: var(--hum-green);
	font-size: 10px;
	font-weight: 850;
	letter-spacing: 1.3px;
	/*
	 * The design pre-capitalised this label in the markup. Uppercase source strings
	 * break Turkish dotted/dotless i and German sharp s, and several of the site's 23
	 * languages have no case distinction at all — so the string is stored in sentence
	 * case and the capitals are applied here instead.
	 */
	text-transform: uppercase;
}

.author-aside p {
	color: #1c513a;
	font-size: 25px;
	font-weight: 790;
	letter-spacing: -0.65px;
	line-height: 1.3;
	margin-block: 16px 21px;
	margin-inline: 0;
}

/* #668673 measured 3.72:1 at 12px. */
.author-aside-foot {
	border-block-start: 1px solid #d5e8db;
	color: #597565;
	font-size: 12px;
	line-height: 1.75;
	padding-block-start: 17px;
}

.books-heading {
	align-items: end;
	display: flex;
	gap: 15px;
	justify-content: space-between;
	margin-block-end: 23px;
}

.books-heading h3 {
	font-size: 25px;
	margin-block: 7px 0;
	margin-inline: 0;
}

/* #839789 measured 3.11:1 at 11px. */
.books-heading > span {
	color: #66796c;
	font-size: 11px;
	font-weight: 700;
}

.books-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.book-card {
	align-items: center;
	background: linear-gradient(var(--hum-angle-book), #f7fcf9, #edf8f1);
	border: 1px solid #deeee3;
	border-radius: 21px;
	display: grid;
	gap: 22px;
	grid-template-columns: 37% 1fr;
	min-inline-size: 0;
	padding: 23px;
}

.book-card:nth-child(2) {
	background: linear-gradient(var(--hum-angle-book-alt), #f9fcfa, #eff7f1);
}

/*
 * The cover's shadow is cast from one side — 8px of x offset — which is what makes it read
 * as a physical book standing on a shelf. The offset is a token so section 23 can cast it
 * from the other side in a mirrored layout, where an unflipped shadow looks like a mistake.
 */
.book-cover-link {
	border-radius: 6px;
	box-shadow: var(--hum-shadow-x) 16px 25px rgba(18, 52, 35, 0.2);
	display: block;
	inline-size: 100%;
	max-inline-size: 216px;
	overflow: hidden;
	transition: transform 0.18s;
}

.book-cover-link:hover {
	transform: translateY(-5px);
}

.book-cover-link img {
	block-size: auto;
	display: block;
	inline-size: 100%;
}

.book-kind {
	color: var(--hum-green);
	font-size: 10px;
	font-weight: 850;
	letter-spacing: 1.2px;
	margin-block-end: 10px;
	text-transform: uppercase;
}

.book-details h4 {
	font-size: 20px;
	letter-spacing: -0.6px;
	line-height: 1.25;
	margin-block: 0 5px;
	margin-inline: 0;
}

.book-subtitle {
	color: #3e6c51;
	font-size: 12px;
	font-weight: 720;
	line-height: 1.55;
	margin-block-end: 13px;
}

/* #6c8272 measured 3.99:1 at 12px. */
.book-description {
	color: #637769;
	font-size: 12px;
	line-height: 1.7;
	margin-block-end: 18px;
}

.book-buttons {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 13px;
}

.book-buttons .btn {
	font-size: 11px;
	min-block-size: 38px;
	padding-block: 9px;
	padding-inline: 12px;
}

.book-read {
	color: var(--hum-green);
	font-size: 11px;
	font-weight: 800;
}

/* #8a9d90 measured 2.77:1 at 10px. */
.book-details small {
	color: #637669;
	display: block;
	font-size: 10px;
	margin-block-start: 14px;
}

.book-languages-wrap {
	margin-block-start: 28px;
	text-align: center;
}

.book-languages-link {
	align-items: center;
	background: #f8fcfa;
	border: 1px solid var(--hum-line-strong);
	border-radius: 12px;
	color: var(--hum-green-dark);
	display: inline-flex;
	font-size: 13px;
	font-weight: 800;
	gap: 11px;
	padding-block: 15px;
	padding-inline: 19px;
	transition: background 0.2s, border-color 0.2s;
}

.book-languages-link:hover {
	background: #edf9f1;
	border-color: var(--hum-line-strong-hover);
}

@media (max-width: 900px) {
	.author-top {
		gap: 25px;
	}

	.book-card {
		gap: 15px;
		padding: 17px;
	}

	.book-details h4 {
		font-size: 17px;
	}
}

@media (max-width: 730px) {
	.author-top {
		grid-template-columns: 1fr;
		margin-block-end: 45px;
	}

	.author-aside {
		padding: 25px;
	}

	.books-heading {
		align-items: start;
		flex-direction: column;
	}

	.books-grid {
		grid-template-columns: 1fr;
	}

	.book-card {
		grid-template-columns: 37% 1fr;
	}
}

@media (max-width: 410px) {
	.book-card {
		grid-template-columns: 1fr;
	}

	.book-cover-link {
		max-inline-size: 190px;
	}

	.book-details {
		padding-block-start: 8px;
	}
}

/* ---------------------------------------------------------------------------
 * 20. Closing banner
 * ------------------------------------------------------------------------ */

.hum-final-section {
	background: var(--hum-white);
	padding-block: 75px 100px;
}

.hum-final-banner {
	/* A dark surface: see the note on .short-band. */
	--hum-focus: #eafff6;

	align-items: center;
	background: linear-gradient(var(--hum-angle-final), #102e36 0%, #124b4b 55%, #086d60 100%);
	border-radius: 24px;
	color: var(--hum-white);
	display: flex;
	gap: 40px;
	justify-content: space-between;
	overflow: hidden;
	padding-block: 52px;
	padding-inline: 59px;
	position: relative;
}

.hum-final-banner:after {
	block-size: 520px;
	border: 1px solid rgba(195, 236, 227, 0.16);
	border-radius: 50%;
	box-shadow: 0 0 0 64px rgba(195, 236, 227, 0.055), 0 0 0 130px rgba(195, 236, 227, 0.03);
	content: "";
	inline-size: 520px;
	inset-block-start: -370px;
	inset-inline-end: -250px;
	pointer-events: none;
	position: absolute;
}

.hum-final-banner > * {
	position: relative;
	z-index: 1;
}

/* #9de8d6 measured 4.44:1 at 10.5px against the lightest stop of the gradient. */
.hum-final-banner .section-label {
	color: #a8ebda;
}

.hum-final-banner h2 {
	font-size: clamp(27px, 3vw, 39px);
	line-height: 1.2;
	margin-block: 10px 16px;
	margin-inline: 0;
	max-inline-size: 660px;
}

.hum-final-banner h2 em {
	color: #aee9d7;
	font-style: normal;
}

.hum-final-banner p {
	color: #cae0dc;
	font-size: 14px;
	line-height: 1.8;
	margin: 0;
	max-inline-size: 670px;
}

.hum-final-actions {
	align-items: stretch;
	display: flex;
	flex: 0 0 225px;
	flex-direction: column;
	gap: 12px;
}

.hum-final-primary {
	background: var(--hum-white);
	color: #105c51;
	white-space: nowrap;
}

.hum-final-primary:hover {
	background: #def3ec;
}

.hum-final-secondary {
	color: #d9f4eb;
	display: block;
	font-size: 12px;
	font-weight: 730;
	padding: 10px;
	text-align: center;
	text-decoration: underline;
	text-underline-offset: 4px;
}

@media (max-width: 900px) {
	.hum-final-banner {
		gap: 25px;
		padding-block: 38px;
		padding-inline: 30px;
	}

	.hum-final-actions {
		flex: 0 0 205px;
	}
}

@media (max-width: 730px) {
	.hum-final-banner {
		display: block;
		padding-block: 34px;
		padding-inline: 24px;
	}

	.hum-final-banner h2 {
		font-size: 31px;
	}

	.hum-final-actions {
		margin-block-start: 25px;
	}
}

/* ---------------------------------------------------------------------------
 * 21. Footer
 *
 * The design's footer is .footer-left plus .footer-links. The theme's part prints
 * .footer-brand / .footer-blurb / .footer-credit and a wp_nav_menu() inside .footer-links,
 * so both shapes are styled here — the design's names are not renamed, and the template's
 * are not left unstyled.
 * ------------------------------------------------------------------------ */

.footer {
	background: #f8fbf9;
	border-block-start: 1px solid var(--hum-line);
	padding-block: 34px;
}

.footer-inner {
	align-items: center;
	display: flex;
	gap: 30px;
	justify-content: space-between;
}

/* #779084 measured 3.30:1 at 11px. */
.footer-left,
.footer-blurb,
.footer-credit {
	color: #61766c;
	font-size: 11px;
	line-height: 1.75;
}

.footer-left strong {
	color: var(--hum-ink);
	display: block;
	font-size: 13px;
	margin-block-end: 3px;
}

.footer-brand .brand {
	margin-block-end: 9px;
}

.footer-blurb {
	margin-block: 0 6px;
	margin-inline: 0;
	max-inline-size: 460px;
}

.footer-credit {
	margin: 0;
}

.footer-links {
	color: #486957;
	display: flex;
	flex-wrap: wrap;
	font-size: 12px;
	font-weight: 750;
	gap: 20px;
}

.footer-links a:hover {
	color: var(--hum-green);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu li {
	margin: 0;
}

.footer-menu .current-menu-item > a {
	color: var(--hum-green);
}

.footer-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
}

@media (max-width: 730px) {
	.footer-inner {
		display: block;
	}

	.footer-links {
		margin-block-start: 20px;
	}
}

/* ---------------------------------------------------------------------------
 * 22. WordPress chrome
 * ------------------------------------------------------------------------ */

/*
 * The admin bar is fixed over the top of the viewport, so a sticky header docks underneath
 * it rather than at 0. Carried over from the sister site, which is where this was worked out
 * once already; below 600px core un-fixes the bar, so the offset goes back to zero.
 *
 * The mobile nav drawer is positioned against .header (which is sticky, and therefore its
 * own containing block), not against the viewport, so it follows this offset for free.
 */
.admin-bar .header {
	inset-block-start: 32px;
}

@media (max-width: 782px) {
	.admin-bar .header {
		inset-block-start: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .header {
		inset-block-start: 0;
	}
}

/*
 * Core's alignment classes (.alignleft, .alignright, .aligncenter, .wp-caption) are NOT
 * here. Nothing on the front page emits them — they belong to post and page content, which
 * inc/assets.php serves with blog.css — and declaring them in both files would mean two
 * owners for one rule.
 */

/* ---------------------------------------------------------------------------
 * 23. Direction — the deliberate physical exceptions
 *
 * Everything above is written in logical properties and mirrors on its own. What is left is
 * the three kinds of thing that CANNOT:
 *
 *   a. GEOMETRY WITH NO LOGICAL FORM — gradient angles, gradient positions and box-shadow
 *      offsets. Their physical values are tokens in section 1 and are redefined once here.
 *      A gradient angle mirrors as (360 − A).
 *   b. GLYPHS THAT ARE PICTURES OF A DIRECTION — an arrow is not text that reflows, it is a
 *      drawing that points. It has to be flipped, not moved.
 *   c. TEXT THAT IS A NUMBER, A NAME OR A SEQUENCE — pinned left-to-right with an isolate so
 *      the bidi algorithm cannot reorder it. Three of the four exceptions in the file header
 *      live where they are used (.impact-value, .platform-screen-progress); the brand is
 *      here, with the rest of the direction work.
 * ------------------------------------------------------------------------ */

/*
 * PHYSICAL ON PURPOSE (1 of 4). The wordmark is one word built from four coloured spans and
 * a top-level domain. In an Arabic page the bidi algorithm reads ".org" as neutral and moves
 * it to the left of "Humanity", producing ".orgHumanityUnitedMovement" — a different name.
 * direction:ltr with an isolate makes the lockup one left-to-right island; the header around
 * it still mirrors, so the brand sits at the inline start where it belongs.
 */
.brand,
.brand-words {
	direction: ltr;
	unicode-bidi: isolate;
}

[dir="rtl"] {
	/* (a) Angles mirrored about the vertical axis: 360 − A. */
	--hum-angle-card: 215deg;
	--hum-angle-banner: 245deg;
	--hum-angle-join: 235deg;
	--hum-angle-book: 220deg;
	--hum-angle-book-alt: 225deg;
	--hum-angle-academy: 243deg;
	--hum-angle-final: 246deg;
	--hum-angle-island: 200deg;

	/* The hero's radial highlight sits over the globe, which has moved to the other side. */
	--hum-hero-glow-x: 17%;

	/* Shadows are cast from the other side. */
	--hum-shadow-x: -8px;
	--hum-inset-x: -3px;
}

/*
 * (b) The glyph arrows: ↗ in the CTAs and the text links, ← → on the pager, › on the screen
 * options. transform, not a different character, because the alternative is 23 translations
 * of a decorative span — and because scaleX on an aria-hidden glyph changes nothing for a
 * screen reader. The down caret (⌄) and the +/− disclosure markers are NOT listed: they are
 * symmetrical about the vertical axis and flipping them would be a no-op.
 */
[dir="rtl"] .hum-arrow,
[dir="rtl"] #app-preview .platform-pager-btn,
[dir="rtl"] #app-preview .platform-screen-option-arrow {
	display: inline-block;
	transform: scaleX(-1);
}

/*
 * A glyph in CSS is a picture, not copy — but generated content lands in the accessibility
 * tree, where "✓" is announced as "check mark" in English on a page that has 22 other
 * languages. The alt-text form of the content property silences it. It is applied in an
 * @supports block because a browser that does not understand "x" / "" drops the whole
 * declaration and the glyph disappears from the page; this way those browsers keep the
 * glyph from the rules above and lose only the silencing.
 *
 * The step counters stay decimal on purpose: the screen numbers around them ("01 / 05", the
 * "A"–"E" topic badges) are printed by PHP as Western digits, and a locale-aware counter
 * style here would make the page disagree with itself.
 */
@supports (content: "x" / "") {
	.checklist li:before,
	.hero-points span:before {
		content: "✓" / "";
	}

	.curriculum summary:after,
	.hum-faq-list summary:after {
		content: "+" / "";
	}

	.curriculum details[open] summary:after,
	.hum-faq-list details[open] summary:after,
	.academy-topic[open] .academy-topic-chevron:after {
		content: "−" / "";
	}
}

/* ---------------------------------------------------------------------------
 * 24. Reduced motion, deferred half
 *
 * Section 4 already stops every transition on the page with a universal !important rule, so
 * strictly nothing here is required. It is here because the design's own reduced-motion
 * block named only .btn, .pillar-card and .book-cover-link, and a future maintainer who
 * narrows the universal rule — which is the usual instinct, since !important on * is a blunt
 * instrument — would silently reintroduce motion on the four components the design missed.
 *
 * This has to sit at the END of the file. A media query adds no specificity, so
 * `.text-link { transition: color .2s }` in section 7 would beat the same selector inside
 * the @media block in section 4. From here it wins on source order instead.
 * ------------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
	.btn,
	.pillar-card,
	.book-cover-link,
	.text-link,
	.book-languages-link,
	.hum-lang-toggle,
	.hum-lang-caret,
	#app-preview .platform-category-tab,
	#app-preview .platform-screen-option,
	#app-preview .platform-screen-zoom .zoom-label {
		transition: none;
	}

	/* The hover lifts are the motion, not the transition that eases them. */
	.btn:hover,
	.pillar-card:hover,
	.book-cover-link:hover,
	.book-languages-link:hover {
		transform: none;
	}
}

/* ---------------------------------------------------------------------------
 * 25. Script adjustments — THIS SECTION MUST STAY LAST
 *
 * Arabic joins its letters and Devanagari forms conjuncts; letter-spacing breaks both, and
 * this design applies tracking at 25 places, from −3.6px on h1 to +2.4px on .globe-title.
 * Section 5 resets it already, but at specificity (0,1,1) — so .eyebrow (0,1,0) ties and
 * wins on source order, and #app-preview .section-label (1,1,0) wins outright. The six
 * uppercase labels that carry POSITIVE tracking are the visible damage: .eyebrow,
 * .section-label, .globe-title span, .academy-banner span, .book-kind, .network-center span.
 *
 * Rather than list them, these two rules reset the whole subtree at a specificity nothing
 * in the file beats: (0,1,1) with the body type selector, and (1,1,0) for the island, both
 * at the very end of the cascade. ADD NOTHING BELOW THIS BLOCK.
 * ------------------------------------------------------------------------ */

html[lang^="ar"] body,
html[lang^="ar"] body *,
html[lang^="hi"] body,
html[lang^="hi"] body * {
	letter-spacing: normal;
}

html[lang^="ar"] #app-preview,
html[lang^="ar"] #app-preview *,
html[lang^="hi"] #app-preview,
html[lang^="hi"] #app-preview * {
	letter-spacing: normal;
}
