:root {
	--navy: #08131f;
	--ink: #111927;
	--muted: #667385;
	--line: #dfe6ee;
	--soft-line: #edf2f6;
	--ice: #f6f9fc;
	--white: #ffffff;
	--blue: #1264ff;
	--cyan: #00a8b8;
	--mint: #46c7a2;
	--amber: #f4aa25;
	--signal: #e9ff5f;
	--max: 1220px;
	--radius: 8px;
	--shadow: 0 22px 70px rgba(8, 19, 31, 0.1);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--white);
	color: var(--ink);
	font-family: Inter, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.62;
	margin: 0;
	text-rendering: optimizeLegibility;
}

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

a:hover {
	color: var(--blue);
}

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

button,
input,
textarea,
select {
	font: inherit;
}

.wrap {
	margin: 0 auto;
	max-width: var(--max);
	padding: 0 28px;
	width: 100%;
}

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

.screen-reader-text:focus {
	background: var(--white);
	clip: auto;
	clip-path: none;
	color: var(--navy);
	display: block;
	height: auto;
	left: 16px;
	padding: 10px 14px;
	top: 16px;
	width: auto;
	z-index: 100000;
}

.site-header {
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid rgba(223, 230, 238, 0.88);
	position: sticky;
	top: 0;
	z-index: 50;
}

.topline {
	background: var(--navy);
	color: rgba(255, 255, 255, 0.78);
	font-family: "IBM Plex Mono", monospace;
	font-size: 11px;
}

