:root {
	--teal: #0f766e;
	--teal-dark: #115e59;
	--purple: #6d28d9;
	--gold: #f59e0b;
	--ink: #0f172a;
	--muted: #475569;
	--line: #e2e8f0;
	--paper: #f8fafc;
	--white: #fff;
	--max: 1080px;
	font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
	background:
		radial-gradient(900px 400px at 0% 0%, rgba(15, 118, 110, 0.12), transparent 50%),
		radial-gradient(700px 360px at 100% 0%, rgba(109, 40, 217, 0.1), transparent 46%),
		var(--paper);
	color: var(--ink);
	line-height: 1.55;
}
a { color: var(--teal-dark); }
img { max-width: 100%; height: auto; }
.screen-reader {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.site-header {
	background: linear-gradient(120deg, #042f2e 0%, #0f766e 55%, #4c1d95 130%);
	color: #fff;
	position: sticky;
	top: 0;
	z-index: 40;
}
.header-inner {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0.75rem 1.15rem;
	display: grid;
	grid-template-columns: auto 1fr auto auto;
	gap: 0.75rem 1rem;
	align-items: center;
}
.brand {
	color: #fff;
	text-decoration: none;
	font-weight: 800;
	letter-spacing: 0.02em;
}
.brand small {
	display: block;
	font-weight: 500;
	opacity: 0.8;
	font-size: 0.72rem;
}
.site-nav .menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.85rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-nav a {
	color: #fff;
	text-decoration: none;
	font-size: 0.92rem;
	font-weight: 600;
}
.site-nav a:hover { text-decoration: underline; }
.header-search {
	display: flex;
	background: #fff;
	border-radius: 999px;
	overflow: hidden;
}
.header-search input {
	border: 0;
	padding: 0.45rem 0.75rem;
	width: 16rem;
	max-width: 36vw;
	font: inherit;
}
.header-search button {
	border: 0;
	background: #4c1d95;
	color: #fff;
	font-weight: 700;
	padding: 0.45rem 0.8rem;
	cursor: pointer;
}
.header-cta { display: flex; gap: 0.45rem; }
.nav-toggle {
	display: none;
	border: 1px solid rgba(255,255,255,0.35);
	background: transparent;
	color: #fff;
	border-radius: 999px;
	padding: 0.4rem 0.75rem;
	font-weight: 700;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1.1rem;
	border-radius: 999px;
	font-weight: 800;
	text-decoration: none;
	border: 0;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
	background: linear-gradient(180deg, #fcd34d, #f59e0b);
	color: #1c1917;
}
.btn-teal { background: var(--teal); color: #fff; }
.btn-outline {
	background: #fff;
	color: var(--teal-dark);
	border: 2px solid var(--teal);
}
.btn-ghost {
	background: rgba(255,255,255,0.14);
	color: #fff;
	border: 1px solid rgba(255,255,255,0.35);
	padding: 0.5rem 0.85rem;
}

.hero, .section, .wrap {
	max-width: var(--max);
	margin: 0 auto;
	padding: 2rem 1.15rem;
}
.hero { padding-top: 2.4rem; }
.hero h1 {
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	line-height: 1.2;
	margin: 0 0 0.75rem;
}
.lead, .intro { color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.2rem; }
.live-tag {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.8rem;
	font-weight: 800;
	text-transform: uppercase;
	color: #047857;
	margin: 0 0 0.6rem;
}
.dot {
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 0 0 rgba(34,197,94,0.7);
	animation: pulse 1.6s infinite;
}
@keyframes pulse {
	70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}

.tabs {
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
	padding: 0.85rem;
}
.tab-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-bottom: 0.9rem;
}
.tab-list button {
	border: 1px solid var(--line);
	background: #fff;
	border-radius: 999px;
	padding: 0.45rem 0.85rem;
	font-weight: 700;
	cursor: pointer;
}
.tab-list button[aria-selected="true"] {
	background: linear-gradient(120deg, #0f766e, #6d28d9);
	color: #fff;
	border-color: transparent;
}
.tab-panel {
	padding: 0.4rem 0.4rem 0.7rem;
	animation: rise 0.35s ease;
}
.tab-panel[hidden] { display: none; }
@keyframes rise {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}
.card-band {
	background: linear-gradient(128deg, #042f2e 0%, #0f766e 50%, #4c1d95 130%);
	color: #fff;
	border-radius: 18px;
	max-width: calc(var(--max) - 0px);
}
.card-band .intro, .card-band h2 { color: #fff; }

.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1rem;
}
.post-card {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
	transition: transform 0.25s ease;
}
.post-card:hover { transform: translateY(-6px); }
.post-card a {
	display: block;
	padding: 1.05rem;
	text-decoration: none;
	color: inherit;
}
.post-card h2, .post-card h3 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.post-card p { color: var(--muted); margin: 0 0 0.6rem; }
.post-card span { font-weight: 800; color: var(--teal-dark); font-size: 0.85rem; }

.article .content { max-width: 42rem; }
.article .meta { color: var(--muted); }
.feature { margin: 1rem 0; }
.page-head h1 { margin-bottom: 0.35rem; }

.site-footer { margin-top: 2rem; overflow: hidden; }
.footer-ticker {
	background: linear-gradient(90deg, #042f2e, #0f766e 52%, #4c1d95);
	color: #fff;
	overflow: hidden;
	white-space: nowrap;
	padding: 0.5rem 0;
}
.footer-ticker-track {
	display: flex;
	width: max-content;
	animation: ticker 36s linear infinite;
}
.footer-ticker-group {
	display: flex;
	gap: 3rem;
	padding-right: 3rem;
	font-weight: 700;
}
@keyframes ticker {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
.footer-grid {
	max-width: var(--max);
	margin: 0 auto;
	padding: 1.4rem 1.15rem;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 1.2rem;
}
.footer-grid .menu, .footer-grid ul { list-style: none; padding: 0; margin: 0.4rem 0 0; }
.footer-legal {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 1.15rem 2rem;
	display: flex;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: wrap;
	font-size: 0.85rem;
	color: var(--muted);
}

@media (max-width: 900px) {
	.header-inner {
		grid-template-columns: 1fr auto;
	}
	.nav-toggle { display: inline-flex; }
	.site-nav, .header-search, .header-cta {
		grid-column: 1 / -1;
	}
	.site-nav { display: none; }
	.site-nav.is-open { display: block; }
	.site-nav .menu { flex-direction: column; }
	.header-search input { width: 100%; max-width: none; }
	.footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.dot, .footer-ticker-track, .tab-panel, .btn, .post-card { animation: none; transition: none; }
}
