/*
Theme Name: Techsoma Corporate
Theme URI: https://techsoma.net/
Author: Techsoma
Description: Lightweight corporate network theme for Techsoma.
Version: 1.0.0
Text Domain: techsoma-corporate
*/

:root {
	--ink: #101b2e;
	--ink-soft: #506078;
	--paper: #ffffff;
	--paper-soft: #f4f7fb;
	--line: #dce4ef;
	--brand: #0668e1;
	--brand-dark: #054ca5;
	--accent: #0aa67a;
	--navy: #071325;
	--radius: 18px;
	--shadow: 0 16px 42px rgba(16, 27, 46, 0.09);
	--content: 1160px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--brand);
	text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
	color: var(--brand-dark);
}

img {
	height: auto;
	max-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 !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background: var(--paper);
	clip: auto !important;
	clip-path: none;
	color: var(--ink);
	display: block;
	font-weight: 700;
	height: auto;
	left: 12px;
	padding: 10px 16px;
	top: 12px;
	width: auto;
	z-index: 100000;
}

.site-shell {
	margin-inline: auto;
	max-width: var(--content);
	padding-inline: 24px;
}

.site-header {
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--line);
	position: sticky;
	top: 0;
	z-index: 50;
}

.site-header__inner {
	align-items: center;
	display: flex;
	gap: 30px;
	justify-content: space-between;
	min-height: 78px;
}

.site-branding {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
}

.custom-logo-link {
	display: inline-flex;
}

.custom-logo {
	display: block;
	height: auto;
	max-height: 42px;
	width: 150px;
}

.site-title {
	color: var(--navy);
	font-size: 1.42rem;
	font-weight: 800;
	letter-spacing: -0.04em;
	text-decoration: none;
}

.menu-toggle {
	background: var(--navy);
	border: 0;
	border-radius: 10px;
	color: #fff;
	display: none;
	font: inherit;
	font-weight: 700;
	padding: 9px 14px;
}

.primary-menu {
	align-items: center;
	display: flex;
	gap: 27px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-menu a {
	color: var(--ink);
	font-size: 0.94rem;
	font-weight: 650;
	text-decoration: none;
}

.primary-menu a:hover,
.primary-menu a:focus-visible,
.primary-menu .current-menu-item > a {
	color: var(--brand);
}

.hero {
	background:
		radial-gradient(circle at 88% 8%, rgba(10, 166, 122, 0.2), transparent 28%),
		radial-gradient(circle at 5% 80%, rgba(6, 104, 225, 0.19), transparent 35%),
		var(--navy);
	color: #fff;
	overflow: hidden;
	padding: clamp(76px, 11vw, 142px) 0;
	position: relative;
}

.hero__content {
	max-width: 820px;
}

.eyebrow {
	color: #64dbb8;
	display: block;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	margin-bottom: 16px;
	text-transform: uppercase;
}

.hero h1 {
	color: #fff;
	font-size: clamp(2.7rem, 7vw, 5.5rem);
	letter-spacing: -0.055em;
	line-height: 0.99;
	margin: 0 0 25px;
	max-width: 900px;
}

.hero p {
	color: #cbd7e8;
	font-size: clamp(1.08rem, 2.1vw, 1.36rem);
	line-height: 1.58;
	margin: 0 0 33px;
	max-width: 690px;
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.button {
	align-items: center;
	background: var(--brand);
	border: 1px solid var(--brand);
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 0.94rem;
	font-weight: 750;
	justify-content: center;
	padding: 12px 22px;
	text-decoration: none;
}

.button:hover,
.button:focus-visible {
	background: #2384f4;
	border-color: #2384f4;
	color: #fff;
}

.button--secondary {
	background: transparent;
	border-color: #52627b;
}

.section {
	padding: clamp(64px, 8vw, 108px) 0;
}

.section--soft {
	background: var(--paper-soft);
}

.section__intro {
	max-width: 720px;
}

.section h2,
.page-content h1 {
	font-size: clamp(2rem, 4vw, 3.2rem);
	letter-spacing: -0.045em;
	line-height: 1.08;
	margin: 0 0 18px;
}

.section__intro > p {
	color: var(--ink-soft);
	font-size: 1.08rem;
	margin: 0;
}

.network-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 42px;
}

.network-card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	color: var(--ink);
	display: flex;
	flex-direction: column;
	min-height: 320px;
	padding: 30px;
	text-decoration: none;
	transition: border-color 160ms ease, transform 160ms ease;
}

