/* =====================================================================
   SiliconScope — Global AI & Semiconductor Digest
   Dark editorial theme inspired by a modern Webflow SaaS layout.
   ===================================================================== */

:root {
	--bg: #000000;
	--surface: #0b0b0b;
	--card: #121212;
	--card-2: #161616;
	--outline: #181818;
	--outline-2: #242424;
	--accent: #ff661a;
	--accent-soft: rgba(255, 102, 26, 0.14);
	--title: #ffffff;
	--content: #b9b9b9;
	--muted: #84889a;
	--green: #3ebb7f;

	--font: "Onest", "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
		"Helvetica Neue", Arial, sans-serif;

	--radius-lg: 24px;
	--radius-md: 18px;
	--radius-sm: 12px;
	--pill: 999px;

	--container: 1200px;
	--section-pad: 96px;

	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);

	color-scheme: dark;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background-color: var(--bg);
	color: var(--content);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

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

button {
	font-family: inherit;
	cursor: pointer;
	border: none;
	background: none;
	color: inherit;
}

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

a:hover {
	text-decoration: underline;
}

a.brand:hover,
a.btn:hover {
	text-decoration: none;
}

h1,
h2,
h3,
h4 {
	color: var(--title);
	margin: 0;
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

p {
	margin: 0 0 16px;
}

strong {
	color: #e9e9e9;
	font-weight: 600;
}

/* ---------- Layout ---------- */
.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.section {
	padding: var(--section-pad) 0;
	position: relative;
}

/* ---------- Background glow ---------- */
body::before {
	content: "";
	position: fixed;
	top: -220px;
	left: 50%;
	transform: translateX(-50%);
	width: 900px;
	height: 520px;
	background: radial-gradient(
		ellipse at center,
		rgba(255, 102, 26, 0.22),
		transparent 68%
	);
	filter: blur(20px);
	pointer-events: none;
	z-index: 0;
}

main,
.navbar-wrap,
.footer {
	position: relative;
	z-index: 1;
}

/* ---------- Navbar ---------- */
.navbar-wrap {
	position: fixed;
	top: 16px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	padding: 0 20px;
	z-index: 100;
}

.navbar {
	width: 100%;
	max-width: 1120px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 10px 8px 16px;
	background: rgba(6, 6, 6, 0.72);
	border: 1px solid var(--outline);
	border-radius: var(--pill);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 4px;
	color: var(--title);
}

.brand-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	color: var(--accent);
	background: var(--accent-soft);
}

.brand-mark svg {
	width: 20px;
	height: 20px;
}

.brand-name {
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--title);
	white-space: nowrap;
}

.nav-menu {
	display: flex;
	align-items: center;
	gap: 2px;
}

.nav-link {
	padding: 7px 14px;
	border-radius: var(--pill);
	color: #cacbd4;
	font-size: 14px;
	font-weight: 300;
	transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}

.nav-link:hover {
	background: var(--card);
	color: var(--title);
}

.nav-link:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.nav-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--pill);
	border: 1px solid var(--outline);
	color: var(--title);
}

.nav-toggle svg {
	width: 20px;
	height: 20px;
}

/* ---------- Language switcher ---------- */
.lang-switch {
	display: flex;
	align-items: center;
}

.lang-select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	max-width: 200px;
	padding: 8px 32px 8px 14px;
	border-radius: var(--pill);
	border: 1px solid rgba(255, 255, 255, 0.22);
	background-color: #1a1a1a;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ff8a4c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	color: #ffffff;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.lang-select:hover {
	border-color: rgba(255, 102, 26, 0.7);
	background-color: #232323;
}

.lang-select:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.lang-select option {
	background-color: #121212;
	color: #f1f1f1;
}

#google_translate_element {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

body > .skiptranslate,
.goog-te-banner-frame.skiptranslate {
	display: none !important;
}

body {
	top: 0 !important;
}

.goog-tooltip,
.goog-tooltip:hover {
	display: none !important;
}