.topline-inner,
.brandbar,
.nav-inner {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.topline-inner {
	min-height: 30px;
}

.utility-menu,
.primary-menu {
	display: flex;
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.utility-menu a {
	color: rgba(255, 255, 255, 0.82);
}

.brandbar {
	gap: 28px;
	min-height: 82px;
}

.brand-mark {
	align-items: center;
	color: var(--navy);
	display: inline-flex;
	gap: 12px;
}

.brand-symbol {
	align-items: center;
	background: var(--navy);
	border-radius: 8px;
	box-shadow: inset 0 -4px 0 var(--cyan);
	color: var(--white);
	display: inline-flex;
	font-weight: 900;
	height: 42px;
	justify-content: center;
	width: 42px;
}

.brand-mark strong {
	display: block;
	font-size: 27px;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1;
}

.brand-mark em {
	color: var(--muted);
	display: block;
	font-style: normal;
	font-weight: 700;
	margin-top: 3px;
}

.header-search,
.search-form,
.newsletter-form {
	display: flex;
	gap: 8px;
}

.header-search {
	background: var(--ice);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 4px;
}

.header-search input,
.search-form input,
.newsletter-form input {
	background: transparent;
	border: 0;
	color: var(--ink);
	min-height: 38px;
	outline: none;
	padding: 0 13px;
	width: 300px;
}

.search-form input,
.newsletter-form input {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.header-search button,
.search-form button,
.newsletter-form button {
	background: var(--navy);
	border: 0;
	border-radius: 999px;
	color: var(--white);
	cursor: pointer;
	font-weight: 800;
	min-height: 38px;
	padding: 0 16px;
}

.search-form button,
.newsletter-form button {
	border-radius: var(--radius);
}

.primary-nav {
	border-top: 1px solid var(--soft-line);
}

.nav-inner {
	min-height: 48px;
}

.primary-menu {
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.primary-menu a {
	color: var(--navy);
	position: relative;
}

.primary-menu a::after {
	background: var(--cyan);
	bottom: -15px;
	content: "";
	height: 2px;
	left: 0;
	position: absolute;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 160ms ease;
	width: 100%;
}

.primary-menu a:hover::after {
	transform: scaleX(1);
}

.menu-toggle {
	background: var(--navy);
	border: 0;
	border-radius: var(--radius);
	color: var(--white);
	display: none;
	font-weight: 800;
	min-height: 38px;
	padding: 0 14px;
}

.home-hero {
	background:
		linear-gradient(180deg, rgba(246, 249, 252, 0.85), rgba(255, 255, 255, 1) 68%),
		repeating-linear-gradient(90deg, rgba(18, 100, 255, 0.06) 0, rgba(18, 100, 255, 0.06) 1px, transparent 1px, transparent 88px);
	border-bottom: 1px solid var(--soft-line);
	padding: 34px 0 30px;
}

.home-intro {
	align-items: end;
	display: grid;
	gap: 28px;
	grid-template-columns: minmax(0, 1fr) 310px;
	margin-bottom: 28px;
}

.home-intro h1 {
	color: var(--navy);
	font-size: clamp(40px, 5.8vw, 74px);
	font-weight: 900;
	letter-spacing: 0;
	line-height: 0.96;
	margin: 9px 0 0;
	max-width: 970px;
}

.intro-brief {
	background: var(--navy);
	border-radius: var(--radius);
	color: var(--white);
	padding: 18px;
}

.intro-brief span {
	color: var(--signal);
	display: block;
	font-family: "IBM Plex Mono", monospace;
	font-size: 11px;
	font-weight: 700;
	margin-bottom: 7px;
	text-transform: uppercase;
}

.intro-brief strong {
	display: block;
	font-size: 18px;
	line-height: 1.22;
}

.hero-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: minmax(0, 1.72fr) minmax(300px, 0.8fr);
}

.lead-story {
	background: var(--navy);
	border-radius: var(--radius);
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
	min-height: 470px;
	overflow: hidden;
	position: relative;
}

.lead-story::before {
	background: linear-gradient(135deg, rgba(0, 168, 184, 0.2), transparent 38%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

.lead-media {
	background: #111f30;
	display: block;
	min-height: 100%;
	position: relative;
}

.lead-media img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.lead-copy {
	align-self: end;
	color: var(--white);
	padding: 34px;
	position: relative;
	z-index: 2;
}

.lead-copy h1 {
	font-size: clamp(36px, 4.2vw, 58px);
	font-weight: 900;
	letter-spacing: 0;
	line-height: 0.96;
	margin: 13px 0 16px;
}

.lead-copy h1 a,
.lead-copy a {
	color: inherit;
}

.lead-copy p {
	color: rgba(255, 255, 255, 0.78);
	font-size: 18px;
	margin: 0 0 18px;
}

.hero-side {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	color: var(--ink);
	padding: 20px;
}

.section-kicker,
.eyebrow {
	color: var(--blue);
	font-family: "IBM Plex Mono", monospace;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.eyebrow {
	background: rgba(18, 100, 255, 0.08);
	border: 1px solid rgba(18, 100, 255, 0.12);
	border-radius: 999px;
	display: inline-flex;
	padding: 4px 9px;
}

.lead-copy .eyebrow {
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.18);
	color: var(--signal);
}

.compact-story {
	border-top: 1px solid var(--soft-line);
	padding: 17px 0;
}

.compact-story:first-of-type {
	border-top: 0;
}

.compact-story h2 {
	font-size: 21px;
	font-weight: 900;
	line-height: 1.1;
	margin: 10px 0;
}

.topic-strip {
	background: var(--navy);
	color: var(--white);
}

.topic-strip-inner {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	min-height: 58px;
}

.topic-strip span {
	color: rgba(255, 255, 255, 0.62);
	font-family: "IBM Plex Mono", monospace;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}

.topic-strip a {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	color: var(--white);
	font-size: 13px;
	font-weight: 800;
	padding: 7px 11px;
}

.topic-strip a:hover {
	background: var(--signal);
	border-color: var(--signal);
	color: var(--navy);
}

.layout-with-sidebar,
.article-layout {
	align-items: start;
	display: grid;
	gap: 34px;
	grid-template-columns: minmax(0, 1fr) 330px;
	padding-bottom: 62px;
	padding-top: 44px;
}

.content-column {
	min-width: 0;
}

.section-heading {
	align-items: end;
	display: flex;
	gap: 20px;
	justify-content: space-between;
	margin-bottom: 24px;
}

.section-heading h2,
.archive-header h1 {
	color: var(--navy);
	font-size: 34px;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1;
	margin: 0;
}

.section-heading p,
.archive-header p {
	color: var(--muted);
	margin: 0;
}

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

.post-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: box-shadow 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.post-card:hover {
	border-color: rgba(18, 100, 255, 0.28);
	box-shadow: var(--shadow);
	transform: translateY(-3px);
}

.post-media {
	aspect-ratio: 16 / 10;
	background: var(--ice);
	display: block;
	overflow: hidden;
	position: relative;
}

.post-media img {
	height: 100%;
	object-fit: cover;
	transition: transform 220ms ease;
	width: 100%;
}

.post-card:hover .post-media img {
	transform: scale(1.035);
}

.post-card-body {
	padding: 17px;
}

.post-card-title {
	font-size: 24px;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.08;
	margin: 11px 0 9px;
}

.post-card p {
	color: var(--muted);
	margin: 0 0 14px;
}

.post-meta {
	color: var(--muted);
	display: flex;
	flex-wrap: wrap;
	font-family: "IBM Plex Mono", monospace;
	font-size: 11px;
	gap: 10px;
}

.lead-copy .post-meta {
	color: rgba(255, 255, 255, 0.72);
}

.site-sidebar {
	display: grid;
	gap: 18px;
}

.editorial-panel,
.sponsor-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 14px 45px rgba(8, 19, 31, 0.06);
	padding: 18px;
}

.editorial-panel h2,
.widget-title {
	color: var(--navy);
	font-size: 18px;
	font-weight: 900;
	line-height: 1.08;
	margin: 0 0 14px;
}

.market-index {
	background:
		linear-gradient(135deg, rgba(0, 168, 184, 0.18), transparent 42%),
		var(--navy);
	border-color: rgba(255, 255, 255, 0.08);
	color: var(--white);
}

.market-index h2 {
	color: var(--white);
}

.index-list {
	display: grid;
	gap: 9px;
}

.index-row {
	align-items: center;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 7px;
	display: flex;
	justify-content: space-between;
	padding: 10px 11px;
}

.index-row strong {
	font-family: "IBM Plex Mono", monospace;
	font-size: 11px;
	text-transform: uppercase;
}

.tone-up {
	color: var(--mint);
}

.tone-flat {
	color: #b8c3cf;
}

.tone-warn {
	color: var(--amber);
}

.newsletter-panel p {
	color: var(--muted);
	margin-top: 0;
}

.newsletter-form {
	display: grid;
	grid-template-columns: 1fr auto;
}

.newsletter-form input {
	min-width: 0;
	width: 100%;
}

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

.plain-list li {
	border-top: 1px solid var(--soft-line);
	padding: 11px 0;
}

.plain-list li:first-child {
	border-top: 0;
	padding-top: 0;
}

.archive-layout {
	padding-top: 46px;
}

.archive-header {
	background: var(--ice);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	margin-bottom: 24px;
	padding: 24px;
}

.article-header {
	background:
		linear-gradient(180deg, var(--ice), var(--white));
	border-bottom: 1px solid var(--soft-line);
	max-width: none;
	padding-bottom: 34px;
	padding-top: 52px;
}

.article-header h1 {
	color: var(--navy);
	font-size: clamp(42px, 6.2vw, 78px);
	font-weight: 900;
	letter-spacing: 0;
	line-height: 0.94;
	margin: 14px 0 18px;
	max-width: 1040px;
}

.article-standfirst {
	color: var(--muted);
	font-size: 22px;
	line-height: 1.46;
	max-width: 830px;
}

.article-featured {
	margin-top: 30px;
}

.article-featured img {
	aspect-ratio: 16 / 7.6;
	border-radius: var(--radius);
	object-fit: cover;
	width: 100%;
}

.article-layout {
	grid-template-columns: minmax(0, 760px) 330px;
	justify-content: space-between;
	padding-top: 36px;
}

.article-content {
	color: #202b38;
	font-size: 18px;
	line-height: 1.78;
	min-width: 0;
}

.article-content > *:first-child {
	margin-top: 0;
}

.article-content h2,
.article-content h3,
.article-content h4 {
	color: var(--navy);
	font-weight: 900;
	line-height: 1.12;
	margin: 1.75em 0 0.6em;
}

.article-content h2 {
	font-size: 34px;
}

.article-content h3 {
	font-size: 25px;
}

.article-content a {
	color: var(--blue);
	font-weight: 800;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.article-content blockquote {
	background: var(--ice);
	border: 1px solid var(--line);
	border-left: 4px solid var(--cyan);
	border-radius: var(--radius);
	margin: 30px 0;
	padding: 18px 22px;
}

.article-content table {
	border-collapse: collapse;
	font-size: 15px;
	width: 100%;
}

.article-content th,
.article-content td {
	border: 1px solid var(--line);
	padding: 10px 12px;
	text-align: left;
}

.article-content th {
	background: var(--ice);
	color: var(--navy);
}

.editorial-note {
	align-items: start;
	background:
		linear-gradient(90deg, rgba(0, 168, 184, 0.14), transparent),
		var(--ice);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	display: grid;
	gap: 3px;
	margin-bottom: 28px;
	padding: 16px 18px;
}

.editorial-note strong {
	color: var(--navy);
	font-family: "IBM Plex Mono", monospace;
	font-size: 11px;
	text-transform: uppercase;
}

.editorial-note span {
	color: var(--muted);
	font-size: 15px;
}

.page-wrap,
.not-found {
	padding-bottom: 64px;
	padding-top: 46px;
}

.fallback-image {
	align-items: center;
	background:
		linear-gradient(135deg, rgba(18, 100, 255, 0.2), transparent 42%),
		linear-gradient(160deg, #f7fbff, #dbe8f3);
	color: var(--navy);
	display: flex;
	height: 100%;
	justify-content: center;
	min-height: 220px;
	position: relative;
	width: 100%;
}

.fallback-image::before,
.fallback-image::after {
	background: rgba(8, 19, 31, 0.12);
	content: "";
	height: 1px;
	left: 16%;
	position: absolute;
	right: 16%;
}

.fallback-image::before {
	top: 38%;
}

.fallback-image::after {
	top: 58%;
}

.fallback-image span {
	border: 2px solid rgba(18, 100, 255, 0.22);
	border-radius: 8px;
	height: 46%;
	position: absolute;
	width: 62%;
}

.fallback-image strong {
	font-size: 24px;
	font-weight: 900;
	position: relative;
}

.site-footer {
	background: var(--navy);
	color: rgba(255, 255, 255, 0.76);
	margin-top: 24px;
}

.footer-grid {
	align-items: start;
	display: grid;
	gap: 28px;
	grid-template-columns: 1.2fr 1fr;
	padding-bottom: 36px;
	padding-top: 36px;
}

.footer-grid strong,
.footer-grid span {
	color: var(--white);
	display: block;
	font-size: 20px;
	font-weight: 900;
	margin-bottom: 8px;
}

.footer-grid p {
	margin: 0;
	max-width: 580px;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-family: "IBM Plex Mono", monospace;
	font-size: 11px;
	padding: 14px 0;
}

.pagination,
.nav-links {
	align-items: center;
	display: flex;
	gap: 8px;
	margin-top: 28px;
}

.page-numbers {
	border: 1px solid var(--line);
	border-radius: 7px;
	color: var(--navy);
	display: inline-flex;
	font-weight: 900;
	justify-content: center;
	min-width: 34px;
	padding: 6px 10px;
}

.page-numbers.current {
	background: var(--navy);
	border-color: var(--navy);
	color: var(--white);
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget li {
	border-top: 1px solid var(--soft-line);
	padding: 10px 0;
}

.widget li:first-child {
	border-top: 0;
	padding-top: 0;
}

@media (max-width: 1020px) {
	.site-header {
		position: static;
	}

	.brandbar {
		align-items: stretch;
		flex-direction: column;
		gap: 16px;
		padding-bottom: 18px;
		padding-top: 18px;
	}

	.header-search {
		width: 100%;
	}

	.header-search input {
		width: 100%;
	}

	.home-intro,
	.hero-grid,
	.lead-story,
	.layout-with-sidebar,
	.article-layout {
		grid-template-columns: 1fr;
	}

	.lead-story {
		min-height: 0;
	}

	.lead-media {
		aspect-ratio: 16 / 9;
	}

	.article-layout {
		max-width: 840px;
	}

	.site-sidebar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.wrap {
		padding: 0 18px;
	}

	.topline-inner {
		justify-content: center;
	}

	.utility-menu {
		display: none;
	}

	.brand-mark strong {
		font-size: 24px;
	}

	.header-search,
	.search-form {
		border-radius: var(--radius);
		display: grid;
		grid-template-columns: 1fr;
		padding: 0;
	}

	.header-search input {
		background: var(--ice);
		border: 1px solid var(--line);
		border-radius: var(--radius);
	}

	.header-search button,
	.search-form button {
		border-radius: var(--radius);
		width: 100%;
	}

	.nav-inner {
		align-items: stretch;
		flex-direction: column;
		padding-bottom: 8px;
		padding-top: 8px;
	}

	.menu-toggle {
		align-items: center;
		display: inline-flex;
		justify-content: center;
		width: 92px;
	}

	.primary-menu {
		display: none;
		flex-direction: column;
		gap: 0;
		padding-top: 10px;
	}

	.primary-menu.is-open {
		display: flex;
	}

	.primary-menu li {
		border-top: 1px solid var(--line);
		padding: 12px 0;
	}

	.primary-menu a::after {
		display: none;
	}

	.home-hero {
		padding: 24px 0;
	}

	.home-intro h1 {
		font-size: 38px;
	}

	.lead-copy {
		padding: 22px;
	}

	.lead-copy h1 {
		font-size: 34px;
	}

	.post-grid,
	.site-sidebar,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.section-heading {
		align-items: start;
		flex-direction: column;
		gap: 8px;
	}

	.article-header h1 {
		font-size: 40px;
	}

	.article-standfirst {
		font-size: 18px;
	}

	.article-content {
		font-size: 17px;
	}
}

