/*
 * XBLAH's Modding Tool website: landing page (content/index.php, prefix l-) and the
 * download thank-you page (content/download/index.php, prefix d-).
 * Loaded with "xmt_styles": ["landing"]. Tokens and shared components: xmt.css.
 */

/* Media slots fill their frame whatever the element (img, video or placeholder). */
.l-page .x-frame > .x-media,
.d-page .x-frame > .x-media { position: absolute; inset: 0; }

[data-l-device][hidden] { display: none !important; }

/* ------------------------------------------------------------------ sections */

.l-page { display: flex; flex-direction: column; min-width: 0; }

.l-section { padding-top: clamp(40px, 6vw, 64px); }
.l-section--lg { padding-top: clamp(56px, 8vw, 100px); }
.l-section--xl { padding-top: clamp(64px, 9vw, 112px); }

.l-head { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.l-head--center { align-items: center; max-width: none; text-align: center; }
.l-head--spaced { padding-top: clamp(48px, 6vw, 72px); }
.l-head-gap { margin-top: clamp(24px, 3vw, 36px); }
.l-head-gap-sm { margin-top: 22px; }
.l-h2-sm { font-size: clamp(24px, 3vw, 34px); }

.l-intro { max-width: 600px; font-size: 15px; color: #AAAAAA; text-wrap: pretty; }
.l-body { font-size: 16px; color: var(--x-t3); text-wrap: pretty; }
.l-accent { color: var(--x-accent-text); }

.l-grid { display: grid; gap: 12px; }
.l-grid--gap16 { gap: 16px; }
.l-grid--220 { grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 14px; }
.l-grid--240 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.l-grid--260 { grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.l-grid--280 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 14px; }
.l-grid--330 { grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); }

/* Media at the top of a flush card */
.l-card-media { border-radius: 0; border-bottom: 1px solid var(--x-card-border); }

/* ------------------------------------------------------------------ hero */

.l-hero { position: relative; padding-top: clamp(48px, 8vw, 96px); overflow: hidden; }
.l-hero-glow {
	position: absolute;
	left: 50%;
	top: -180px;
	width: min(1100px, 130vw);
	height: 620px;
	transform: translateX(-50%);
	background: radial-gradient(50% 50% at 50% 50%, rgba(202, 127, 12, 0.20) 0%, rgba(202, 127, 12, 0.05) 45%, rgba(23, 23, 24, 0) 72%);
	pointer-events: none;
}
.l-hero-inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	text-align: center;
}
.l-hero-lead { max-width: 700px; }

.l-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: 100%;
	padding: 5px 12px 5px 6px;
	border-radius: 999px;
	background: rgba(202, 127, 12, 0.10);
	border: 1px solid rgba(202, 127, 12, 0.35);
	font-size: 13px;
	color: var(--x-accent-text);
	text-align: left;
}
.l-chip-badge {
	flex: none;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--x-accent);
	color: var(--x-on-accent);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.4px;
}

/* Download block (desktop) */
.l-dl { width: 100%; display: flex; flex-direction: column; align-items: center; padding-top: 4px; }
.l-dl-desktop { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 100%; }
.l-dl-buttons { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; max-width: 100%; }
.l-dl-buttons .x-btn--hero { max-width: 100%; height: auto; min-height: 56px; padding-top: 8px; padding-bottom: 8px; white-space: normal; }
.l-dl-buttons .x-btn-label small { text-align: left; }
.l-btn-tall { height: 56px; padding: 0 22px; border-radius: 10px; font-size: 16px; }

.l-dl-reqs {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px 12px;
	flex-wrap: wrap;
	font-size: 12px;
	color: var(--x-t5);
}
.l-sep { color: var(--x-field-border); }

