/**
 * Growth Mantra — main stylesheet.
 *
 * Design tokens live on :root. The accent colour is injected server-side from
 * Theme Options (see GrowthMantra\Enqueue::inline_tokens), every other brand
 * colour is derived from it with color-mix() so a single field re-skins the site.
 *
 * @package GrowthMantra
 */

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

:root {
	/* Accent — overridden inline from Theme Options. */
	--gm-accent: #7c3aed;

	/* Derived accents. */
	--gm-accent-d: color-mix(in srgb, var(--gm-accent) 74%, #0b1020);
	--gm-accent-l: color-mix(in srgb, var(--gm-accent) 52%, #ffffff);
	--gm-tint: color-mix(in srgb, var(--gm-accent) 7%, #ffffff);
	--gm-tint-b: color-mix(in srgb, var(--gm-accent) 20%, #ffffff);
	--gm-glow: color-mix(in srgb, var(--gm-accent) 88%, transparent);
	--gm-veil: color-mix(in srgb, var(--gm-accent) 24%, transparent);

	/* Neutrals. */
	--gm-ink: #0b1020;
	--gm-ink-2: #1b2338;
	--gm-body: #667085;
	--gm-body-2: #3a4256;
	--gm-body-3: #4a5268;
	--gm-muted: #98a2b8;
	--gm-muted-2: #c3c9dc;
	--gm-surface: #f7f8fc;
	--gm-line: #e8eaf3;
	--gm-line-2: #edeff7;
	--gm-line-3: #e3e7f3;
	--gm-line-4: #dfe3f0;
	--gm-line-5: #eef0f8;
	--gm-success: #12a150;

	/* Dark surface. */
	--gm-dark: #0b1020;
	--gm-dark-body: #a8b0c6;
	--gm-dark-muted: #6e7793;
	--gm-dark-link: #c3c9dc;
	--gm-dark-link-2: #8a93ac;

	/* Type. */
	--gm-font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--gm-font-display: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

	/* Layout. */
	--gm-container: 1200px;

	/*
	 * Reading measure for running text — roughly 72 characters of 17px Manrope.
	 * The article column is as wide as the header and footer, but body copy is
	 * held to this inside it: past about 75 characters the eye starts losing its
	 * place returning to the beginning of the next line. Held in px rather than
	 * ch so headings and body copy share one right edge despite their different
	 * font sizes.
	 */
	--gm-measure: 640px;

	--gm-gutter: clamp(20px, 4vw, 32px);
	--gm-section-y: clamp(72px, 9vw, 130px);
	--gm-header-h: 76px;
}

/* color-mix() fallbacks for older engines. */
@supports not (color: color-mix(in srgb, red 50%, blue)) {
	:root {
		--gm-accent-d: #2743d6;
		--gm-accent-l: #8fa2ff;
		--gm-tint: #eef2ff;
		--gm-tint-b: #dde4ff;
		--gm-glow: rgba(59, 91, 252, 0.88);
		--gm-veil: rgba(59, 91, 252, 0.24);
	}
}

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

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

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

body {
	margin: 0;
	background: #fff;
	font-family: var(--gm-font-body);
	color: var(--gm-ink);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

a {
	color: var(--gm-accent);
	text-decoration: none;
}

a:hover {
	color: var(--gm-accent-d);
}

img {
	max-width: 100%;
	height: auto;
}

::placeholder {
	color: #9aa3b8;
}

::selection {
	background: var(--gm-tint);
}

:focus-visible {
	outline: 2px solid var(--gm-accent);
	outline-offset: 3px;
	border-radius: 4px;
}

/* -----------------------------------------------------------------------------
 * 3. Accessibility helpers
 * -------------------------------------------------------------------------- */

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	padding: 12px 20px;
	background: #fff;
	color: var(--gm-ink);
	font-weight: 700;
	border-radius: 0 0 12px 0;
	box-shadow: 0 8px 24px -12px rgba(11, 16, 32, 0.4);
}

.skip-link:focus {
	left: 0;
}

/* -----------------------------------------------------------------------------
 * 4. Layout primitives
 * -------------------------------------------------------------------------- */

.gm-page {
	width: 100%;
	max-width: 100%;
	overflow-x: clip;
}

.gm-container {
	max-width: var(--gm-container);
	margin: 0 auto;
	padding: 0 var(--gm-gutter);
}

.gm-section {
	padding: var(--gm-section-y) 0;
}

.gm-section--surface {
	background: var(--gm-surface);
	border-top: 1px solid var(--gm-line-5);
	border-bottom: 1px solid var(--gm-line-5);
}

.gm-section--dark {
	background: var(--gm-dark);
	position: relative;
	overflow: hidden;
}

.gm-section--flush-top {
	padding-top: 0;
}

.gm-grid {
	display: grid;
}

.gm-grid--split {
	grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
	gap: clamp(36px, 5vw, 72px);
	align-items: center;
}

.gm-grid--split-start {
	align-items: start;
}

.gm-grid--cards {
	grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
	gap: 22px;
}

/*
 * Four service cards will not fit across a 1200px container at the 320px
 * track above, leaving one orphaned on its own row. Two columns give each
 * card room for its checklist instead of squeezing four into 280px each.
 */
.gm-grid--cards-4 {
	grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
}

.gm-grid--cards-sm {
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: 20px;
}

/* -----------------------------------------------------------------------------
 * 5. Type
 * -------------------------------------------------------------------------- */

.gm-eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--gm-accent);
	margin-bottom: 18px;
}

.gm-eyebrow--light {
	color: var(--gm-accent-l);
}

.gm-h1 {
	margin: 0 0 22px;
	font-family: var(--gm-font-display);
	font-weight: 800;
	font-size: clamp(38px, 5.4vw, 68px);
	line-height: 1.03;
	letter-spacing: -0.035em;
	color: var(--gm-ink);
	text-wrap: pretty;
}

.gm-h2 {
	margin: 0 0 20px;
	font-family: var(--gm-font-display);
	font-weight: 800;
	font-size: clamp(30px, 4vw, 50px);
	line-height: 1.06;
	letter-spacing: -0.03em;
	color: var(--gm-ink);
	text-wrap: pretty;
}

.gm-h2--light {
	color: #fff;
}

.gm-h2:last-child {
	margin-bottom: 0;
}

.gm-lead {
	margin: 0;
	font-size: clamp(16px, 1.3vw, 18px);
	line-height: 1.7;
	color: var(--gm-body);
}

.gm-lead--light {
	color: var(--gm-dark-body);
}

.gm-lead--narrow {
	max-width: 480px;
}

.gm-accent-text {
	color: var(--gm-accent);
}

.gm-note {
	font-size: 13.5px;
	color: var(--gm-muted);
}

.gm-note--dark {
	color: var(--gm-dark-muted);
}

.gm-section-head {
	margin-bottom: clamp(40px, 5vw, 64px);
	max-width: 700px;
}

.gm-section-head--wide {
	max-width: 760px;
}

.gm-section-head--narrow {
	max-width: 640px;
}

/* -----------------------------------------------------------------------------
 * 6. Buttons
 * -------------------------------------------------------------------------- */

.gm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 17px 28px;
	border: 1px solid transparent;
	border-radius: 14px;
	font-family: var(--gm-font-body);
	font-weight: 700;
	font-size: 16.5px;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

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

.gm-btn--primary {
	background: var(--gm-accent);
	color: #fff;
	box-shadow: 0 16px 34px -16px var(--gm-glow);
}

.gm-btn--primary:hover {
	color: #fff;
	box-shadow: 0 22px 40px -18px var(--gm-glow);
}

.gm-btn--ghost {
	background: #fff;
	border-color: var(--gm-line-4);
	color: var(--gm-ink);
}

.gm-btn--ghost:hover {
	border-color: var(--gm-accent);
	color: var(--gm-ink);
}

.gm-btn--dark {
	padding: 16px 26px;
	background: var(--gm-ink);
	color: #fff;
	font-size: 16px;
}

.gm-btn--dark:hover {
	color: #fff;
}

.gm-btn--sm {
	padding: 12px 20px;
	gap: 8px;
	font-size: 15px;
	border-radius: 12px;
	background: var(--gm-accent);
	color: #fff;
	box-shadow: 0 10px 22px -12px var(--gm-glow);
}

.gm-btn--sm:hover {
	color: #fff;
	box-shadow: 0 16px 28px -14px var(--gm-glow);
}

.gm-btn__arrow {
	font-size: 18px;
	line-height: 1;
}

.gm-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.gm-btn-row--center {
	justify-content: center;
}

.gm-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 16px;
	color: var(--gm-accent);
}

.gm-link-arrow span {
	transition: transform 0.25s;
}

.gm-link-arrow:hover span {
	transform: translateX(3px);
}

.gm-link-arrow--sm {
	font-size: 15.5px;
}

.gm-link-arrow--push {
	margin-top: auto;
}

/* -----------------------------------------------------------------------------
 * 7. Icon tiles & badges
 * -------------------------------------------------------------------------- */

.gm-icon-tile {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: var(--gm-ink);
	box-shadow: 0 10px 22px -14px rgba(11, 16, 32, 0.9);
	flex: none;
	/* Icons are drawn with stroke="currentColor". */
	color: #fff;
}

.gm-icon-tile--sm {
	width: 44px;
	height: 44px;
}

.gm-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--gm-tint);
	border: 1px solid var(--gm-tint-b);
	margin-bottom: 26px;
}