.goog-text-highlight {
	background: none !important;
	box-shadow: none !important;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: var(--pill);
	background: var(--accent);
	color: #fff;
	font-size: 15px;
	font-weight: 400;
	box-shadow: 0 2px 16px 7px rgba(248, 102, 27, 0.16);
	transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover {
	box-shadow: inset 0 2px 8px 3px rgba(255, 255, 255, 0.2),
		0 0 15px 17px rgba(248, 102, 27, 0.11);
}

.btn:active {
	transform: translateY(1px);
}

.btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.btn-sm {
	padding: 9px 18px;
	font-size: 14px;
	box-shadow: none;
}

.btn-secondary {
	background: #24262d;
	box-shadow: none;
}

.btn-secondary:hover {
	background: #3e404c;
	box-shadow: none;
}

/* ---------- Badges ---------- */
.badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: var(--pill);
	border: 1px solid var(--outline);
	background: var(--card);
	color: #fff;
	font-size: 13px;
	font-weight: 300;
	line-height: 1;
	white-space: nowrap;
}

.badge-eyebrow {
	padding: 8px 16px;
	font-size: 13px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.badge-ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.14);
}

.dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 0 4px rgba(255, 102, 26, 0.16);
}

/* ---------- Gradient headings ---------- */
.heading-gradient {
	background-image: linear-gradient(2deg, #161616, #ffffff 34%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.heading-h2 {
	font-size: 40px;
	font-weight: 500;
	line-height: 1.1;
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 180px 0 100px;
	text-align: center;
	background-image: linear-gradient(
			180deg,
			rgba(0, 0, 0, 0.74) 0%,
			rgba(0, 0, 0, 0.52) 42%,
			rgba(0, 0, 0, 0.92) 100%
		),
		url("../img/hero.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.hero-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 900px;
	margin: 0 auto;
}

.hero h1 {
	font-size: clamp(34px, 5.4vw, 62px);
	font-weight: 500;
	line-height: 1.08;
	margin: 26px 0 0;
	max-width: 18ch;
	color: #fff;
	background-image: none;
	-webkit-text-fill-color: #fff;
	text-shadow: 0 2px 30px rgba(0, 0, 0, 0.55);
}

.hero-lead {
	max-width: 66ch;
	margin: 26px auto 0;
	font-size: 18px;
	line-height: 1.7;
	color: var(--content);
}

.hero-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 30px;
}

.meta-pill {
	padding: 7px 16px;
	border-radius: var(--pill);
	border: 1px solid var(--outline);
	background: var(--card);
	font-size: 13px;
	color: #cacbd4;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 34px;
}

/* ---------- Intro ---------- */
.section-intro {
	padding-top: 40px;
}

.intro-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 40px;
	align-items: start;
}

.intro-copy p {
	font-size: 17px;
	line-height: 1.75;
	color: var(--content);
}

.intro-copy p:first-child {
	font-size: 20px;
	color: #d7d7d7;
}

.quote-card {
	position: relative;
	background: var(--card);
	border: 1px solid var(--outline);
	border-radius: var(--radius-lg);
	padding: 32px 28px;
	overflow: hidden;
}

.quote-card::before {
	content: "";
	position: absolute;
	top: -40px;
	right: -30px;
	width: 160px;
	height: 160px;
	background: radial-gradient(
		circle at center,
		rgba(255, 102, 26, 0.28),
		transparent 70%
	);
}

.quote-mark {
	display: block;
	font-size: 64px;
	line-height: 0.6;
	color: var(--accent);
	font-weight: 600;
}

.quote-card p {
	margin: 14px 0 0;
	color: #e4e4e4;
	font-size: 19px;
	line-height: 1.5;
	font-weight: 300;
}

/* ---------- Report index ---------- */
.index-block {
	margin-top: 72px;
	padding-top: 56px;
	border-top: 1px solid var(--outline);
}

.index-head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
	margin-bottom: 30px;
}

.index-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
}

.index-chip {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	border-radius: var(--radius-md);
	border: 1px solid var(--outline);
	background: var(--card);
	color: #d7d7d7;
	font-size: 14px;
	text-align: left;
	transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease),
		transform 0.18s var(--ease);
}

