:root {
	--ns-blue: #0b1f3a;
	--ns-blue-soft: #132f55;
	--ns-gold: #f2b84b;
	--ns-gold-soft: #fff3d5;
	--ns-ink: #172033;
	--ns-muted: #5f6f86;
	--ns-line: #dce4ef;
	--ns-bg: #f7f9fc;
	--ns-white: #ffffff;
	--ns-radius: 8px;
	--ns-shadow: 0 18px 40px rgba(11, 31, 58, 0.12);
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	color: var(--ns-ink);
	background: var(--ns-bg);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", sans-serif;
	line-height: 1.7;
}

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

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

.site-shell {
	width: min(1120px, calc(100% - 32px));
	margin: 0 auto;
}

.narrow {
	width: min(820px, calc(100% - 32px));
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(255, 255, 255, 0.92);
	border-bottom: 1px solid var(--ns-line);
	backdrop-filter: blur(14px);
}

.header-inner,
.footer-grid,
.footer-bottom,
.hero-grid,
.section-grid,
.split-cta,
.newsletter-inner,
.cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.header-inner {
	min-height: 74px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
}

.brand small {
	display: block;
	color: var(--ns-muted);
	font-weight: 600;
}

.brand-mark {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	color: var(--ns-blue);
	background: var(--ns-gold);
	border-radius: 50%;
}

.primary-nav ul,
.site-footer ul {
	display: flex;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav a {
	color: var(--ns-blue);
	font-weight: 700;
}

.menu-toggle {
	display: none;
	border: 1px solid var(--ns-line);
	background: var(--ns-white);
	border-radius: var(--ns-radius);
	padding: 8px 12px;
}

.hero-section {
	position: relative;
	overflow: hidden;
	padding: 92px 0 74px;
	color: var(--ns-white);
	background:
		radial-gradient(circle at 78% 20%, rgba(242, 184, 75, 0.28), transparent 28%),
		linear-gradient(135deg, #08182e 0%, #0b1f3a 58%, #173a62 100%);
}

.compact-hero {
	padding: 72px 0;
}

.hero-grid {
	align-items: stretch;
}

.hero-copy {
	max-width: 650px;
}

.eyebrow {
	margin: 0 0 10px;
	color: var(--ns-gold);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1 {
	margin: 0;
	font-size: clamp(2.2rem, 6vw, 4.8rem);
	line-height: 1.08;
	letter-spacing: 0;
}

.hero-copy p,
.page-hero p {
	max-width: 720px;
	font-size: 1.12rem;
	color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.ns-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 18px;
	border-radius: var(--ns-radius);
	font-weight: 800;
	border: 1px solid transparent;
}

.button-primary {
	background: var(--ns-gold);
	color: #1f2635;
}

.button-secondary {
	background: var(--ns-white);
	color: var(--ns-blue);
	border-color: var(--ns-line);
}

.orbit-map {
	position: relative;
	flex: 0 1 390px;
	min-height: 360px;
}

.map-card {
	position: absolute;
	top: 34px;
	right: 0;
	width: 270px;
	padding: 22px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: var(--ns-radius);
	box-shadow: var(--ns-shadow);
}

.map-card-alt {
	top: 190px;
	right: 92px;
}

.map-card strong,
.map-card small {
	display: block;
}

.compass {
	color: var(--ns-gold);
	font-size: 2.2rem;
}

.path-line {
	position: absolute;
	inset: 96px 74px 70px auto;
	width: 2px;
	background: linear-gradient(var(--ns-gold), rgba(255, 255, 255, 0.15));
	transform: rotate(36deg);
}

.intro-band,
.section-grid,
.cards-section,
.process-section,
.latest-posts,
.split-cta,
.diagnostic-page,
.content-layout,
.rich-content,
.archive-grid {
	padding: 64px 0;
}

.intro-band {
	text-align: center;
}

.intro-band h2,
.section-grid h2,
.cards-section h2,
.process-section h2,
.latest-posts h2,
.cta-band h2,
.newsletter-band h2,
.page-hero h1 {
	color: var(--ns-blue);
}

.section-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.feature-list {
	display: grid;
	gap: 14px;
}

.feature-list div,
.card-grid article,
.post-card,
.side-panel,
.service-grid article {
	background: var(--ns-white);
	border: 1px solid var(--ns-line);
	border-radius: var(--ns-radius);
	box-shadow: var(--ns-shadow);
}

.feature-list div {
	display: flex;
	gap: 16px;
	padding: 18px;
}

.feature-list strong {
	color: var(--ns-gold);
}

.full-band {
	padding: 72px 0;
	background: var(--ns-blue);
	color: var(--ns-white);
}

.method-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 36px;
}

.method-list {
	display: grid;
	gap: 12px;
	padding: 0;
	list-style: none;
}

.method-list li {
	display: flex;
	gap: 12px;
	align-items: center;
}

.method-list strong {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--ns-gold);
	color: var(--ns-blue);
}

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

.card-grid article {
	padding: 24px;
	font-weight: 700;
}

.process-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	padding: 0;
	list-style-position: inside;
}

.process-list li {
	padding: 18px;
	background: var(--ns-gold-soft);
	border-radius: var(--ns-radius);
	font-weight: 700;
}

.cta-band,
.newsletter-band {
	padding: 54px 0;
	background: var(--ns-gold-soft);
}

.newsletter-band {
	background: var(--ns-white);
	border-top: 1px solid var(--ns-line);
}

.post-card {
	overflow: hidden;
}

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

.post-card h3 {
	margin-top: 0;
	color: var(--ns-blue);
}

.page-hero {
	padding: 70px 0;
	color: var(--ns-white);
	background: linear-gradient(135deg, var(--ns-blue), var(--ns-blue-soft));
}

.content-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 28px;
	align-items: start;
}

.rich-content {
	font-size: 1.05rem;
}

.rich-content a {
	color: var(--ns-blue);
	text-decoration: underline;
}

.side-panel {
	padding: 22px;
}

.single-cover {
	margin-bottom: 28px;
	border-radius: var(--ns-radius);
}

.site-footer {
	padding: 44px 0 20px;
	color: rgba(255, 255, 255, 0.84);
	background: #08182e;
}

.site-footer h2 {
	color: var(--ns-white);
}

.footer-bottom {
	margin-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	padding-top: 18px;
	font-size: 0.9rem;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

@media (max-width: 860px) {
	.header-inner,
	.footer-grid,
	.footer-bottom,
	.hero-grid,
	.split-cta,
	.newsletter-inner,
	.cta-inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.menu-toggle {
		display: inline-flex;
		position: absolute;
		right: 16px;
		top: 18px;
	}

	.primary-nav {
		display: none;
		width: 100%;
	}

	.primary-nav.is-open {
		display: block;
	}

	.primary-nav ul,
	.site-footer ul {
		flex-direction: column;
		gap: 10px;
	}

	.hero-section {
		padding: 68px 0 54px;
	}

	.orbit-map {
		width: 100%;
		min-height: 280px;
	}

	.map-card,
	.map-card-alt {
		position: relative;
		top: auto;
		right: auto;
		width: 100%;
		margin-top: 14px;
	}

	.path-line {
		display: none;
	}

	.section-grid,
	.method-grid,
	.content-layout,
	.card-grid,
	.post-grid,
	.process-list {
		grid-template-columns: 1fr;
	}
}