.gm-pill__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--gm-accent);
}

.gm-pill__label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gm-accent-d);
}

.gm-chip {
	display: inline-flex;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--gm-surface);
	border: 1px solid var(--gm-line);
	font-size: 12.5px;
	font-weight: 600;
	color: var(--gm-body);
}

.gm-tag {
	padding: 6px 11px;
	border-radius: 8px;
	background: var(--gm-tint);
	font-size: 12px;
	font-weight: 700;
	color: var(--gm-accent-d);
}

.gm-tag--muted {
	background: var(--gm-surface);
	border: 1px solid var(--gm-line-2);
	font-weight: 600;
	color: var(--gm-body);
}

/* -----------------------------------------------------------------------------
 * 8. Header
 * -------------------------------------------------------------------------- */

.gm-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(255, 255, 255, 0.72);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.gm-header.is-stuck {
	background: rgba(255, 255, 255, 0.86);
	border-bottom-color: #eaedf7;
	box-shadow: 0 8px 28px -22px rgba(11, 16, 32, 0.5);
}

.gm-header__bar {
	max-width: var(--gm-container);
	margin: 0 auto;
	padding: 0 var(--gm-gutter);
	height: var(--gm-header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.gm-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--gm-ink);
}

.gm-brand:hover {
	color: var(--gm-ink);
}

.gm-brand__logo {
	height: 35px;
	width: auto;
	display: block;
}

.gm-brand__name {
	font-family: var(--gm-font-display);
	font-weight: 800;
	font-size: 19px;
	letter-spacing: -0.02em;
}

.gm-brand__name em {
	font-style: normal;
	color: var(--gm-accent);
}

.gm-nav {
	display: flex;
	align-items: center;
	gap: 30px;
}

.gm-nav__link {
	font-size: 15px;
	font-weight: 600;
	color: var(--gm-body-3);
	transition: color 0.2s;
}

.gm-nav__link:hover,
.gm-nav__link.is-current {
	color: var(--gm-ink);
}

.gm-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.gm-burger {
	display: none;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	border: 1px solid var(--gm-line-3);
	background: #fff;
	cursor: pointer;
	padding: 0;
}

.gm-burger__bars {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: var(--gm-ink);
	box-shadow: 0 6px 0 var(--gm-ink), 0 -6px 0 var(--gm-ink);
}

.gm-mobile-nav {
	display: none;
	border-top: 1px solid var(--gm-line-2);
	background: rgba(255, 255, 255, 0.96);
	padding: 14px var(--gm-gutter) 22px;
	grid-gap: 2px;
	gap: 2px;
}

.gm-mobile-nav.is-open {
	display: grid;
}

.gm-mobile-nav__link {
	padding: 14px 4px;
	font-size: 17px;
	font-weight: 600;
	color: var(--gm-ink);
	border-bottom: 1px solid #f1f3fa;
}

.gm-mobile-nav__link:last-child {
	border-bottom: 0;
}

/* The header CTA, relocated into the panel on phones. */
.gm-mobile-nav__cta {
	display: none;
	margin-top: 12px;
	width: 100%;
}

@media (max-width: 939px) {
	.gm-nav {
		display: none;
	}

	.gm-burger {
		display: grid;
	}
}

/*
 * Below 600px the logo, wordmark, CTA and burger no longer fit on one row —
 * they collided in the source design. Move the CTA into the menu panel and
 * tighten the bar so the brand always stays legible.
 */
@media (max-width: 599px) {
	.gm-header__bar {
		gap: 12px;
	}

	.gm-header__actions > .gm-btn--sm {
		display: none;
	}

	.gm-mobile-nav__cta {
		display: inline-flex;
	}

	.gm-mobile-nav__link:last-of-type {
		border-bottom: 0;
	}
}

/* Very narrow phones: the mark alone carries the branding. */
@media (max-width: 379px) {
	.gm-brand__name {
		display: none;
	}
}

/* Belt and braces: the panel can never survive into the desktop layout, even
   if it was left open when the viewport widened. */
@media (min-width: 940px) {
	.gm-mobile-nav,
	.gm-mobile-nav.is-open {
		display: none;
	}
}

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

.gm-hero {
	position: relative;
	padding: clamp(48px, 7vw, 92px) 0 clamp(64px, 8vw, 110px);
	overflow: visible;
}

.gm-hero__glow {
	position: absolute;
	top: -140px;
	right: -160px;
	width: 640px;
	height: 640px;
	border-radius: 50%;
	background: radial-gradient(circle at 50% 50%, var(--gm-veil), transparent 68%);
	filter: blur(6px);
	pointer-events: none;
	animation: gmGlow 9s ease-in-out infinite;
}

.gm-hero__grid-bg {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(var(--gm-tint) 1px, transparent 1px),
		linear-gradient(90deg, var(--gm-tint) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse 70% 55% at 30% 20%, #000, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 55% at 30% 20%, #000, transparent 75%);
	opacity: 0.9;
	pointer-events: none;
}

.gm-hero__inner {
	position: relative;
	max-width: var(--gm-container);
	margin: 0 auto;
	padding: 0 var(--gm-gutter);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
	gap: clamp(40px, 5vw, 64px);
	align-items: center;
}

.gm-hero__copy {
	max-width: 620px;
}

.gm-hero__text {
	margin: 0 0 34px;
	font-size: clamp(17px, 1.4vw, 20px);
	line-height: 1.65;
	color: var(--gm-body);
	max-width: 520px;
	text-wrap: pretty;
}

.gm-hero__cta-note {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 16px 0 0;
	font-size: 14.5px;
	color: var(--gm-body);
}

.gm-hero__cta-note svg {
	flex: none;
	color: #12a150;
}

.gm-hero__meta {
	margin-top: 38px;
	display: flex;
	flex-wrap: wrap;
	gap: 26px;
	align-items: center;
}

.gm-hero__meta-label {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gm-muted);
}

.gm-hero__meta-rule {
	width: 1px;
	height: 18px;
	background: #e4e7f1;
}

.gm-hero__meta-text {
	font-size: 14.5px;
	color: var(--gm-body);
}

.gm-hero__visual {
	position: relative;
	min-height: 380px;
}

/* Shown when an editor uploads a replacement for the built-in dashboard. */
.gm-hero__image {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 24px;
	box-shadow: 0 44px 90px -46px rgba(11, 16, 32, 0.42), 0 2px 6px rgba(11, 16, 32, 0.04);
}