.index-chip span {
	font-size: 13px;
	font-weight: 600;
	color: var(--accent);
	font-variant-numeric: tabular-nums;
}

.index-chip:hover {
	border-color: rgba(255, 102, 26, 0.42);
	background: var(--card-2);
	transform: translateY(-2px);
}

.index-chip:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.caption-note {
	margin-top: 26px;
	font-size: 13px;
	line-height: 1.7;
	color: var(--muted);
	max-width: 80ch;
}

/* ---------- Report section ---------- */
.report-section {
	padding: 72px 0;
	border-top: 1px solid var(--outline);
}

.section-intro + .report-section {
	border-top: none;
}

.report {
	display: grid;
	grid-template-columns: 0.92fr 1.08fr;
	gap: 48px;
	align-items: start;
}

.report--flip .report-media {
	order: 2;
}

.report--flip .report-body {
	order: 1;
}

.report-media {
	position: sticky;
	top: 110px;
	margin: 0;
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--outline);
	background: var(--card);
}

.report-media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.source-chip {
	position: absolute;
	left: 14px;
	bottom: 14px;
	padding: 7px 14px;
	border-radius: var(--pill);
	background: rgba(0, 0, 0, 0.62);
	border: 1px solid rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	color: #fff;
	font-size: 13px;
	letter-spacing: 0.01em;
}

.report-head {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.report-index {
	font-size: 40px;
	font-weight: 600;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px rgba(255, 102, 26, 0.75);
	font-variant-numeric: tabular-nums;
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.report-title {
	font-size: 32px;
	font-weight: 500;
	line-height: 1.18;
	margin-bottom: 18px;
}

.report-body .lead {
	font-size: 18px;
	line-height: 1.7;
	color: #d0d0d0;
	margin-bottom: 18px;
}

.report-body p {
	font-size: 16px;
	line-height: 1.75;
}

.source-line {
	margin-top: 22px;
	padding-top: 16px;
	border-top: 1px solid var(--outline);
	font-size: 13px !important;
	color: var(--muted);
}

/* ---------- Callouts ---------- */
.callout {
	margin: 26px 0;
	padding: 24px;
	border-radius: var(--radius-md);
	background: var(--card);
	border: 1px solid var(--outline);
}

.callout-title {
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.01em;
	margin-bottom: 14px;
	color: #fff;
	display: flex;
	align-items: center;
	gap: 10px;
}

.callout-title::before {
	content: "";
	width: 22px;
	height: 4px;
	border-radius: var(--pill);
	background: var(--accent);
}

.callout p {
	margin: 0;
	font-size: 15.5px;
}

.callout-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 26px 0;
}

.mini-card {
	padding: 22px;
	border-radius: var(--radius-md);
	background: var(--card-2);
	border: 1px solid var(--outline);
}

.mini-card .callout-title {
	margin-bottom: 10px;
	font-size: 15px;
}

.mini-card p {
	margin: 0;
	font-size: 15px;
}

/* ---------- Lists ---------- */
.list-check,
.list-num {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.list-check li,
.list-num li {
	position: relative;
	padding-left: 30px;
	font-size: 15.5px;
	line-height: 1.6;
}

.list-check li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 14px;
	height: 8px;
	border-left: 2px solid var(--accent);
	border-bottom: 2px solid var(--accent);
	transform: rotate(-45deg);
	transform-origin: center;
}

.list-num {
	counter-reset: item;
}

.list-num li {
	counter-increment: item;
}

.list-num li::before {
	content: counter(item);
	position: absolute;
	left: 0;
	top: 1px;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	background: var(--accent-soft);
	color: var(--accent);
	font-size: 12px;
	font-weight: 600;
}

/* ---------- Stat grid ---------- */
.stat-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	margin: 26px 0;
}

.stat-card {
	padding: 22px;
	border-radius: var(--radius-md);
	background: var(--card);
	border: 1px solid var(--outline);
}

.stat-value {
	display: block;
	font-size: 34px;
	font-weight: 600;
	line-height: 1.1;
	color: var(--accent);
	font-variant-numeric: tabular-nums;
}

.stat-label {
	display: block;
	margin-top: 8px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--content);
}