.l-trust { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 7px; font-size: 12px; color: #AAAAAA; }
.l-trust .x-ms { font-size: 16px; }
.l-trust.is-signed { color: var(--x-ok); }

/* Download block (phones) */
.l-dl-phone {
	width: 100%;
	max-width: 460px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 18px;
	border-radius: 12px;
	background: var(--x-card);
	border: 1px solid var(--x-card-border);
	text-align: left;
}
.l-dl-phone-head { display: flex; align-items: center; gap: 10px; }
.l-dl-phone-head > div { display: flex; flex-direction: column; min-width: 0; }
.l-dl-phone-head strong { font-family: var(--x-display); font-size: 16px; font-weight: 700; color: var(--x-t0); }
.l-dl-phone-head span { font-size: 13px; color: #AAAAAA; }
.l-dl-phone-icon { font-size: 26px; color: var(--x-accent-text); }
.l-dl-phone-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.l-dl-phone-url {
	flex: 1 1 140px;
	min-width: 0;
	display: flex;
	align-items: center;
	height: 44px;
	padding: 0 12px;
	border-radius: 8px;
	background: var(--x-field);
	border: 1px solid var(--x-field-border);
	font-size: 12px;
	color: var(--x-t2);
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.l-dl-phone-input { flex: 1 1 160px; min-width: 0; height: 44px; }
.l-dl-phone-btn { height: 44px; padding: 0 14px; font-family: var(--x-font); }
.l-dl-phone-btn:not(.x-btn--primary) { background: var(--x-card-border); }
.l-dl-phone-btn:not(.x-btn--primary):hover { background: var(--x-field-hover); }
.l-dl-phone-meta { font-size: 11px; color: var(--x-t5); }
.l-dl-phone-trailer { height: 44px; width: 100%; font-family: var(--x-font); background: var(--x-card-border); }
.l-dl-phone-trailer:hover { background: var(--x-field-hover); }

/* Launch trailer button and dialog */
.l-trailer-length { font-size: 11px; font-weight: 400; color: var(--x-t5); }
.l-trailer {
	width: min(1100px, calc(100vw - 2 * var(--x-gutter)));
	max-width: none;
	max-height: none;
	margin: auto;
	padding: 0;
	border: 0;
	background: transparent;
	overflow: visible;
}
.l-trailer::backdrop { background: rgba(8, 8, 9, 0.86); }
.l-trailer-box {
	position: relative;
	padding: 8px;
	border-radius: 12px;
	border: 1px solid #303032;
	background: #2D2D2F;
	box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
}
/* Keeps the 16:9 player inside short landscape screens. */
.l-trailer-frame { width: min(100%, calc((100vh - 120px) * 16 / 9)); margin: 0 auto; border-radius: 6px; background: #000; }
.l-trailer-frame > iframe { width: 100%; height: 100%; border: 0; }
.l-trailer-close {
	position: absolute;
	top: -44px;
	right: 0;
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: var(--x-field);
	color: var(--x-t1);
	cursor: pointer;
}
.l-trailer-close:hover { background: var(--x-field-hover); color: var(--x-t0); }

/* Hero visual */
.l-visual { position: relative; margin-top: clamp(36px, 5vw, 60px); }
.l-visual-glow {
	position: absolute;
	inset: 8% 4% -6% 4%;
	background: radial-gradient(60% 60% at 50% 50%, rgba(202, 127, 12, 0.22), rgba(23, 23, 24, 0) 70%);
	filter: blur(28px);
	pointer-events: none;
}
.l-visual-frame {
	position: relative;
	padding: 8px;
	border-radius: 12px;
	border: 1px solid #303032;
	background: #2D2D2F;
	box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
}
.l-visual-frame > .x-frame { border-radius: 6px; }

/* RTX / in-game compare slider */
.l-compare { cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.l-compare-layer { position: absolute; inset: 0; }
.l-compare-layer > .x-media { position: absolute; inset: 0; }
.l-compare-top { clip-path: inset(0 calc(100% - var(--l-pos, 50%)) 0 0); }
.l-compare-range {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}
.l-compare-line {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--l-pos, 50%);
	width: 2px;
	margin-left: -1px;
	background: #FFFFFF;
	pointer-events: none;
}
.l-compare-knob {
	position: absolute;
	top: 50%;
	left: var(--l-pos, 50%);
	width: 38px;
	height: 38px;
	margin: -19px 0 0 -19px;
	border-radius: 50%;
	background: #FFFFFF;
	color: var(--x-on-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}
.l-compare-knob .x-ms { font-size: 20px; transform: rotate(90deg); }
.l-compare-range:focus-visible ~ .l-compare-knob { outline: 3px solid var(--x-accent-text); outline-offset: 2px; }
.l-compare-tag {
	position: absolute;
	top: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(23, 23, 24, 0.75);
	font-size: 12px;
	color: var(--x-t0);
	pointer-events: none;
}
.l-compare-tag--left { left: 12px; }
.l-compare-tag--right { right: 12px; }

/* ------------------------------------------------------------------ stats */

.l-stats-wrap { display: flex; flex-direction: column; gap: 24px; }
.l-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 12px; }
.l-stat {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 16px 18px;
	border-radius: 10px;
	background: var(--x-card);
	border: 1px solid var(--x-card-border);
}
.l-stat strong { font-family: var(--x-display); font-size: 28px; font-weight: 800; letter-spacing: -0.02em; color: var(--x-t0); }
.l-stat span { font-size: 13px; color: #AAAAAA; }

.l-built { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px clamp(12px, 2vw, 22px); }
.l-built-label { font-size: 11px; letter-spacing: 1.2px; color: #7A7A7C; }
.l-built-game { font-family: var(--x-display); font-size: clamp(14px, 1.5vw, 17px); font-weight: 600; color: var(--x-t4); }

/* ------------------------------------------------------------------ map editor */

.l-split {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	gap: clamp(28px, 4vw, 56px);
	align-items: center;
}
.l-split-text { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.l-split-text .x-h2 { font-size: clamp(28px, 3.6vw, 42px); }
.l-split-media { min-width: 0; padding: 6px; border-radius: 12px; border: 1px solid var(--x-card-border); background: var(--x-card); }
/* The whole tool window, uncropped: the clip is 1920 x 1032. */
.l-frame-tool { aspect-ratio: 1920 / 1032; }
@media (max-width: 960px) {
	.l-split { grid-template-columns: minmax(0, 1fr); }
}

.l-points { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 4px 0 0; list-style: none; }
.l-points li { display: flex; align-items: flex-start; gap: 11px; color: #AAAAAA; }
.l-points strong { font-weight: 600; color: var(--x-t0); }
.l-point-icon { margin-top: 1px; font-size: 19px; color: var(--x-accent); }

/* ------------------------------------------------------------------ exclusives and editors */

#features .x-h2 { font-size: clamp(26px, 3.4vw, 38px); }
#features .l-h2-sm { font-size: clamp(24px, 3vw, 34px); }

.l-excl { border-radius: 10px; }
.l-excl-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.l-excl-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.l-excl-title h3 { font-family: var(--x-display); font-size: 16px; font-weight: 700; color: var(--x-t0); }
.l-excl-body p { font-size: 13px; color: #AAAAAA; text-wrap: pretty; }

.l-groups { margin-top: 22px; }
.l-group {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px;
	border-radius: 10px;
	background: var(--x-card);
	border: 1px solid var(--x-card-border);
}
/* Dashboard screenshot across the top of the card, shown as a window on the Half-Life
   wallpaper with a thin border of it around. */
.l-group-media {
	margin: -16px -16px 4px;
	border-radius: 9px 9px 0 0;
	border-bottom: 1px solid var(--x-card-border);
	background: #E8641B url("window-bg.jpg") left center / cover;
}
.l-group-media.x-frame > .x-media {
	inset: 8px;
	width: calc(100% - 16px);
	height: calc(100% - 16px);
	object-fit: cover;
	object-position: left top;
	border-radius: 4px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}
.l-group-title { display: flex; align-items: center; gap: 9px; }
.l-group-title .x-ms { font-size: 19px; }
.l-group-title h3 { font-family: var(--x-display); font-size: 14px; font-weight: 700; color: var(--x-t0); }
.l-group-items { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.l-group-items li { display: flex; align-items: center; gap: 8px; }
.l-group-items li > span:first-child { flex: 1; min-width: 0; font-size: 13px; color: var(--x-t2); }

/* ------------------------------------------------------------------ proof */

.l-quote {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 18px;
	border-radius: 10px;
	background: var(--x-card);
	border: 1px solid var(--x-card-border);
}
.l-quote blockquote { margin: 0; font-size: 15px; color: var(--x-t1); text-wrap: pretty; }
.l-quote figcaption { display: flex; align-items: center; gap: 10px; }
.l-quote-avatar { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; }
.l-quote-avatar .x-media { position: absolute; inset: 0; }
.l-quote-avatar .x-avatar { width: 34px; height: 34px; }
.l-quote-who { display: flex; flex-direction: column; min-width: 0; }
.l-quote-who strong { font-size: 13px; font-weight: 600; color: var(--x-t0); }
.l-quote-who span { font-size: 12px; color: var(--x-t5); }

.l-mods-gap { margin-top: 14px; }
.l-mod { border-radius: 10px; }
.l-mod-media { border-radius: 0; }
.l-mod-body { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.l-mod-name { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; }
.l-mod-where { font-size: 11px; color: var(--x-t5); }
.l-mod-icon { font-size: 16px; color: var(--x-t5); }

/* ------------------------------------------------------------------ pricing */

#pricing .l-head .x-h2 { font-size: clamp(26px, 3.4vw, 38px); }

.l-unlocks-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding-top: 34px; }
.l-unlocks-head span { font-size: 14px; color: var(--x-t5); }
.l-unlocks { margin-top: 18px; }

.l-adv-body { display: flex; flex-direction: column; gap: 14px; padding: 16px 18px 18px; }
.l-adv-title { display: flex; flex-direction: column; gap: 4px; }
.l-adv-name { display: flex; align-items: center; gap: 8px; }
.l-adv-name .x-ms { font-size: 19px; }
.l-adv-name h4 { font-family: var(--x-display); font-size: 16px; font-weight: 700; color: var(--x-t0); }
.l-adv-headline { font-size: 15px; font-weight: 600; color: var(--x-accent-text); text-wrap: pretty; }

.l-contrast {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 12px;
	border-radius: 8px;
	background: var(--x-card-sunk);
	border: 1px solid var(--x-line);
}
.l-contrast > div { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 8px; }
.l-contrast dt { padding-top: 2px; font-family: var(--x-mono); font-size: 10px; letter-spacing: 0.6px; color: #7A7A7C; }
.l-contrast dd { margin: 0; font-size: 13px; color: var(--x-t4); text-wrap: pretty; }
.l-contrast .is-here dt { color: var(--x-accent-text); }
.l-contrast .is-here dd { color: var(--x-t1); }

.l-cycle { display: flex; justify-content: center; padding-top: 26px; }
.l-cycle-note { font-size: 11px; font-weight: 600; color: var(--x-ok); }

.l-plans { margin-top: 22px; align-items: stretch; }
.l-plans--flat { margin-top: 34px; }
.l-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
	padding: 22px 20px 20px;
	border-radius: 12px;
	background: var(--x-card);
	border: 1px solid var(--x-adv-border);
}
.l-plan.is-free { border-color: var(--x-card-border); }
.l-plan.is-popular { background: var(--x-adv-surface); border-color: var(--x-accent); }
.l-plan-tag { position: absolute; right: 16px; top: -10px; font-size: 10px; letter-spacing: 0.5px; }
.l-plan-head { display: flex; flex-direction: column; gap: 2px; }
.l-plan-name { font-family: var(--x-display); font-size: 15px; font-weight: 700; color: var(--x-t0); }
.l-plan.is-popular .l-plan-name { color: var(--x-accent-text); }
.l-plan-role { font-size: 12px; color: var(--x-t5); }
.l-plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; }
.l-plan-price strong { font-family: var(--x-display); font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--x-t0); }
.l-plan-price span { font-size: 13px; color: var(--x-t5); }
.l-plan-sub { font-size: 12px; color: var(--x-t5); }
.l-plan-sub.is-free { color: var(--x-ok); }
.l-plan-fill { flex: 1; min-height: 4px; }
.l-plan-cta { width: 100%; }
.l-plan-cta:not(.x-btn--primary) { background: var(--x-card-border); }
.l-plan-cta:not(.x-btn--primary):hover { background: var(--x-field-hover); }
.l-plan-cta.x-btn--primary:hover { filter: brightness(1.06); }
.l-plan-perks { padding-top: 2px; }

/* Compare table */
.l-compare-title { margin: clamp(40px, 5vw, 64px) 0 16px; }
.l-table-wrap {
	/* Positioned so the absolutely positioned screen-reader labels stay inside the scroll box. */
	position: relative;
	border-radius: 12px;
	border: 1px solid var(--x-card-border);
	background: #1C1C1D;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.l-table-wrap:focus-visible { outline-offset: 3px; }
.l-table {
	width: 100%;
	min-width: calc(240px + var(--l-cols, 4) * 92px);
	border-collapse: collapse;
	table-layout: fixed;
}
.l-table th, .l-table td { padding: 11px 0; border-bottom: 1px solid var(--x-field); text-align: center; vertical-align: middle; }
.l-table th:first-child { padding-left: 18px; padding-right: 16px; text-align: left; }
.l-table tr > :last-child { padding-right: 18px; }
.l-table thead th {
	width: 92px;
	padding-top: 12px;
	padding-bottom: 12px;
	background: #212123;
	border-bottom-color: var(--x-card-border);
	font-family: var(--x-display);
	font-size: 13px;
	font-weight: 600;
	color: var(--x-t0);
	overflow-wrap: anywhere;
}
.l-table thead th.l-table-feature { width: auto; font-family: var(--x-mono); font-size: 11px; font-weight: 400; letter-spacing: 1px; color: #7A7A7C; }
.l-table tbody th { font-size: 13px; font-weight: 400; color: #C1C1C3; }
.l-table tbody tr:last-child > * { border-bottom: 0; }
.l-table-group th {
	padding-top: 14px;
	padding-bottom: 8px;
	background: #1A1A1B;
	font-size: 11px !important;
	font-weight: 600 !important;
	letter-spacing: 1px;
	color: #7A7A7C !important;
}
.l-compare-cell .x-ms { font-size: 18px; vertical-align: middle; }
.l-tick { color: var(--x-ok); }
.l-dash { color: #4D4D4F; }

/* ------------------------------------------------------------------ FAQ and changelog */

.l-faq-log {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
	gap: clamp(28px, 4vw, 48px);
	align-items: start;
}
.l-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

.l-faq { display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; border: 1px solid var(--x-card-border); }
.l-faq-item { background: var(--x-card); border-top: 1px solid var(--x-field); }
.l-faq-item:first-child { border-top: 0; }
.l-faq-item summary {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	cursor: pointer;
	list-style: none;
	font-size: 15px;
	font-weight: 600;
	color: var(--x-t0);
}
.l-faq-item summary::-webkit-details-marker { display: none; }
.l-faq-item summary > span { flex: 1; min-width: 0; }
.l-faq-item summary:hover { background: rgba(255, 255, 255, 0.02); }
.l-faq-item summary:focus-visible { outline-offset: -2px; }
.l-faq-caret { font-size: 20px; color: var(--x-t5); transition: transform 0.15s ease; }
.l-faq-item[open] .l-faq-caret { transform: rotate(180deg); }
.l-faq-item p { padding: 0 16px 16px; font-size: 14px; color: var(--x-t3); text-wrap: pretty; }

.l-releases { display: flex; flex-direction: column; gap: 10px; }
.l-release {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 16px;
	border-radius: 10px;
	background: var(--x-card);
	border: 1px solid var(--x-card-border);
}
.l-release-head { display: flex; align-items: center; gap: 10px; }
.l-release-version { font-size: 13px; font-weight: 500; color: var(--x-t0); }
.l-release-version:hover { color: var(--x-link-hover); }
.l-release-date { font-size: 12px; color: var(--x-t5); }
.l-release-notes { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.l-release-notes li { font-size: 13px; color: #C1C1C3; overflow-wrap: anywhere; }
.l-release-notes li::before { content: "· "; }
.l-release-missing { font-size: 14px; color: var(--x-t3); }
.l-release-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; }
.l-release-github { display: inline-flex; align-items: center; gap: 6px; color: var(--x-t2); }
.l-release-signed { display: inline-flex; align-items: center; gap: 6px; color: var(--x-ok); }
.l-release-links .x-ms { font-size: 16px; }

/* ------------------------------------------------------------------ closing call to action */

.l-closing {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	padding: clamp(30px, 5vw, 56px);
	border-radius: 16px;
	border: 1px solid rgba(202, 127, 12, 0.30);
	background: linear-gradient(140deg, #241B0C 0%, #1D1D1E 58%);
	text-align: center;
}
.l-closing img { width: 46px; height: 46px; object-fit: contain; }
.l-closing-title {
	font-family: var(--x-display);
	font-size: clamp(25px, 3.6vw, 40px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: var(--x-t0);
	text-wrap: balance;
}
.l-closing p { max-width: 520px; font-size: 16px; color: #C1C1C3; text-wrap: pretty; }
.l-closing .x-btn { max-width: 100%; }
.l-closing-meta { font-size: 12px; color: var(--x-t5); }

@media (max-width: 420px) {
	.l-dl-buttons .x-btn { width: 100%; }
	.l-btn-tall { height: 48px; }
}

/* ------------------------------------------------------------------ download thank-you page */

.d-page {
	width: 100%;
	max-width: calc(980px + 2 * var(--x-gutter));
	margin: 0 auto;
	padding: clamp(36px, 6vw, 72px) var(--x-gutter) 64px;
	display: flex;
	flex-direction: column;
	gap: clamp(28px, 4vw, 44px);
}

.d-intro { display: flex; flex-direction: column; gap: 10px; }
.d-file { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 12px; color: var(--x-t5); }
.d-file > .x-mono { overflow-wrap: anywhere; }
.d-file-icon {
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(127, 192, 138, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--x-ok);
}
.d-file-icon .x-ms { font-size: 22px; }
.d-file-icon.is-neutral { background: var(--x-field); color: var(--x-accent-text); }
.d-title {
	font-family: var(--x-display);
	font-size: clamp(30px, 5vw, 48px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.03em;
	color: var(--x-t0);
	text-wrap: balance;
}
.d-lead { font-size: 15px; color: #AAAAAA; }

.d-smartscreen {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: clamp(18px, 3vw, 26px);
	border-radius: 12px;
	background: var(--x-card);
	border: 1px solid var(--x-warn-border);
	scroll-margin-top: 24px;
}
.d-smartscreen-text { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.d-smartscreen-title { display: flex; align-items: flex-start; gap: 9px; }
.d-smartscreen-title .x-ms { font-size: 22px; color: var(--x-warn); margin-top: 1px; }
.d-smartscreen-title h2 { font-family: var(--x-display); font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--x-t0); }
.d-smartscreen-text > p { font-size: 14px; color: var(--x-t3); text-wrap: pretty; }
.d-smartscreen-steps { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.d-smartscreen-steps li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--x-t1); }
.d-smartscreen-steps strong { font-weight: 600; color: var(--x-t0); }
.d-smartscreen-n {
	flex: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--x-warn-border);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	color: var(--x-warn);
}

.d-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.d-discord { flex-direction: row; align-items: center; gap: 14px; }
.d-discord-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.d-discord-text strong { font-family: var(--x-display); font-size: 16px; font-weight: 700; }
.d-discord-text span { font-size: 13px; color: #AAAAAA; }
.d-discord-arrow { font-size: 20px; color: var(--x-t5); }
.d-pitch { gap: 10px; }
.d-pitch strong { font-family: var(--x-display); font-size: 16px; font-weight: 700; color: var(--x-t0); }
.d-pitch p { font-size: 13px; color: #C1C1C3; text-wrap: pretty; }
.d-pitch a { font-size: 13px; font-weight: 600; }

/* ------------------------------------------------------------------ motion */

@media (prefers-reduced-motion: reduce) {
	.l-faq-caret { transition: none; }
}

/* "Have a promo code?" line under the plans. */
.l-promo-link { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 18px; font-size: 14px; color: var(--x-t4); }
.l-promo-link .x-ms { color: var(--x-accent-text); }
.d-smartscreen-note { font-size: 13px; color: var(--x-t4); text-wrap: pretty; }