/* Dashboard card. */
.gm-dash {
	position: relative;
	background: rgba(255, 255, 255, 0.74);
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: 24px;
	box-shadow: 0 44px 90px -46px rgba(11, 16, 32, 0.42), 0 2px 6px rgba(11, 16, 32, 0.04);
	padding: 20px;
}

.gm-dash__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--gm-line-2);
}

.gm-dash__title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--gm-font-display);
	font-weight: 700;
	font-size: 15px;
	color: var(--gm-ink);
}

.gm-dash__title::before {
	content: '';
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--gm-accent);
}

.gm-dash__period {
	font-size: 12px;
	font-weight: 600;
	color: var(--gm-muted);
}

.gm-dash__stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 12px;
	padding: 18px 0;
}

.gm-dash__stat {
	background: var(--gm-surface);
	border: 1px solid var(--gm-line-2);
	border-radius: 14px;
	padding: 14px;
}

.gm-dash__stat--accent {
	background: var(--gm-tint);
	border-color: var(--gm-tint-b);
}

.gm-dash__stat-label {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--gm-muted);
	margin-bottom: 8px;
}

.gm-dash__stat--accent .gm-dash__stat-label {
	color: #7c8ac4;
}

.gm-dash__stat-value {
	font-family: var(--gm-font-display);
	font-weight: 800;
	font-size: 24px;
	color: var(--gm-ink);
}

.gm-dash__stat--accent .gm-dash__stat-value {
	color: var(--gm-accent);
}

.gm-dash__chart {
	background: #fff;
	border: 1px solid var(--gm-line-2);
	border-radius: 16px;
	padding: 16px 14px 10px;
}

.gm-dash__chart-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 6px;
}

.gm-dash__chart-label {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--gm-body-3);
}

.gm-dash__chart-delta {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--gm-success);
}

.gm-dash__svg {
	width: 100%;
	height: 118px;
	display: block;
}

.gm-dash__line {
	stroke-dasharray: 620;
	stroke-dashoffset: 620;
	animation: gmDash 2.4s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

/* Floating badges. */
.gm-float {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 11px 15px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.85);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.95);
	box-shadow: 0 18px 34px -20px rgba(11, 16, 32, 0.45);
}

.gm-float__value {
	font-family: var(--gm-font-display);
	font-weight: 800;
	font-size: 16px;
	color: var(--gm-accent);
}

.gm-float__label {
	font-size: 13px;
	font-weight: 600;
	color: var(--gm-body-3);
}

.gm-float--a {
	top: -22px;
	left: -14px;
	animation: gmFloat 6s ease-in-out infinite;
}

.gm-float--b {
	bottom: 52px;
	right: -12px;
	animation: gmFloat 7.5s ease-in-out 0.8s infinite;
}

.gm-float--b .gm-float__value {
	color: var(--gm-success);
}

.gm-float--c {
	bottom: -20px;
	left: 24px;
	background: rgba(11, 16, 32, 0.92);
	border-color: transparent;
	box-shadow: 0 18px 34px -20px rgba(11, 16, 32, 0.6);
	animation: gmFloat 8.5s ease-in-out 0.4s infinite;
}

.gm-float--c .gm-float__label {
	font-weight: 700;
	color: #fff;
}

/* -----------------------------------------------------------------------------
 * 10. Problems
 * -------------------------------------------------------------------------- */

.gm-problems__list {
	display: grid;
	gap: 12px;
}

.gm-problem {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	background: #fff;
	border: 1px solid var(--gm-line);
	border-radius: 16px;
	padding: 18px 20px;
	transition: transform 0.25s, box-shadow 0.25s;
}

.gm-problem:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 32px -22px rgba(11, 16, 32, 0.3);
}

.gm-problem__dot {
	flex: none;
	margin-top: 3px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--gm-accent);
}

.gm-problem__text {
	margin: 0;
	font-size: 16.5px;
	line-height: 1.55;
	color: var(--gm-body-2);
}

/* -----------------------------------------------------------------------------
 * 11. Pillar cards
 * -------------------------------------------------------------------------- */

.gm-pillar {
	background: #fff;
	border: 1px solid var(--gm-line);
	border-radius: 20px;
	padding: 30px;
	box-shadow: 0 1px 2px rgba(11, 16, 32, 0.04);
	transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.gm-pillar:hover {
	transform: translateY(-4px);
	border-color: var(--gm-tint-b);
	box-shadow: 0 26px 50px -30px rgba(11, 16, 32, 0.28);
}

.gm-pillar .gm-icon-tile {
	margin-bottom: 22px;
}

.gm-pillar__title {
	margin: 0 0 10px;
	font-family: var(--gm-font-display);
	font-weight: 700;
	font-size: 20px;
	letter-spacing: -0.01em;
	color: var(--gm-ink);
}

.gm-pillar__text {
	margin: 0;
	font-size: 16px;
	line-height: 1.62;
	color: var(--gm-body);
}

/* -----------------------------------------------------------------------------
 * 12. Services
 * -------------------------------------------------------------------------- */

.gm-service {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--gm-line);
	border-radius: 24px;
	padding: clamp(26px, 2.6vw, 36px);
	box-shadow: 0 1px 2px rgba(11, 16, 32, 0.04);
	transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.gm-service:hover {
	transform: translateY(-5px);
	border-color: var(--gm-tint-b);
	box-shadow: 0 34px 60px -34px rgba(11, 16, 32, 0.32);
}

.gm-service__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 26px;
}

.gm-service__num {
	font-family: var(--gm-font-display);
	font-weight: 800;
	font-size: 14px;
	letter-spacing: 0.06em;
	color: var(--gm-muted-2);
}

.gm-service__title {
	margin: 0 0 12px;
	font-family: var(--gm-font-display);
	font-weight: 800;
	font-size: clamp(22px, 2vw, 26px);
	letter-spacing: -0.02em;
	color: var(--gm-ink);
}

.gm-service__text {
	margin: 0 0 24px;
	font-size: 16.5px;
	line-height: 1.62;
	color: var(--gm-body);
}

.gm-service__list {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	display: grid;
	gap: 11px;
}

.gm-service__list li {
	display: flex;
	gap: 10px;
	align-items: center;
	font-size: 15.5px;
	color: var(--gm-body-2);
}

.gm-service__check {
	flex: none;
	color: var(--gm-accent);
	font-weight: 800;
}

/* -----------------------------------------------------------------------------
 * 13. Why us
 * -------------------------------------------------------------------------- */

.gm-reasons {
	display: grid;
	gap: 14px;
}

.gm-reason {
	display: flex;
	gap: 18px;
	padding: 22px;
	border-radius: 18px;
	background: var(--gm-surface);
	border: 1px solid var(--gm-line-2);
}

.gm-reason__num {
	flex: none;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid var(--gm-line-3);
	font-family: var(--gm-font-display);
	font-weight: 800;
	font-size: 14px;
	color: var(--gm-accent);
}

.gm-reason__title {
	margin: 0 0 6px;
	font-family: var(--gm-font-display);
	font-weight: 700;
	font-size: 18.5px;
	color: var(--gm-ink);
}

.gm-reason__text {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--gm-body);
}

/* -----------------------------------------------------------------------------
 * 14. Process
 * -------------------------------------------------------------------------- */

.gm-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
	gap: 22px;
}

.gm-step {
	min-width: 0;
}

.gm-step__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
}

.gm-step__num {
	flex: none;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--gm-tint-b);
	color: var(--gm-accent);
	font-family: var(--gm-font-display);
	font-weight: 800;
	font-size: 15px;
}

.gm-step:first-child .gm-step__num {
	background: var(--gm-accent);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 10px 20px -12px var(--gm-glow);
}

.gm-step__rule {
	flex: 1;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--gm-tint-b), transparent);
}

.gm-step:last-child .gm-step__rule {
	display: none;
}