/* ---------- Table ---------- */
.table-wrap {
	margin: 26px 0;
	border: 1px solid var(--outline);
	border-radius: var(--radius-md);
	overflow: hidden;
	background: var(--card);
}

.table-caption {
	text-align: left;
	padding: 18px 22px 4px;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
}

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

.data-table th,
.data-table td {
	text-align: left;
	padding: 14px 22px;
	font-size: 15px;
	border-top: 1px solid var(--outline);
}

.data-table thead th {
	color: var(--muted);
	font-weight: 500;
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: rgba(255, 255, 255, 0.02);
}

.data-table tbody th {
	color: #fff;
	font-weight: 500;
	white-space: nowrap;
}

.data-table tbody td {
	color: var(--content);
}

.data-table tbody tr:hover th,
.data-table tbody tr:hover td {
	background: rgba(255, 102, 26, 0.05);
}

/* ---------- Job cards ---------- */
.job-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 26px 0;
}

.job-card {
	position: relative;
	padding: 24px;
	border-radius: var(--radius-md);
	background: var(--card);
	border: 1px solid var(--outline);
	transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.job-card:hover {
	border-color: rgba(255, 102, 26, 0.4);
	transform: translateY(-2px);
}

.job-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--accent-soft);
	color: var(--accent);
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 14px;
}

.job-card h3 {
	font-size: 17px;
	font-weight: 600;
	margin-bottom: 10px;
}

.job-card p {
	margin: 0 0 12px;
	font-size: 15px;
}

.job-fit {
	font-size: 14px !important;
	color: var(--muted);
}

.job-fit span {
	color: var(--accent);
	font-weight: 500;
}

/* ---------- Risk cards ---------- */
.risk-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin: 26px 0;
}

.risk-card {
	padding: 24px;
	border-radius: var(--radius-md);
	background: var(--card);
	border: 1px solid var(--outline);
}

.risk-card:first-child {
	grid-column: 1 / -1;
}

.risk-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1px solid rgba(255, 102, 26, 0.5);
	color: var(--accent);
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 14px;
}

.risk-card h3 {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 8px;
}

.risk-card p {
	margin: 0;
	font-size: 15px;
}

/* ---------- Everyday applications ---------- */
.app-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 26px 0;
}

.app-card {
	padding: 24px;
	border-radius: var(--radius-md);
	background: var(--card);
	border: 1px solid var(--outline);
	transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.app-card:hover {
	border-color: rgba(255, 102, 26, 0.4);
	transform: translateY(-2px);
}

.app-card-wide {
	grid-column: 1 / -1;
}

.app-num {
	display: inline-block;
	padding: 4px 12px;
	border-radius: var(--pill);
	background: var(--accent-soft);
	color: var(--accent);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 14px;
}

.app-card h3 {
	font-size: 17px;
	font-weight: 600;
	margin-bottom: 10px;
}

.app-card p {
	font-size: 15px;
	margin: 0 0 10px;
}

.app-card p:last-child {
	margin-bottom: 0;
}

.app-card .app-source {
	font-size: 13px;
	color: var(--muted);
	margin-top: 4px;
	padding-top: 10px;
	border-top: 1px solid var(--outline);
}

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

.direction-list li {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border-radius: var(--pill);
	border: 1px solid var(--outline);
	background: var(--card-2);
	color: #d7d7d7;
	font-size: 14px;
}

.direction-list li::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent);
	margin-right: 9px;
}

.closing-line {
	margin: 26px 0 0;
	padding: 24px;
	border-radius: var(--radius-md);
	border: 1px solid var(--outline);
	border-left: 3px solid var(--accent);
	background: var(--card);
	color: #e4e4e4;
	font-size: 17px;
	line-height: 1.7;
	font-weight: 300;
}

.section-lead {
	max-width: 78ch;
	margin: 0 0 26px;
	font-size: 17px;
	line-height: 1.75;
	color: var(--content);
}

/* ---------- CTA ---------- */
.cta-section {
	padding: 40px 0 100px;
}