.network-card:hover,
.network-card:focus-visible {
	border-color: var(--brand);
	color: var(--ink);
	transform: translateY(-4px);
}

.network-card__region {
	color: var(--accent);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.network-card h3 {
	font-size: 1.62rem;
	letter-spacing: -0.035em;
	line-height: 1.2;
	margin: 14px 0 12px;
}

.network-card p {
	color: var(--ink-soft);
	margin: 0;
}

.network-card__link {
	color: var(--brand);
	font-size: 0.92rem;
	font-weight: 750;
	margin-top: auto;
	padding-top: 22px;
}

.principles-grid {
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 38px;
}

.principle {
	border-left: 3px solid var(--accent);
	padding-left: 21px;
}

.principle h3 {
	font-size: 1.15rem;
	margin: 0 0 7px;
}

.principle p {
	color: var(--ink-soft);
	margin: 0;
}

.contact-band {
	background: var(--brand);
	border-radius: 26px;
	color: #fff;
	display: flex;
	gap: 32px;
	justify-content: space-between;
	padding: clamp(30px, 6vw, 56px);
}

.contact-band h2 {
	color: #fff;
	font-size: clamp(1.8rem, 4vw, 2.7rem);
	margin-bottom: 10px;
}

.contact-band p {
	color: #dcecff;
	margin: 0;
}

.contact-band .button {
	align-self: center;
	background: #fff;
	border-color: #fff;
	color: var(--brand-dark);
	flex: 0 0 auto;
}

.page-main {
	min-height: 58vh;
	padding: clamp(58px, 8vw, 96px) 0;
}

.page-content {
	max-width: 820px;
}

.page-content > p:first-of-type {
	color: var(--ink-soft);
	font-size: 1.15rem;
}

.page-content h2 {
	font-size: 1.65rem;
	letter-spacing: -0.025em;
	line-height: 1.25;
	margin: 2.1em 0 0.55em;
}

.page-content h3 {
	font-size: 1.2rem;
	margin: 1.8em 0 0.4em;
}

.page-content p,
.page-content li {
	max-width: 75ch;
}

.page-content hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 40px 0;
}

.page-updated {
	color: var(--ink-soft);
	font-size: 0.86rem;
	margin-bottom: 28px;
}

.site-footer {
	background: var(--navy);
	color: #afbed3;
	padding: 64px 0 30px;
}

.site-footer__grid {
	display: grid;
	gap: 42px;
	grid-template-columns: 1.5fr 1fr 1fr;
}

.site-footer h2,
.site-footer h3 {
	color: #fff;
}

.site-footer h2 {
	font-size: 1.45rem;
	margin: 0 0 12px;
}

.site-footer h3 {
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	margin: 0 0 17px;
	text-transform: uppercase;
}

.site-footer p {
	margin: 0;
	max-width: 420px;
}

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

.footer-links li {
	margin-bottom: 8px;
}

.site-footer a {
	color: #dce6f4;
	text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
	color: #fff;
	text-decoration: underline;
}

.site-footer__bottom {
	border-top: 1px solid #27364d;
	font-size: 0.86rem;
	margin-top: 46px;
	padding-top: 24px;
}

.not-found {
	text-align: center;
}

@media (max-width: 820px) {
	.menu-toggle {
		display: block;
	}

	.site-navigation {
		background: var(--paper);
		border-bottom: 1px solid var(--line);
		display: none;
		left: 0;
		padding: 16px 24px 24px;
		position: absolute;
		right: 0;
		top: 78px;
	}

	.site-navigation.is-open {
		display: block;
	}

	.primary-menu {
		align-items: stretch;
		flex-direction: column;
		gap: 4px;
	}

	.primary-menu a {
		display: block;
		padding: 9px 0;
	}

	.network-grid,
	.principles-grid {
		grid-template-columns: 1fr;
	}

	.network-card {
		min-height: 250px;
	}

	.contact-band {
		align-items: flex-start;
		flex-direction: column;
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
	}
}

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

	.network-card {
		transition: none;
	}
}