.gm-step__title {
	margin: 0 0 8px;
	font-family: var(--gm-font-display);
	font-weight: 700;
	font-size: 19px;
	color: var(--gm-ink);
}

.gm-step__text {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--gm-body);
}

/* -----------------------------------------------------------------------------
 * 15. Results
 * -------------------------------------------------------------------------- */

.gm-results__glow {
	position: absolute;
	top: -180px;
	left: 50%;
	width: 760px;
	height: 520px;
	transform: translateX(-50%);
	background: radial-gradient(ellipse at 50% 50%, var(--gm-veil), transparent 70%);
	pointer-events: none;
}

.gm-results__inner {
	position: relative;
}

.gm-results__head {
	max-width: 620px;
	margin-bottom: clamp(40px, 5vw, 60px);
}

.gm-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
	gap: 18px;
}

.gm-stat {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 20px;
	padding: 30px;
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

.gm-stat__value {
	font-family: var(--gm-font-display);
	font-weight: 800;
	font-size: clamp(36px, 4vw, 48px);
	letter-spacing: -0.03em;
	line-height: 1.05;
	color: #fff;
	margin-bottom: 8px;
	text-wrap: balance;
}

/*
 * Worded outcomes ("More Visibility") run several times longer than a figure
 * ("+42%"), so they step down a size and gain breathing room under them.
 */
.gm-stat--worded .gm-stat__value {
	font-size: clamp(24px, 2.2vw, 28px);
	letter-spacing: -0.02em;
	margin-bottom: 12px;
}

.gm-stat--accent .gm-stat__value {
	color: var(--gm-accent-l);
}

.gm-stat__label {
	font-size: 15px;
	font-weight: 600;
	color: var(--gm-dark-body);
}

.gm-stat--worded .gm-stat__label {
	font-weight: 500;
	line-height: 1.55;
	color: var(--gm-dark-body);
}

.gm-results__note {
	margin: 26px 0 0;
}

/* -----------------------------------------------------------------------------
 * 16. Case studies
 * -------------------------------------------------------------------------- */

.gm-cases__head {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: clamp(36px, 4vw, 56px);
}

.gm-cases__head-copy {
	max-width: 620px;
}

.gm-cases__head-copy .gm-h2 {
	margin-bottom: 0;
}

.gm-cases__head-copy .gm-h2 + .gm-lead {
	margin-top: 18px;
}

.gm-case {
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--gm-line);
	border-radius: 22px;
	box-shadow: 0 1px 2px rgba(11, 16, 32, 0.04);
	transition: transform 0.3s, box-shadow 0.3s;
}

.gm-case:hover {
	transform: translateY(-5px);
	box-shadow: 0 34px 60px -34px rgba(11, 16, 32, 0.32);
}

.gm-case__media {
	position: relative;
	width: 100%;
	height: 220px;
	background: var(--gm-surface);
	overflow: hidden;
}

.gm-case__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gm-case__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	font-size: 14px;
	font-weight: 600;
	color: var(--gm-muted);
	text-align: center;
	padding: 20px;
}

.gm-case__body {
	padding: 26px;
}

.gm-case__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.gm-case__title {
	margin: 0 0 8px;
	font-family: var(--gm-font-display);
	font-weight: 800;
	font-size: 21px;
	letter-spacing: -0.02em;
	color: var(--gm-ink);
}

.gm-case__text {
	margin: 0 0 20px;
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--gm-body);
}

/* -----------------------------------------------------------------------------
 * 17. Testimonials
 * -------------------------------------------------------------------------- */

.gm-testimonials {
	padding: clamp(72px, 9vw, 120px) 0;
}

.gm-testimonials__head {
	margin-bottom: clamp(36px, 4vw, 56px);
}

.gm-testimonials__head .gm-h2 {
	margin-bottom: 0;
}

/* Shown in place of the quote cards until the first real testimonial exists. */
.gm-testimonials__placeholder {
	background: #fff;
	border: 1px solid var(--gm-line);
	border-radius: 22px;
	padding: clamp(28px, 3vw, 40px);
	box-shadow: 0 1px 2px rgba(11, 16, 32, 0.04);
	max-width: 720px;
}

.gm-testimonials__placeholder p {
	margin: 0;
	font-size: clamp(17px, 1.5vw, 20px);
	line-height: 1.6;
	color: var(--gm-ink-2);
	text-wrap: pretty;
}

.gm-quotes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
	gap: 22px;
}

.gm-quote {
	margin: 0;
	background: #fff;
	border: 1px solid var(--gm-line);
	border-radius: 22px;
	padding: clamp(28px, 3vw, 38px);
	box-shadow: 0 1px 2px rgba(11, 16, 32, 0.04);
}

.gm-quote__mark {
	margin-bottom: 20px;
	display: block;
}

.gm-quote__text {
	margin: 0 0 26px;
	font-size: clamp(17px, 1.5vw, 20px);
	line-height: 1.6;
	color: var(--gm-ink-2);
	text-wrap: pretty;
}

.gm-quote__cite {
	display: flex;
	align-items: center;
	gap: 14px;
	font-style: normal;
}

.gm-quote__avatar {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--gm-tint);
	font-family: var(--gm-font-display);
	font-weight: 800;
	font-size: 16px;
	color: var(--gm-accent-d);
	flex: none;
	overflow: hidden;
}

.gm-quote__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gm-quote__name {
	display: block;
	font-weight: 700;
	font-size: 16px;
	color: var(--gm-ink);
}

.gm-quote__role {
	display: block;
	font-size: 14.5px;
	color: var(--gm-body);
}

.gm-testimonials__note {
	margin: 22px 0 0;
	color: var(--gm-muted);
}

/* -----------------------------------------------------------------------------
 * 18. About
 * -------------------------------------------------------------------------- */

.gm-about__text {
	margin: 0 0 18px;
	font-size: clamp(16px, 1.3vw, 18px);
	line-height: 1.7;
	color: var(--gm-body);
	max-width: 500px;
}

.gm-about__text:last-child {
	margin-bottom: 0;
}

.gm-why__lead {
	margin-bottom: 30px;
}

.gm-formula {
	background: var(--gm-surface);
	border: 1px solid var(--gm-line-2);
	border-radius: 24px;
	padding: clamp(28px, 3vw, 44px);
}

.gm-formula__terms {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 26px;
}

.gm-formula__term {
	padding: 11px 16px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--gm-line-3);
	font-weight: 700;
	font-size: 15px;
	color: var(--gm-ink);
}

.gm-formula__plus {
	color: var(--gm-muted-2);
	font-weight: 700;
}

.gm-formula__result {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 22px;
	border-radius: 18px;
	background: var(--gm-accent);
	box-shadow: 0 24px 44px -26px var(--gm-glow);
}

.gm-formula__equals {
	font-size: 26px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.6);
}

.gm-formula__value {
	font-family: var(--gm-font-display);
	font-weight: 800;
	font-size: clamp(26px, 3vw, 34px);
	letter-spacing: -0.02em;
	color: #fff;
}

/* -----------------------------------------------------------------------------
 * 19. CTA banner
 * -------------------------------------------------------------------------- */

.gm-cta {
	padding: 0 0 clamp(72px, 9vw, 120px);
}

.gm-cta__panel {
	position: relative;
	overflow: hidden;
	border-radius: 28px;
	background: linear-gradient(160deg, var(--gm-surface) 0%, var(--gm-tint) 100%);
	border: 1px solid var(--gm-tint-b);
	padding: clamp(40px, 6vw, 84px) clamp(26px, 4vw, 64px);
	text-align: center;
}

.gm-cta__glow {
	position: absolute;
	bottom: -220px;
	left: 50%;
	width: 720px;
	height: 440px;
	transform: translateX(-50%);
	background: radial-gradient(ellipse at 50% 50%, var(--gm-veil), transparent 70%);
	pointer-events: none;
	animation: gmGlow 10s ease-in-out infinite;
}

.gm-cta__inner {
	position: relative;
	max-width: 760px;
	margin: 0 auto;
}