.cta-card {
	position: relative;
	overflow: hidden;
	text-align: center;
	padding: 90px 40px;
	border-radius: 42px;
	border: 1px solid var(--outline);
	background: var(--card);
	display: flex;
	flex-direction: column;
	align-items: center;
}

.cta-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(
			ellipse 60% 90% at 50% 0%,
			rgba(255, 102, 26, 0.22),
			transparent 70%
		),
		radial-gradient(ellipse 40% 60% at 80% 100%, rgba(255, 102, 26, 0.12), transparent 70%);
	pointer-events: none;
}

.cta-card > * {
	position: relative;
	z-index: 1;
}

.cta-card .heading-h2 {
	margin: 22px 0 0;
	max-width: 18ch;
	font-size: clamp(28px, 4vw, 44px);
}

.cta-lead {
	max-width: 56ch;
	margin: 20px auto 0;
	font-size: 17px;
	color: var(--content);
}

.cta-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 30px;
}

/* ---------- Subscribe form ---------- */
.subscribe-form {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px;
	width: 100%;
	max-width: 520px;
	margin-top: 30px;
}

.subscribe-input {
	flex: 1 1 240px;
	min-width: 0;
	padding: 12px 18px;
	border-radius: var(--pill);
	border: 1px solid var(--outline);
	background: var(--card-2);
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	transition: border-color 0.18s var(--ease);
}

.subscribe-input::placeholder {
	color: var(--muted);
}

.subscribe-input:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.subscribe-form.is-invalid .subscribe-input {
	border-color: #e5533d;
}

.subscribe-msg {
	width: 100%;
	margin: 6px 0 0;
	min-height: 20px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--muted);
}

.subscribe-msg.is-success {
	color: var(--green);
}

.subscribe-msg.is-error {
	color: #e5533d;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Footer ---------- */
.footer {
	border-top: 1px solid var(--outline);
	padding: 56px 0 40px;
	background: var(--surface);
}

.footer-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 30px;
	flex-wrap: wrap;
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.footer-tag {
	width: 100%;
	margin: 4px 0 0;
	font-size: 14px;
	color: var(--muted);
}

.footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.footer-note {
	margin: 34px 0 0;
	padding-top: 24px;
	border-top: 1px solid var(--outline);
	font-size: 13px;
	line-height: 1.7;
	color: var(--muted);
	max-width: 90ch;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 24px;
	font-size: 13px;
	color: var(--muted);
}

/* ---------- Content pages (legal / about / contact) ---------- */
.page-hero {
	padding: 168px 0 44px;
}

.back-home {
	display: flex;
	width: fit-content;
	margin-bottom: 22px;
}

.page-hero .heading-gradient {
	font-size: clamp(30px, 4.6vw, 52px);
	margin-top: 20px;
	max-width: 22ch;
}

.page-lead {
	max-width: 72ch;
	margin-top: 20px;
	font-size: 18px;
	line-height: 1.7;
	color: var(--content);
}

.page-meta {
	margin-top: 16px;
	font-size: 14px;
	color: var(--muted);
}

.prose {
	max-width: 860px;
}

.page-body {
	padding-top: 8px;
}

.prose > h2 {
	font-size: 28px;
	margin: 48px 0 16px;
}

.prose > h3 {
	font-size: 20px;
	margin: 30px 0 12px;
}

.prose > h2:first-child,
.prose > h3:first-child {
	margin-top: 0;
}

.prose p {
	font-size: 16px;
	line-height: 1.8;
	margin: 0 0 16px;
	color: var(--content);
}

.prose ul,
.prose ol {
	margin: 0 0 18px;
	padding-left: 22px;
}

.prose li {
	margin: 0 0 10px;
	font-size: 16px;
	line-height: 1.7;
	color: var(--content);
}

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

.prose a:hover {
	text-decoration: underline;
}

.prose hr {
	border: none;
	border-top: 1px solid var(--outline);
	margin: 40px 0;
}

.prose blockquote {
	margin: 26px 0;
	padding: 18px 24px;
	border-left: 3px solid var(--accent);
	background: var(--card);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	color: #e4e4e4;
}

.prose blockquote p {
	margin: 0;
}

.page-toc {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 30px 0 10px;
}

.page-toc a {
	padding: 7px 15px;
	border-radius: var(--pill);
	border: 1px solid var(--outline);
	background: var(--card);
	color: #d7d7d7;
	font-size: 14px;
}

.page-toc a:hover {
	border-color: rgba(255, 102, 26, 0.42);
	color: #fff;
	text-decoration: none;
}

.info-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 26px 0;
}