.gm-cta__title {
	margin: 0 0 18px;
	font-family: var(--gm-font-display);
	font-weight: 800;
	font-size: clamp(30px, 4.4vw, 54px);
	line-height: 1.05;
	letter-spacing: -0.03em;
	color: var(--gm-ink);
	text-wrap: pretty;
}

.gm-cta__text {
	margin: 0 0 34px;
	font-size: clamp(16px, 1.4vw, 19px);
	line-height: 1.65;
	color: #5a627a;
}

/* -----------------------------------------------------------------------------
 * 20. Contact
 * -------------------------------------------------------------------------- */

.gm-contact {
	background: var(--gm-surface);
	border-top: 1px solid var(--gm-line-5);
	border-bottom: 0;
}

.gm-contact__details {
	display: grid;
	gap: 14px;
	max-width: 420px;
}

.gm-contact__lead {
	margin: 0 0 30px;
	max-width: 440px;
}

.gm-detail {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
	background: #fff;
	border: 1px solid var(--gm-line);
	border-radius: 16px;
}

.gm-detail__icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: var(--gm-ink);
	flex: none;
	color: #fff;
}

.gm-detail__label {
	display: block;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--gm-muted);
}

.gm-detail__value {
	font-size: 16px;
	font-weight: 600;
	color: var(--gm-ink);
	display: block;
}

.gm-detail__value--link {
	color: var(--gm-accent);
}

a.gm-detail__value {
	color: var(--gm-accent);
}

/* Whole-card tap targets for call / WhatsApp / email. */
.gm-detail--action {
	color: inherit;
	transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.gm-detail--action:hover {
	color: inherit;
	transform: translateY(-2px);
	border-color: var(--gm-tint-b);
	box-shadow: 0 16px 32px -22px rgba(11, 16, 32, 0.3);
}

.gm-detail__icon--wa {
	background: #25d366;
}

/* Form card. */
.gm-form-card {
	background: #fff;
	border: 1px solid var(--gm-line);
	border-radius: 24px;
	padding: clamp(24px, 3vw, 38px);
	box-shadow: 0 24px 50px -34px rgba(11, 16, 32, 0.26);
}

.gm-form {
	display: grid;
	gap: 16px;
}

.gm-form__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
	gap: 16px;
}

.gm-field {
	display: grid;
	gap: 8px;
}

.gm-field__label {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--gm-body-2);
}

.gm-field__req {
	color: var(--gm-accent);
}

.gm-input,
.gm-select,
.gm-textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--gm-line-3);
	border-radius: 12px;
	font-family: var(--gm-font-body);
	font-size: 16px;
	color: var(--gm-ink);
	background: #fff;
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.gm-textarea {
	line-height: 1.55;
	resize: vertical;
}

.gm-select {
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%23667085' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 42px;
}

.gm-input:focus,
.gm-select:focus,
.gm-textarea:focus {
	border-color: var(--gm-accent);
	box-shadow: 0 0 0 4px var(--gm-tint);
	outline: none;
}

.gm-form__submit {
	margin-top: 6px;
	width: 100%;
	border: none;
}

.gm-form__submit[disabled] {
	opacity: 0.62;
	cursor: progress;
	transform: none;
}

/* Honeypot — visually and semantically hidden from humans. */
.gm-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.gm-form__status {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	padding: 12px 16px;
	border-radius: 12px;
}

.gm-form__status--error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #9f1239;
}

.gm-form__status:empty {
	display: none;
}

/* Success panel. */
.gm-sent {
	display: grid;
	gap: 14px;
	place-items: start;
	padding: 20px 0;
}

.gm-sent__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: var(--gm-tint);
	color: var(--gm-accent);
}

.gm-sent__title {
	margin: 0;
	font-family: var(--gm-font-display);
	font-weight: 800;
	font-size: 22px;
	color: var(--gm-ink);
}

.gm-sent__text {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--gm-body);
}

[hidden] {
	display: none !important;
}

/* -----------------------------------------------------------------------------
 * 20b. FAQ
 * -------------------------------------------------------------------------- */

.gm-faq {
	display: grid;
	gap: 12px;
}

.gm-faq__item {
	background: #fff;
	border: 1px solid var(--gm-line);
	border-radius: 16px;
	padding: 4px 22px;
	transition: border-color 0.25s, box-shadow 0.25s;
}

.gm-faq__item[open] {
	border-color: var(--gm-tint-b);
	box-shadow: 0 16px 34px -26px rgba(11, 16, 32, 0.3);
}

.gm-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	font-family: var(--gm-font-display);
	font-weight: 700;
	font-size: 17px;
	line-height: 1.4;
	color: var(--gm-ink);
	cursor: pointer;
	list-style: none;
}

/* Suppress the native disclosure triangle in both engine families. */
.gm-faq__q::-webkit-details-marker {
	display: none;
}

.gm-faq__q::marker {
	content: '';
}

.gm-faq__q:hover {
	color: var(--gm-accent);
}

.gm-faq__icon {
	position: relative;
	flex: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--gm-tint);
	transition: transform 0.25s, background 0.25s;
}

.gm-faq__icon::before,
.gm-faq__icon::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 9px;
	height: 1.8px;
	border-radius: 2px;
	background: var(--gm-accent-d);
	transform: translate(-50%, -50%);
}

.gm-faq__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
	transition: opacity 0.25s;
}

.gm-faq__item[open] .gm-faq__icon {
	background: var(--gm-accent);
}

.gm-faq__item[open] .gm-faq__icon::before,
.gm-faq__item[open] .gm-faq__icon::after {
	background: #fff;
}

.gm-faq__item[open] .gm-faq__icon::after {
	opacity: 0;
}

.gm-faq__a {
	padding: 0 0 20px;
}

.gm-faq__a p {
	margin: 0;
	font-size: 16px;
	line-height: 1.68;
	color: var(--gm-body);
	max-width: 62ch;
	text-wrap: pretty;
}

/* -----------------------------------------------------------------------------
 * 20c. Floating WhatsApp button
 * -------------------------------------------------------------------------- */

.gm-wa {
	position: fixed;
	right: clamp(16px, 3vw, 28px);
	bottom: clamp(16px, 3vw, 28px);
	z-index: 70;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	border-radius: 999px;
	background: #25d366;
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
	box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.55), 0 2px 8px rgba(11, 16, 32, 0.16);
	transition: transform 0.25s, box-shadow 0.25s;
}

.gm-wa:hover,
.gm-wa:focus-visible {
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 20px 38px -12px rgba(37, 211, 102, 0.65), 0 2px 8px rgba(11, 16, 32, 0.16);
}

.gm-wa svg {
	flex: none;
}

/* On phones the label is dropped: thumb reach matters more than the word, and
   the glyph is universally recognised. */
@media (max-width: 599px) {
	.gm-wa {
		padding: 15px;
	}

	.gm-wa__label {
		border: 0;
		clip-path: inset(50%);
		height: 1px;
		margin: -1px;
		overflow: hidden;
		padding: 0;
		position: absolute;
		width: 1px;
	}
}

@media print {
	.gm-wa {
		display: none;
	}
}

/* -----------------------------------------------------------------------------
 * 20d. Breadcrumbs
 * -------------------------------------------------------------------------- */

.gm-crumbs {
	margin-bottom: 26px;
}

.gm-crumbs ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 14px;
}

.gm-crumbs li {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--gm-muted);
}

.gm-crumbs li + li::before {
	content: '/';
	color: var(--gm-muted-2);
}

.gm-crumbs a {
	color: var(--gm-body);
}

.gm-crumbs a:hover {
	color: var(--gm-accent);
}

/* -----------------------------------------------------------------------------
 * 20e. Service pages
 * -------------------------------------------------------------------------- */

.gm-hero--service {
	padding: clamp(32px, 4vw, 56px) 0 clamp(48px, 6vw, 80px);
}

.gm-hero__service-inner {
	position: relative;
	max-width: var(--gm-container);
}

.gm-h1--service {
	font-size: clamp(34px, 4.6vw, 56px);
	max-width: 16ch;
}

.gm-hero__text--service {
	max-width: 62ch;
}

/* A pillar card that is itself a link. */
.gm-pillar--link {
	display: flex;
	flex-direction: column;
	color: inherit;
}

.gm-pillar--link:hover {
	color: inherit;
}

.gm-pillar--link .gm-pillar__text {
	flex: 1;
	margin-bottom: 18px;
}

/* -----------------------------------------------------------------------------
 * 20f. Blog
 * -------------------------------------------------------------------------- */

.gm-entry__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.gm-entry__meta span + span::before {
	content: '·';
	margin-right: 10px;
	color: var(--gm-muted-2);
}

.gm-entry__lead {
	font-size: clamp(18px, 1.6vw, 21px);
	line-height: 1.6;
	color: var(--gm-body);
	margin: 0 0 32px;
	text-wrap: pretty;
}

.gm-post-cta {
	margin-top: 56px;
	padding: clamp(28px, 3vw, 40px);
	border-radius: 22px;
	background: linear-gradient(160deg, var(--gm-surface) 0%, var(--gm-tint) 100%);
	border: 1px solid var(--gm-tint-b);
}

.gm-post-cta h2 {
	margin: 0 0 10px;
	font-family: var(--gm-font-display);
	font-weight: 800;
	font-size: 24px;
	letter-spacing: -0.02em;
	color: var(--gm-ink);
}

.gm-post-cta p {
	margin: 0 0 22px;
	font-size: 16.5px;
	line-height: 1.6;
	color: var(--gm-body);
}

.gm-related {
	margin-top: 64px;
	padding-top: 48px;
	border-top: 1px solid var(--gm-line);
}

.gm-related__title {
	margin: 0 0 26px;
	font-family: var(--gm-font-display);
	font-weight: 800;
	font-size: 24px;
	letter-spacing: -0.02em;
	color: var(--gm-ink);
}

/* -----------------------------------------------------------------------------
 * 21. Footer
 * -------------------------------------------------------------------------- */

.gm-footer {
	background: var(--gm-dark);
	padding: clamp(56px, 7vw, 90px) 0 32px;
}

.gm-footer__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
	gap: clamp(32px, 4vw, 56px);
}

.gm-footer__brand {
	max-width: 300px;
}

.gm-footer__brand-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}

.gm-footer__logo {
	height: 32px;
	width: auto;
	display: block;
}

.gm-footer__name {
	font-family: var(--gm-font-display);
	font-weight: 800;
	font-size: 18px;
	color: #fff;
	letter-spacing: -0.02em;
}

.gm-footer__name em {
	font-style: normal;
	color: var(--gm-accent-l);
}

.gm-footer__tagline {
	margin: 0;
	font-family: var(--gm-font-display);
	font-weight: 700;
	font-size: 16px;
	color: var(--gm-accent-l);
}

.gm-footer__description {
	margin: 14px 0 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--gm-dark-body);
}

.gm-footer__contact {
	display: grid;
	gap: 6px;
	margin-top: 18px;
}

.gm-footer__contact a {
	font-size: 15px;
	color: var(--gm-dark-link);
	width: fit-content;
}

.gm-footer__contact a:hover {
	color: #fff;
}

.gm-footer__phone {
	font-family: var(--gm-font-display);
	font-weight: 700;
	font-size: 17px !important;
	color: #fff !important;
}

.gm-footer__address {
	font-style: normal;
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--gm-dark-muted);
	margin-top: 4px;
}

.gm-footer__heading {
	margin: 0 0 16px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gm-dark-muted);
}

.gm-footer__links {
	display: grid;
	gap: 11px;
}

.gm-footer__links a {
	font-size: 15.5px;
	color: var(--gm-dark-link);
	transition: color 0.2s;
}

.gm-footer__links a:hover {
	color: #fff;
}

.gm-footer__bar {
	margin-top: clamp(40px, 5vw, 64px);
	padding-top: 26px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
}

.gm-footer__copy {
	font-size: 14px;
	color: var(--gm-dark-muted);
}

.gm-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
}

.gm-footer__legal a {
	font-size: 14px;
	color: var(--gm-dark-link-2);
}

.gm-footer__legal a:hover {
	color: #fff;
}

/*
 * The floating WhatsApp button is fixed to the bottom-right of the viewport, so
 * at the very end of the page it lands on top of the legal links. Reserve the
 * height it occupies rather than letting it cover them.
 */
.gm-has-wa .gm-footer {
	padding-bottom: 108px;
}

@media (max-width: 599px) {
	.gm-has-wa .gm-footer {
		padding-bottom: 96px;
	}

	/* Keep the last line clear of the button's horizontal footprint too. */
	.gm-has-wa .gm-footer__bar {
		padding-right: 72px;
	}
}

/* -----------------------------------------------------------------------------
 * 22. Motion
 * -------------------------------------------------------------------------- */

@keyframes gmUp {
	from {
		opacity: 0;
		transform: translateY(26px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes gmFloat {
	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-11px);
	}
}

@keyframes gmDash {
	to {
		stroke-dashoffset: 0;
	}
}

@keyframes gmGlow {
	0%,
	100% {
		opacity: 0.55;
		transform: scale(1);
	}

	50% {
		opacity: 0.8;
		transform: scale(1.06);
	}
}

/* Reveal-on-scroll. Only arms once JS confirms IntersectionObserver support,
   so content is never trapped invisible. */
.gm-reveal-ready [data-reveal] {
	opacity: 0;
}

.gm-reveal-ready [data-reveal].gm-in {
	opacity: 1;
	animation: gmUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.gm-results__glow,
.gm-cta__glow {
	transform-origin: center;
}

@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;
	}

	.gm-reveal-ready [data-reveal] {
		opacity: 1;
	}
}

/* -----------------------------------------------------------------------------
 * 23. Editorial (blog / page templates)
 * -------------------------------------------------------------------------- */

/*
 * Same token as .gm-header__bar and the footer's .gm-container, so the article
 * column lines up with them and cannot drift if the site width is changed.
 */
.gm-entry {
	max-width: var(--gm-container);
	margin: 0 auto;
}

.gm-entry__title {
	margin: 0 0 16px;
	font-family: var(--gm-font-display);
	font-weight: 800;
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: var(--gm-ink);
	text-wrap: pretty;
}

.gm-entry__meta {
	font-size: 14.5px;
	color: var(--gm-muted);
	margin-bottom: 28px;
}

.gm-entry__thumb {
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 32px;
	border: 1px solid var(--gm-line-2);
}

.gm-entry__thumb img {
	display: block;
	width: 100%;
}

/* Single post: two-column body and sidebar. */

/*
 * Two columns below the article header. The main column lands at roughly 730px,
 * which is close enough to the reading measure that the copy can fill it — so
 * the measure is released here rather than leaving a ragged gap between the end
 * of each line and the sidebar.
 */
.gm-entry__layout {
	--gm-measure: 100%;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: clamp(40px, 5vw, 80px);
	align-items: start;
}

.gm-side__inner {
	position: sticky;
	/* Clears the sticky header, which is 76px tall. */
	top: calc(var(--gm-header-h) + 24px);
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.gm-side__block {
	background: #fff;
	border: 1px solid var(--gm-line);
	border-radius: 20px;
	padding: 22px 24px;
}

.gm-side__title {
	margin: 0 0 14px;
	font-family: var(--gm-font-display);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gm-muted);
}

/* Contents list. */
.gm-side__toc-list {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: gm-toc;
	font-size: 14.5px;
	line-height: 1.5;
}

.gm-side__toc-list li + li {
	margin-top: 11px;
}

.gm-side__toc-list a {
	display: grid;
	grid-template-columns: 20px 1fr;
	gap: 8px;
	color: var(--gm-body-2);
	transition: color 0.2s;
}