.info-card {
	padding: 24px;
	border-radius: var(--radius-md);
	background: var(--card);
	border: 1px solid var(--outline);
}

.info-card h3 {
	font-size: 17px;
	font-weight: 600;
	margin-bottom: 8px;
}

.info-card p {
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
}

.info-card a {
	color: var(--accent);
}

/* ---------- Forms ---------- */
.form-grid {
	display: grid;
	gap: 16px;
	max-width: 640px;
	margin: 8px 0 0;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.field label {
	font-size: 14px;
	color: #d7d7d7;
}

.field input,
.field textarea {
	padding: 12px 16px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--outline);
	background: var(--card-2);
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	transition: border-color 0.18s var(--ease);
}

.field textarea {
	min-height: 150px;
	resize: vertical;
}

.field input:focus-visible,
.field textarea:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.form-msg {
	margin: 0;
	min-height: 20px;
	font-size: 14px;
	color: var(--muted);
}

.form-msg.is-success {
	color: var(--green);
}

.form-msg.is-error {
	color: #e5533d;
}

/* ---------- Footer link buttons ---------- */
.footer-links-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 30px;
}

.footer-links-row a {
	padding: 9px 18px;
	border-radius: var(--pill);
	border: 1px solid var(--outline);
	background: var(--card);
	color: #d7d7d7;
	font-size: 14px;
	transition: border-color 0.18s var(--ease), color 0.18s var(--ease),
		background-color 0.18s var(--ease);
}

.footer-links-row a:hover {
	border-color: rgba(255, 102, 26, 0.42);
	color: #fff;
	text-decoration: none;
}

.footer-links-row a:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

/* ---------- Reveal animation ---------- */
.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
	will-change: opacity, transform;
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

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

	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.btn,
	.index-chip,
	.job-card {
		transition: none;
	}
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	:root {
		--section-pad: 64px;
	}

	.nav-menu {
		display: none;
		position: absolute;
		top: calc(100% + 10px);
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
		padding: 12px;
		background: rgba(8, 8, 8, 0.96);
		border: 1px solid var(--outline);
		border-radius: var(--radius-lg);
		backdrop-filter: blur(14px);
	}

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

	.navbar {
		position: relative;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.navbar-wrap {
		padding: 0 16px;
	}

	.hero {
		padding: 170px 0 60px;
	}

	.intro-grid {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.index-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.report {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.report--flip .report-media,
	.report--flip .report-body {
		order: 0;
	}

	.report-media {
		position: static;
	}

	.report-media img {
		aspect-ratio: 16 / 10;
	}

	.report-title {
		font-size: 27px;
	}

	.index-head .heading-h2,
	.heading-h2 {
		font-size: 30px;
	}

	.cta-card {
		padding: 64px 28px;
		border-radius: 32px;
	}
}

@media (max-width: 600px) {
	.hero {
		padding: 150px 0 48px;
	}

	.lang-select {
		max-width: 132px;
		font-size: 12px;
		padding: 7px 28px 7px 12px;
	}

	.navbar {
		padding: 6px 8px 6px 12px;
	}

	.hero h1 {
		max-width: none;
	}

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

	.callout-grid,
	.stat-grid,
	.job-grid,
	.risk-grid,
	.app-grid,
	.info-grid {
		grid-template-columns: 1fr;
	}

	.risk-card:first-child {
		grid-column: auto;
	}

	.app-card-wide {
		grid-column: auto;
	}

	.report-index {
		font-size: 32px;
	}

	.data-table th,
	.data-table td {
		padding: 12px 14px;
		font-size: 14px;
	}

	.footer-top {
		flex-direction: column;
	}

	.btn {
		padding: 11px 20px;
	}
}