.gm-side__toc-list a::before {
	counter-increment: gm-toc;
	content: counter(gm-toc);
	font-family: var(--gm-font-display);
	font-weight: 700;
	font-size: 12px;
	line-height: 1.75;
	color: var(--gm-muted-2);
}

.gm-side__toc-list a:hover {
	color: var(--gm-accent);
}

.gm-side__toc-list a:hover::before {
	color: var(--gm-accent);
}

/* Category list. */
.gm-side__cats {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14.5px;
}

.gm-side__cats li + li {
	margin-top: 4px;
}

.gm-side__cat {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 12px;
	border-radius: 11px;
	color: var(--gm-body-2);
	font-weight: 600;
	transition: background 0.2s, color 0.2s;
}

.gm-side__cat:hover,
.gm-side__cat.is-current {
	background: var(--gm-tint);
	color: var(--gm-accent-d);
}

.gm-side__count {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--gm-muted);
}

.gm-side__cat:hover .gm-side__count,
.gm-side__cat.is-current .gm-side__count {
	color: var(--gm-accent);
}

/* Enquiry card. */
.gm-side__cta {
	background: var(--gm-dark);
	border-color: transparent;
}

.gm-side__cta-icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin-bottom: 14px;
	border-radius: 13px;
	background: var(--gm-veil);
	color: #fff;
}

.gm-side__cta-title {
	margin: 0 0 8px;
	font-family: var(--gm-font-display);
	font-weight: 800;
	font-size: 18px;
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: #fff;
	text-wrap: pretty;
}

.gm-side__cta-text {
	margin: 0 0 18px;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--gm-dark-body);
}

.gm-side__cta-btn {
	width: 100%;
	justify-content: center;
}

.gm-side__cta-wa {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 10px;
	font-size: 14px;
	font-weight: 700;
	color: var(--gm-dark-link);
}

.gm-side__cta-wa:hover {
	color: #fff;
}

/* Keep the comment thread on the same column as the article body. */
.gm-entry__comments {
	max-width: var(--gm-container);
	margin: 0 auto;
}

/*
 * Below 1000px there is no longer room for a 320px column beside a readable
 * measure, so the sidebar drops under the article. The topics list and the
 * enquiry card still read well there; the contents list does not, since it
 * would be indexing an article the reader has already scrolled past — so it is
 * dropped rather than moved.
 */
@media (max-width: 999px) {
	.gm-entry__layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
	}

	.gm-side__inner {
		position: static;
	}

	.gm-side__toc {
		display: none;
	}
}

@media (max-width: 599px) {
	.gm-side__block {
		padding: 20px;
	}
}

.gm-prose {
	font-size: 17px;
	line-height: 1.75;
	color: var(--gm-body-2);
}

.gm-prose > * + * {
	margin-top: 1.2em;
}

/*
 * Running text is held to the reading measure; everything structural keeps the
 * full column. Figures, tables, code blocks and embeds are the reason the column
 * is wide in the first place, so they are deliberately not listed here — as are
 * blocks the editor has marked wide or full.
 */
.gm-prose > p,
.gm-prose > ul,
.gm-prose > ol,
.gm-prose > blockquote,
.gm-prose > h2,
.gm-prose > h3,
.gm-prose > h4 {
	max-width: var(--gm-measure);
}

.gm-prose > .alignwide,
.gm-prose > .alignfull {
	max-width: none;
}

.gm-prose h2,
.gm-prose h3,
.gm-prose h4 {
	font-family: var(--gm-font-display);
	color: var(--gm-ink);
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin-top: 1.8em;
}

.gm-prose h2 {
	font-size: 30px;
	font-weight: 800;
}

.gm-prose h3 {
	font-size: 23px;
	font-weight: 700;
}

.gm-prose img {
	border-radius: 16px;
}

.gm-prose blockquote {
	margin: 1.6em 0;
	padding: 4px 0 4px 22px;
	border-left: 3px solid var(--gm-accent);
	color: var(--gm-ink-2);
	font-size: 19px;
}

.gm-prose code {
	background: var(--gm-surface);
	border: 1px solid var(--gm-line-2);
	border-radius: 6px;
	padding: 2px 6px;
	font-size: 0.9em;
}

.gm-prose pre {
	background: var(--gm-ink);
	color: #e6e9f5;
	padding: 20px;
	border-radius: 14px;
	overflow-x: auto;
}

.gm-prose pre code {
	background: none;
	border: 0;
	padding: 0;
	color: inherit;
}

.gm-prose ul,
.gm-prose ol {
	padding-left: 1.3em;
}

.gm-prose li + li {
	margin-top: 0.5em;
}

.gm-prose table {
	width: 100%;
	border-collapse: collapse;
}

.gm-prose th,
.gm-prose td {
	border: 1px solid var(--gm-line);
	padding: 10px 14px;
	text-align: left;
}

.gm-archive {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
	gap: 22px;
}

.gm-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--gm-line);
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(11, 16, 32, 0.04);
	transition: transform 0.3s, box-shadow 0.3s;
}

.gm-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 34px 60px -34px rgba(11, 16, 32, 0.32);
}

.gm-card__thumb {
	display: block;
}

.gm-card__thumb img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

/*
 * Stand-in for a post with no featured image, shared by the cards and the top
 * of a single post. Built entirely from the accent token and the theme icon
 * set, so it re-skins with the rest of the site and adds no image weight.
 */
.gm-ph {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	height: 200px;
	overflow: hidden;
	background-color: var(--gm-tint);
	background-image: linear-gradient(145deg, var(--gm-tint), var(--gm-tint-b));
	border-bottom: 1px solid var(--gm-line-2);
}

.gm-ph--1 {
	background-image: linear-gradient(200deg, var(--gm-tint-b), var(--gm-tint));
}

.gm-ph--2 {
	background-image: linear-gradient(115deg, var(--gm-tint-b), var(--gm-tint) 80%);
}

.gm-ph--3 {
	background-image: linear-gradient(165deg, var(--gm-tint), var(--gm-tint-b) 85%);
}

/*
 * Article-header size: no bottom rule, since it is not capping a card. Every
 * value is 1.5x the previous height so the panel keeps its proportions as the
 * viewport moves between the two ends of the clamp.
 */
.gm-ph--lg {
	height: clamp(300px, 36vw, 465px);
	gap: 18px;
	border-bottom: 0;
}

/* The same hairline grid as the hero, at card scale. */
.gm-ph__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
	background-size: 28px 28px;
	pointer-events: none;
}

.gm-ph--lg .gm-ph__grid {
	background-size: 44px 44px;
}

.gm-ph__icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 18px;
	background: #fff;
	color: var(--gm-accent);
	box-shadow: 0 12px 26px -14px var(--gm-veil);
}

.gm-ph--lg .gm-ph__icon {
	width: 78px;
	height: 78px;
	border-radius: 24px;
}

.gm-ph__label {
	position: relative;
	font-family: var(--gm-font-display);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--gm-accent-d);
}

.gm-ph--lg .gm-ph__label {
	font-size: 13px;
}

.gm-card__body {
	padding: 26px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.gm-card__title {
	margin: 0 0 10px;
	font-family: var(--gm-font-display);
	font-weight: 800;
	font-size: 21px;
	letter-spacing: -0.02em;
}

.gm-card__title a {
	color: var(--gm-ink);
}

.gm-card__title a:hover {
	color: var(--gm-accent);
}

.gm-card__meta {
	font-size: 13.5px;
	color: var(--gm-muted);
	margin-bottom: 12px;
}

.gm-card__excerpt {
	margin: 0 0 20px;
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--gm-body);
}

.gm-pagination {
	margin-top: 48px;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.gm-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border-radius: 12px;
	border: 1px solid var(--gm-line);
	background: #fff;
	font-weight: 700;
	font-size: 15px;
	color: var(--gm-ink);
}

.gm-pagination .page-numbers.current,
.gm-pagination .page-numbers:hover {
	background: var(--gm-accent);
	border-color: transparent;
	color: #fff;
}

.gm-404 {
	text-align: center;
	padding: clamp(80px, 12vw, 160px) 0;
}

.gm-404__text {
	margin: 0 auto 34px;
	max-width: 520px;
}

/* Comments */

/* -----------------------------------------------------------------------------
 * Comments
 *
 * Spans the full article column rather than the reading measure: a comment
 * thread is a list of short blocks, not running prose, and the form needs the
 * room to put three fields on one row.
 * -------------------------------------------------------------------------- */

.gm-comments {
	max-width: var(--gm-container);
	margin: 72px auto 0;
}

.gm-comments__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 22px;
}

.gm-comments__title {
	margin: 0;
	font-family: var(--gm-font-display);
	font-weight: 800;
	font-size: clamp(22px, 2.4vw, 28px);
	letter-spacing: -0.02em;
	color: var(--gm-ink);
}

.gm-comments__closed {
	margin: 0 0 24px;
	padding: 14px 18px;
	border-radius: 14px;
	background: var(--gm-surface);
	font-size: 14.5px;
	color: var(--gm-body);
}

/* Thread. */
.gm-comments__list {
	list-style: none;
	margin: 0 0 40px;
	padding: 0;
}

.gm-comments__list ol.children {
	list-style: none;
	margin: 16px 0 0;
	padding-left: clamp(18px, 4vw, 52px);
	border-left: 2px solid var(--gm-line-2);
}

.gm-comments__list li {
	margin-bottom: 16px;
}

.gm-comments .comment-body {
	position: relative;
	padding: 22px 26px;
	border: 1px solid var(--gm-line);
	border-radius: 18px;
	background: #fff;
	transition: border-color 0.25s, box-shadow 0.25s;
}

.gm-comments .comment-body:hover {
	border-color: var(--gm-line-4);
	box-shadow: 0 18px 40px -30px rgba(11, 16, 32, 0.4);
}

/* The post author's own replies, so a visitor can tell them apart at a glance. */
.gm-comments .bypostauthor > .comment-body {
	border-color: var(--gm-tint-b);
	background: var(--gm-tint);
}

.gm-comments .comment-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 12px;
	margin-bottom: 12px;
}

.gm-comments .comment-author {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--gm-font-display);
	font-weight: 700;
	font-size: 15.5px;
	color: var(--gm-ink);
}

.gm-comments .comment-author img {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 3px 10px -4px rgba(11, 16, 32, 0.35);
}

/* "says:" adds nothing beside a name and a date. */
.gm-comments .comment-author .says {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

.gm-comments .comment-metadata {
	margin-left: auto;
	font-size: 13px;
	color: var(--gm-muted);
}

.gm-comments .comment-metadata a {
	color: inherit;
}

.gm-comments .comment-metadata a:hover {
	color: var(--gm-accent);
}

.gm-comments .comment-content {
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--gm-body-2);
}

.gm-comments .comment-content > * + * {
	margin-top: 0.9em;
}

.gm-comments .comment-content p {
	margin: 0;
}

.gm-comments .reply {
	margin-top: 14px;
}

.gm-comments .comment-reply-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	border: 1px solid var(--gm-line-3);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	color: var(--gm-body-2);
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.gm-comments .comment-reply-link:hover {
	background: var(--gm-accent);
	border-color: transparent;
	color: #fff;
}

.gm-comments .comment-awaiting-moderation {
	/* Its own line under the name and date, rather than crowding them. */
	flex-basis: 100%;
	align-self: flex-start;
	width: fit-content;
	margin: 2px 0 0;
	font-style: normal;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--gm-tint);
	font-size: 12.5px;
	font-weight: 700;
	color: var(--gm-accent-d);
}

/* -----------------------------------------------------------------------------
 * Comment form
 * -------------------------------------------------------------------------- */

.gm-cform {
	position: relative;
	overflow: hidden;
	padding: clamp(26px, 3.4vw, 44px);
	border-radius: 24px;
	background: linear-gradient(155deg, var(--gm-tint) 0%, var(--gm-surface) 60%, #fff 100%);
	border: 1px solid var(--gm-tint-b);
}

/* The hairline grid used on the hero and the post images, at panel scale. */
.gm-cform::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.6) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 10% 0%, #000, transparent 70%);
	mask-image: radial-gradient(ellipse 80% 70% at 10% 0%, #000, transparent 70%);
	pointer-events: none;
}

.gm-cform > * {
	position: relative;
}

.gm-cform__head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 10px;
}

.gm-cform__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: var(--gm-accent);
	color: #fff;
	box-shadow: 0 14px 28px -14px var(--gm-glow);
}

.gm-cform__title {
	margin: 0;
	font-family: var(--gm-font-display);
	font-weight: 800;
	font-size: clamp(22px, 2.6vw, 30px);
	letter-spacing: -0.02em;
	color: var(--gm-ink);
}

.gm-cform__cancel {
	font-family: var(--gm-font-body);
	font-size: 14px;
	font-weight: 600;
}

/*
 * WordPress prints .logged-in-as in place of the notes paragraph once a visitor
 * is signed in, so the two carry the same styling.
 */
.gm-cform__note,
.gm-cform .logged-in-as {
	margin: 0 0 24px;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--gm-body);
}

.gm-cform .logged-in-as a {
	font-weight: 600;
}

.gm-cform__form {
	display: grid;
	gap: 18px;
}

.gm-cform__message .gm-textarea {
	min-height: 150px;
}

/*
 * Name, email and website share one row on a wide screen. The message keeps the
 * full width above them, being the field people actually came to fill in.
 *
 * All of it is scoped to the media query: with no grid-template-columns below
 * 720px the track list is implicit, and a bare `span 4` would conjure four
 * columns out of a single-column stack.
 */
@media (min-width: 720px) {
	.gm-cform__form {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}

	/*
	 * Full width is the default, and only the three short fields opt out of it.
	 * Listing the full-width children instead would leave anything not on the
	 * list squeezed into a single 1/12 track — which is what happened to the
	 * "Logged in as…" notice WordPress swaps in for a signed-in visitor, and
	 * would happen again to any subscribe checkbox or captcha notice a plugin
	 * hooks into the form.
	 */
	.gm-cform__form > * {
		grid-column: 1 / -1;
	}

	.gm-cform__form .comment-form-author,
	.gm-cform__form .comment-form-email,
	.gm-cform__form .comment-form-url {
		grid-column: span 4;
	}
}

.gm-cform__consent {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 14.5px;
	color: var(--gm-body);
}

.gm-cform__consent input {
	width: 18px;
	height: 18px;
	flex: none;
	accent-color: var(--gm-accent);
	cursor: pointer;
}

.gm-cform__consent label {
	cursor: pointer;
}

.gm-cform__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
}

.gm-cform__submit {
	border: none;
	cursor: pointer;
}

@media (max-width: 599px) {
	.gm-comments .comment-body {
		padding: 18px;
	}

	.gm-comments .comment-metadata {
		margin-left: 0;
		flex-basis: 100%;
	}

	.gm-cform__actions {
		justify-content: stretch;
	}

	.gm-cform__submit {
		width: 100%;
		justify-content: center;
	}
}

.gm-page-links {
	margin-top: 32px;
	font-weight: 700;
	display: flex;
	gap: 10px;
	align-items: center;
}

/* WordPress core alignment + caption classes. */
.alignleft {
	float: left;
	margin: 0.5em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.5em 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignwide {
	max-width: min(1100px, 92vw);
	margin-left: 50%;
	transform: translateX(-50%);
}

.alignfull {
	max-width: 100vw;
	margin-left: 50%;
	transform: translateX(-50%);
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
.gm-prose figcaption {
	font-size: 14px;
	color: var(--gm-muted);
	text-align: center;
	margin-top: 8px;
}

.sticky,
.gallery-caption,
.bypostauthor {
	/* Required by the WordPress theme review guidelines. */
	display: block;
}
