/* ============================================
   TOKENS — Brand: deep blue + bright cyan
   ============================================ */
:root {
	/* Brand blue (matches logo shield + wordmark) */
	--brand-50: #EBF3FF;
	--brand-100: #D6E6FB;
	--brand-200: #ADC8F5;
	--brand-300: #7AA5EB;
	--brand-400: #4781D8;
	--brand-500: #1B6FD0;
	--brand-600: #1565C0;
	--brand-700: #0E4FA0;
	--brand-800: #0A3F82;
	--brand-900: #082C5C;

	/* Accent cyan (matches logo stripes) */
	--accent-50: #E6F7FE;
	--accent-100: #C0EDFC;
	--accent-200: #87DCF9;
	--accent-300: #4FCAF4;
	--accent-400: #2DBEE5;
	--accent-500: #0FA6CC;
	--accent-600: #0A8AAA;

	/* Navy (dark hero, dark sections) */
	--navy-700: #16365E;
	--navy-800: #0E2A4D;
	--navy-900: #0A1F3C;
	--navy-950: #061629;

	/* Neutrals */
	--ink-50: #F5F7FA;
	--ink-100: #ECF0F5;
	--ink-200: #D9E0EA;
	--ink-300: #B6C1D0;
	--ink-400: #8593A8;
	--ink-500: #5E6C82;
	--ink-600: #46546A;
	--ink-700: #2F3D52;
	--ink-800: #1B2839;
	--ink-900: #0C1828;

	--warn: #E14D2A;

	/* Type */
	--font: 'Manrope', system-ui, -apple-system, sans-serif;
	--mono: 'JetBrains Mono', ui-monospace, monospace;

	/* Layout */
	--container: 1240px;
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--section: clamp(4rem, 8vw, 6.5rem);
	--radius: 12px;
	--radius-sm: 8px;
	--radius-lg: 20px;

	/* Shadows */
	--shadow-sm: 0 1px 2px rgba(12, 24, 40, 0.04);
	--shadow: 0 4px 12px -2px rgba(12, 24, 40, 0.06), 0 2px 4px -1px rgba(12, 24, 40, 0.04);
	--shadow-lg: 0 20px 40px -12px rgba(12, 24, 40, 0.12), 0 8px 16px -8px rgba(12, 24, 40, 0.08);
	--shadow-xl: 0 32px 64px -20px rgba(12, 24, 40, 0.25), 0 16px 32px -16px rgba(12, 24, 40, 0.15);
	--shadow-glow: 0 32px 64px -20px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
}


/* ============================================
   PAGE HERO — locked pattern for ALL interior pages
   ============================================ */
.page-hero {
	padding: 9rem 0 6rem;
	background: var(--navy-900);
	color: #fff;
	position: relative;
	overflow: hidden;
	text-align: center;
}

.page-hero::before {
	content: '';
	position: absolute;
	top: -120px;
	right: -180px;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(45, 190, 229, 0.18) 0%, rgba(45, 190, 229, 0.04) 35%, transparent 65%);
	pointer-events: none;
}

.page-hero::after {
	content: '';
	position: absolute;
	bottom: -250px;
	left: -100px;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(21, 101, 192, 0.18) 0%, transparent 60%);
	pointer-events: none;
}

.page-hero .container {
	position: relative;
	max-width: 820px;
}

.page-hero-inner {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 760px;
	margin: 0 auto;
}


.page-hero h1,
.page-hero .h1 {
	font-size: clamp(2.25rem, 5vw, 2.5rem);
	line-height: 1.05;
	font-weight: 800;
	letter-spacing: -0.025em;
	color: #fff;
	margin: 0.75rem 0 1.25rem;
}

.page-hero h1 .accent,
.page-hero .h1 .accent {
	color: var(--accent-300);
}

.page-hero .lede {
	color: rgba(255, 255, 255, 0.8);
	margin: 0 auto;
	max-width: 38em;
}

.page-hero-ctas {
	display: flex;
	gap: 0.75rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 2.25rem;
}

.page-hero .btn-primary {
	background: var(--accent-400);
	color: var(--navy-900);
	box-shadow: 0 1px 2px rgba(45, 190, 229, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.page-hero .btn-primary:hover {
	background: var(--accent-300);
	transform: translateY(-1px);
	box-shadow: 0 12px 32px -10px rgba(45, 190, 229, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.page-hero .btn-secondary {
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(8px);
}

.page-hero .btn-secondary:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   BREADCRUMB — for centered page-hero
   ============================================ */
.breadcrumb {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 0.5rem;
}

.breadcrumb a {
	color: var(--accent-300);
	transition: color 0.15s ease;
}

.breadcrumb a:hover {
	color: var(--accent-200);
}

.breadcrumb-sep {
	color: rgba(255, 255, 255, 0.3);
	font-weight: 400;
}

.breadcrumb-current {
	color: #fff;
}

/* ============================================
   SECTION HEADER — centered (eyebrow + h2 + lede)
   ============================================ */
.section-hd-center {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 3.5rem;
}

.section-hd-center h2 {
	margin: 0.75rem 0 1rem;
}

.section-hd-center .lede {
	margin: 0 auto;
}

/* ============================================
   FEATURE GRID — two-column content/visual (reversible)
   ============================================ */
.feat-grid {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}

.feat-grid.reverse {
	grid-template-columns: 1.15fr 1fr;
	direction: rtl;
}

.feat-grid.reverse > * {
	direction: ltr;
}

.feat-grid + .feat-grid {
	margin-top: 5rem;
}

.feat-grid h3 {
	margin-bottom: 1rem;
}

.feat-grid p {
	color: var(--ink-700);
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
	.feat-grid,
	.feat-grid.reverse {
		grid-template-columns: 1fr;
		direction: ltr;
	}
}

/* ============================================
   FEAT LIST — checkmark feature bullets
   ============================================ */
.feat-list {
	margin-bottom: 1.75rem;
}

.feat-list li {
	display: flex;
	gap: 0.75rem;
	padding: 0.5rem 0;
	font-size: 0.95rem;
	color: var(--ink-800);
	line-height: 1.5;
}

.feat-list li i {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--brand-100);
	color: var(--brand-700);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.7rem;
	margin-top: 2px;
}

/* ============================================
   ORG GRID — 3-up card layout
   ============================================ */
.org-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

@media (max-width: 900px) {
	.org-grid {
		grid-template-columns: 1fr;
	}
}

/* ============================================
   ORG CARD — interactive (hover lift)
   ============================================ */
.org-card {
	padding: 1.75rem;
	background: #fff;
	border: 1px solid var(--ink-100);
	border-radius: var(--radius);
	transition: all 0.2s ease;
}

.org-card:hover {
	border-color: var(--brand-300);
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}

/* ============================================
   ORG CARD PLAIN — same look, no interaction
   ============================================ */
.org-card-plain {
	padding: 1.75rem;
	background: #fff;
	border: 1px solid var(--ink-100);
	border-radius: var(--radius);
}

.org-card .org-card-icon,
.org-card-plain .org-card-icon {
	width: 40px;
	height: 40px;
	background: var(--brand-50);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--brand-600);
	margin-bottom: 1rem;
	font-size: 1.05rem;
}

.org-card h3,
.org-card-plain h3 {
	margin-bottom: 0.5rem;
}

.org-card p,
.org-card-plain p {
	color: var(--ink-700);
	font-size: 0.94rem;
	line-height: 1.55;
	margin: 0;
}

/* ============================================
   BASE
   ============================================ */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	scroll-behavior: smooth;
}

body {
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.55;
	color: var(--ink-800);
	background: #fff;
	font-feature-settings: "ss01", "cv11";
}

/* Prevent body scroll when mobile menu is open */
body.nav-open {
	overflow: hidden;
}

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

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

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

ul {
	list-style: none;
}

::selection {
	background: var(--accent-200);
	color: var(--ink-900);
}

/* ============================================
   TYPE
   ============================================ */
h1,
h2,
h3,
h4 {
	letter-spacing: -0.02em;
	line-height: 1.1;
	color: var(--ink-900);
}

.h1 {
	font-size: clamp(2.5rem, 5.4vw, 3rem);
	font-weight: 800;
	letter-spacing: -0.03em;
}

.h2 {
	font-size: clamp(2rem, 3.8vw, 2.5rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	margin-bottom: 10pt;
}

.h3 {
	font-size: clamp(1.4rem, 2.2vw, 1.8rem);
	font-weight: 700;
	letter-spacing: -0.02em;
}

.h4 {
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.3;
}

.lede {
	font-size: clamp(1.05rem, 1.4vw, 1.1rem);
	line-height: 1.55;
	color: var(--ink-800);
}

.tag {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 0.85rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--brand-700);
	background: var(--brand-50);
	border: 1px solid var(--brand-100);
	border-radius: 100px;
	line-height: 1;
}

.tag-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--brand-500);
	box-shadow: 0 0 0 3px var(--brand-100);
}

.tag-dark {
	color: var(--accent-300);
	background: rgba(45, 190, 229, 0.1);
	border-color: rgba(45, 190, 229, 0.25);
}

.tag-dark .tag-dot {
	background: var(--accent-400);
	box-shadow: 0 0 0 3px rgba(45, 190, 229, 0.18);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

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

.bg-ink {
	background: var(--ink-900);
	color: #fff;
}

.bg-soft {
	background: var(--ink-50);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1.4rem;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1;
	border-radius: 8px;
	transition: all 0.18s ease;
	border: 1px solid transparent;
	white-space: nowrap;
	cursor: pointer;
}

.btn-primary {
	background: var(--brand-600);
	color: #fff;
	box-shadow: 0 1px 2px rgba(21, 101, 192, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.btn-primary:hover {
	background: var(--brand-700);
	transform: translateY(-1px);
	box-shadow: 0 8px 24px -8px rgba(21, 101, 192, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.btn-secondary {
	background: #fff;
	color: var(--ink-900);
	border-color: var(--ink-200);
}

.btn-secondary:hover {
	border-color: var(--ink-400);
	background: var(--ink-50);
}

/* Dark hero CTAs */
.btn-hero-primary {
	background: var(--accent-400);
	color: var(--navy-900);
	box-shadow: 0 1px 2px rgba(45, 190, 229, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-hero-primary:hover {
	background: var(--accent-300);
	transform: translateY(-1px);
	box-shadow: 0 12px 32px -10px rgba(45, 190, 229, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-hero-secondary {
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(8px);
}

.btn-hero-secondary:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.3);
}

.btn-dark-primary {
	background: #fff;
	color: var(--ink-900);
}

.btn-dark-primary:hover {
	background: var(--accent-200);
	transform: translateY(-1px);
}

.btn-dark-secondary {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.18);
}

.btn-dark-secondary:hover {
	border-color: rgba(255, 255, 255, 0.5);
}

.btn-lg {
	padding: 1rem 1.6rem;
	font-size: 1rem;
}

.btn .arr {
	transition: transform 0.18s ease;
}

.btn:hover .arr {
	transform: translateX(2px);
}

/* ============================================
   HEADER — transparent over hero, white when scrolled
   ============================================ */
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	background: var(--navy-900);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.header.scrolled {
	background: #fff;
	border-bottom-color: var(--ink-100);
	box-shadow: 0 1px 3px rgba(12, 24, 40, 0.06);
}

.nav {
	display: flex;
	align-items: center;
	height: 72px;
	gap: 2.5rem;
}

.nav-brand {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.nav-brand img {
	height: 28px;
	width: auto;
}

.nav-brand .brand-color {
	display: none;
}

.header.scrolled .brand-white {
	display: none;
}

.header.scrolled .brand-color {
	display: block;
}

.nav-links {
	display: flex;
	gap: 2rem;
	flex: 1;
	justify-content: center;
}

.nav-links a {
	font-size: 0.92rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.85);
	transition: color 0.15s ease;
}

.nav-links a:hover {
	color: var(--accent-300);
}

.header.scrolled .nav-links a {
	color: var(--ink-700);
}

.header.scrolled .nav-links a:hover {
	color: var(--brand-600);
}

.nav-cta {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex-shrink: 0;
}

/* Hamburger toggle — hidden on desktop, shown on mobile */
.nav-toggle {
	display: none;
	width: 40px;
	height: 40px;
	padding: 0;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	transition: background 0.18s ease, border-color 0.18s ease;
	position: relative;
}

.nav-toggle:hover {
	background: rgba(255, 255, 255, 0.14);
}

.header.scrolled .nav-toggle {
	background: var(--ink-50);
	border-color: var(--ink-200);
}

.header.scrolled .nav-toggle:hover {
	background: var(--ink-100);
}

.nav-toggle span {
	display: block;
	position: absolute;
	left: 50%;
	width: 20px;
	height: 2px;
	background: #fff;
	border-radius: 1px;
	transform-origin: center;
	transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease, background 0.25s ease;
	margin-left: -10px;
}

.nav-toggle span:nth-child(1) {
	top: 13px;
}

.nav-toggle span:nth-child(2) {
	top: 19px;
}

.nav-toggle span:nth-child(3) {
	top: 25px;
}

.header.scrolled .nav-toggle span {
	background: var(--ink-900);
}

/* Animate to X when open */
.nav-toggle.open span:nth-child(1) {
	top: 19px;
	transform: rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
	opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
	top: 19px;
	transform: rotate(-45deg);
}

/* Header CTA — switches style based on scroll state */
.nav-cta .btn {
	background: var(--accent-400);
	color: var(--navy-900);
	border-color: transparent;
	box-shadow: 0 1px 2px rgba(45, 190, 229, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.nav-cta .btn:hover {
	background: var(--accent-300);
	transform: translateY(-1px);
	box-shadow: 0 8px 24px -8px rgba(45, 190, 229, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.header.scrolled .nav-cta .btn {
	background: var(--brand-600);
	color: #fff;
	box-shadow: 0 1px 2px rgba(21, 101, 192, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.header.scrolled .nav-cta .btn:hover {
	background: var(--brand-700);
	box-shadow: 0 8px 24px -8px rgba(21, 101, 192, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

/* ============================================
   NAV — items, mega menus, dropdowns, active states
   ============================================ */
.nav-links {
	margin: 0;
}

.nav-item {
	position: relative;
	list-style: none;
}

.nav-item > a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	position: relative;
	padding: 0.5rem 0;
}

.nav-caret {
	font-size: 0.6rem;
	opacity: 0.7;
	transition: transform 0.25s ease;
}

.nav-item.has-mega:hover .nav-caret,
.nav-item.has-dropdown:hover .nav-caret,
.nav-item.has-mega:focus-within .nav-caret,
.nav-item.has-dropdown:focus-within .nav-caret {
	transform: rotate(180deg);
}

/* Active parent indicator */
.nav-item.active > a {
	color: var(--accent-300);
}

.header.scrolled .nav-item.active > a {
	color: var(--brand-600);
}

.nav-item.active > a::after {
	content: '';
	position: absolute;
	bottom: -22px;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--accent-400);
	border-radius: 2px;
}

.header.scrolled .nav-item.active > a::after {
	background: var(--brand-600);
}

/* ============================================
   MEGA MENU (Product)
   ============================================ */
.nav-mega {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(8px);
	width: 760px;
	max-width: calc(100vw - 2rem);
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 24px 64px -20px rgba(12, 24, 40, 0.25), 0 8px 16px -8px rgba(12, 24, 40, 0.12), 0 0 0 1px var(--ink-100);
	padding: 1.25rem;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	z-index: 60;
}

/* Hover bridge so cursor can travel from link to menu without closing */
.nav-mega::before,
.nav-dropdown::before {
	content: '';
	position: absolute;
	top: -14px;
	left: 0;
	right: 0;
	height: 14px;
}

.nav-item.has-mega:hover .nav-mega,
.nav-item.has-mega:focus-within .nav-mega {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}

.nav-mega-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.35rem;
}

.nav-mega-item {
	display: flex;
	gap: 0.85rem;
	padding: 0.85rem;
	border-radius: 10px;
	transition: background 0.15s ease, transform 0.15s ease;
}

.nav-mega-item:hover {
	background: var(--ink-50);
}

.nav-mega-icon {
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--brand-50), var(--accent-50));
	color: var(--brand-600);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.nav-mega-item:hover .nav-mega-icon {
	background: linear-gradient(135deg, var(--brand-100), var(--accent-100));
	transform: scale(1.04);
}

.nav-mega-text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.nav-mega-title {
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--ink-900);
	letter-spacing: -0.005em;
}

.nav-mega-desc {
	font-size: 0.78rem;
	color: var(--ink-600);
	line-height: 1.35;
}

.nav-mega-foot {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 1.25rem;
	margin-top: 0.6rem;
	padding: 0.85rem 0.85rem 0.3rem;
	border-top: 1px solid var(--ink-100);
}

.nav-mega .nav-mega-foot-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--ink-700);
	transition: color 0.15s ease, gap 0.15s ease;
}

.nav-mega .nav-mega-foot-link i {
	font-size: 0.7rem;
	transition: transform 0.15s ease;
}

.nav-mega .nav-mega-foot-link:hover {
	color: var(--brand-600);
	gap: 0.65rem;
}

.nav-mega .nav-mega-foot-link:hover i {
	transform: translateX(2px);
}

.nav-mega .nav-mega-foot-cta {
	color: var(--brand-600);
}

.nav-mega .nav-mega-foot-cta:hover {
	color: var(--brand-700);
}

/* ============================================
   DROPDOWN (Resources)
   ============================================ */
.nav-dropdown {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(8px);
	min-width: 340px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 24px 64px -20px rgba(12, 24, 40, 0.25), 0 8px 16px -8px rgba(12, 24, 40, 0.12), 0 0 0 1px var(--ink-100);
	padding: 0.5rem;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	z-index: 60;
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 0.85rem 0.95rem;
	border-radius: 10px;
	transition: background 0.15s ease;
}

.nav-dropdown-item:hover {
	background: var(--ink-50);
}

.nav-dropdown-icon {
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--brand-50), var(--accent-50));
	color: var(--brand-600);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	transition: background 0.15s ease, transform 0.15s ease;
}

.nav-dropdown-item:hover .nav-dropdown-icon {
	background: linear-gradient(135deg, var(--brand-100), var(--accent-100));
	transform: scale(1.04);
}

.nav-dropdown-text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.nav-dropdown-title {
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--ink-900);
}

.nav-dropdown-desc {
	font-size: 0.78rem;
	color: var(--ink-600);
	line-height: 1.35;
}

/* On the dark header, mega/dropdown stay light — looks fine. */
/* No overrides needed because they're pure white surfaces. */

@media (max-width: 1080px) {
	.nav-mega {
		width: 680px;
	}
	.nav-mega-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* On mobile breakpoint, hide desktop mega/dropdown entirely — mobile uses the slide-out accordion */
@media (max-width: 900px) {
	.nav-mega,
	.nav-dropdown {
		display: none !important;
	}
}

/* ============================================
   MOBILE NAV PANEL — accordion groups
   ============================================ */
.nav-panel-group {
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header.scrolled ~ .nav-panel .nav-panel-group {
	border-bottom-color: var(--ink-100);
}

.nav-panel-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 1.1rem 0;
	font-size: 1.1rem;
	font-weight: 600;
	color: #fff;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
}

.header.scrolled ~ .nav-panel .nav-panel-toggle {
	color: var(--ink-900);
}

.nav-panel-toggle i {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.45);
	transition: transform 0.25s ease;
}

.header.scrolled ~ .nav-panel .nav-panel-toggle i {
	color: var(--ink-400);
}

.nav-panel-group.open .nav-panel-toggle i {
	transform: rotate(180deg);
	color: var(--accent-300);
}

.nav-panel-sub {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.nav-panel-group.open .nav-panel-sub {
	max-height: 500px;
}

.nav-panel-sub a {
	display: block;
	padding: 0.75rem 0 0.75rem 1rem;
	font-size: 1rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.8);
	border-bottom: none;
	border-left: 2px solid rgba(45, 190, 229, 0.3);
	margin-left: 0.4rem;
	margin-bottom: 0.1rem;
	padding-left:10pt;
}

.nav-panel-sub a::after {
	content: none;
}

.header.scrolled ~ .nav-panel .nav-panel-sub a {
	color: var(--ink-700);
	border-left-color: var(--brand-200);
}

.nav-panel-sub a:hover {
	color: var(--accent-300);
}

/* Reset .nav-panel-link to behave like the standalone links it always did */
.nav-panel-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.nav-panel-link.active {
	color: var(--accent-300);
}

.header.scrolled ~ .nav-panel .nav-panel-link.active {
	color: var(--brand-600);
}

@media (max-width: 900px) {
	.nav-links {
		display: none;
	}

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

	/* Hide the desktop demo CTA on mobile — it lives in the slide-out menu instead */
	.nav-cta > .btn {
		display: none;
	}

	.nav {
		gap: 1rem;
		justify-content: space-between;
	}
}

/* ============================================
   MOBILE NAV PANEL — full-screen slide-out
   ============================================ */
.nav-panel {
	display: none;
	position: fixed;
	top: 72px;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--navy-900);
	padding: 1.5rem var(--gutter) 2rem;
	transform: translateX(100%);
	transition: transform 0.3s ease;
	z-index: 49;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.header.scrolled + .nav-panel,
.header.scrolled ~ .nav-panel {
	background: #fff;
	border-top: 1px solid var(--ink-100);
}

.nav-panel.open {
	transform: translateX(0);
}

@media (max-width: 900px) {
	.nav-panel {
		display: block;
	}
}

.nav-panel a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.1rem 0;
	font-size: 1.1rem;
	font-weight: 600;
	color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	transition: color 0.15s ease;
}

.header.scrolled ~ .nav-panel a {
	color: var(--ink-900);
	border-bottom-color: var(--ink-100);
}

.nav-panel a:hover {
	color: var(--accent-300);
}

.nav-panel a::after {
	content: '→';
	color: rgba(255, 255, 255, 0.35);
	font-weight: 400;
	transition: transform 0.15s ease, color 0.15s ease;
}

.header.scrolled ~ .nav-panel a::after {
	color: var(--ink-400);
}

.nav-panel a:hover::after {
	transform: translateX(3px);
	color: var(--accent-300);
}

.nav-panel-cta {
	display: block;
	margin-top: 2rem;
	padding: 1rem 1.4rem !important;
	text-align: center;
	background: var(--accent-400);
	color: var(--navy-900) !important;
	border-radius: 8px;
	border-bottom: none !important;
	font-size: 1rem !important;
	box-shadow: 0 1px 2px rgba(45, 190, 229, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.nav-panel-cta::after {
	content: none !important;
}

.header.scrolled ~ .nav-panel .nav-panel-cta {
	background: var(--brand-600);
	color: #fff !important;
}


/* ============================================
   HERO — DARK
   ============================================ */
.hero {
	background: var(--navy-900);
	color: #fff;
	padding: 8rem 0 clamp(4rem, 7vw, 6rem);
	position: relative;
	overflow: hidden;
}
.hero.ra-hero-section{padding:56px 0 24px;}

/* Atmospheric glow */
.hero::before {
	content: '';
	position: absolute;
	top: -200px;
	right: -200px;
	width: 800px;
	height: 800px;
	background: radial-gradient(circle, rgba(45, 190, 229, 0.18) 0%, rgba(45, 190, 229, 0.04) 35%, transparent 65%);
	pointer-events: none;
}

.hero::after {
	content: '';
	position: absolute;
	bottom: -300px;
	left: -100px;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(21, 101, 192, 0.18) 0%, transparent 60%);
	pointer-events: none;
}

/* Subtle grid pattern overlay */
.hero-pattern {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
	background-size: 60px 60px;
	pointer-events: none;
	mask-image: radial-gradient(ellipse at center top, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse at center top, #000 30%, transparent 75%);
}

.hero-grid {
	position: relative;
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}

.hero h1 {
	color: #fff;
	margin: 1.25rem 0 1.5rem;
	max-width: 13ch;
}

.hero h1 .accent {
	color: var(--accent-400);
}

.hero-lede {
	color: rgba(255, 255, 255, 0.75);
	margin-bottom: 2.25rem;
	max-width: 32em;
}

.hero-ctas {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-bottom: 2.5rem;
}

.hero-trust {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.7);
	flex-wrap: wrap;
}

.hero-trust-item {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

.hero-trust-item svg {
	color: var(--accent-400);
	flex-shrink: 0;
}

@media (max-width: 900px) {
	.hero {
		padding-top: 6.5rem;
	}

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

/* ============================================
   MOCKUP — Dashboard
   ============================================ */
.mockup {
	position: relative;
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid var(--ink-100);
}

.mockup-bar {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.7rem 1rem;
	background: var(--ink-50);
	border-bottom: 1px solid var(--ink-100);
}

.mockup-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--ink-200);
}

.mockup-dot.red {
	background: #FF5F57;
}

.mockup-dot.yellow {
	background: #FEBC2E;
}

.mockup-dot.green {
	background: #28C840;
}

.mockup-url {
	margin-left: 0.85rem;
	font-family: var(--mono);
	font-size: 0.72rem;
	color: var(--ink-600);
	padding: 0.3rem 0.7rem;
	background: #fff;
	border-radius: 6px;
	border: 1px solid var(--ink-100);
	flex: 1;
	max-width: 300px;
}

.mockup-content {
	padding: 1.25rem;
}

/* Hero dashboard mockup gets a special shadow */
.hero .mockup {
	box-shadow:
		0 50px 100px -30px rgba(0, 0, 0, 0.5),
		0 30px 60px -20px rgba(0, 0, 0, 0.3),
		0 0 0 1px rgba(255, 255, 255, 0.06);
}

.dash-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 1.25rem;
}

.dash-title {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--ink-900);
}

.dash-meta {
	font-family: var(--mono);
	font-size: 0.7rem;
	color: var(--ink-500);
}

.dash-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.7rem;
}

.dash-card {
	padding: 0.85rem;
	border: 1px solid var(--ink-100);
	border-radius: 8px;
	background: #fff;
}

.dash-card.priority {
	background: linear-gradient(135deg, var(--brand-50), #fff);
	border-color: var(--brand-200);
}

.dash-card-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.5rem;
}

.dash-label {
	font-size: 0.68rem;
	font-weight: 600;
	color: var(--ink-600);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.dash-count {
	font-size: 1.4rem;
	font-weight: 800;
	color: var(--ink-900);
	line-height: 1;
	margin-bottom: 0.35rem;
	letter-spacing: -0.02em;
}

.dash-count.alert {
	color: var(--warn);
}

.dash-count.good {
	color: var(--brand-600);
}

.dash-desc {
	font-size: 0.72rem;
	color: var(--ink-600);
	line-height: 1.35;
}

.dash-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.15rem 0.45rem;
	border-radius: 20px;
	font-size: 0.62rem;
	font-weight: 600;
	font-family: var(--mono);
}

.dash-pill.up {
	background: var(--brand-50);
	color: var(--brand-700);
}

.dash-pill.down {
	background: #FFE9E2;
	color: var(--warn);
}

/* ============================================
   LOGO STRIP
   ============================================ */
.logos {
	padding: 3rem 0 2.5rem;
	border-bottom: 1px solid var(--ink-100);
}

.logos-label {
	text-align: center;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--ink-600);
	letter-spacing: 0.04em;
	margin-bottom: 2rem;
	text-transform: uppercase;
}

.logos-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 2rem;
	align-items: center;
	opacity: 0.7;
}

.logo-placeholder {
	height: 32px;
	background: var(--ink-100);
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--mono);
	font-size: 0.7rem;
	color: var(--ink-600);
	letter-spacing: 0.05em;
}

@media (max-width: 760px) {
	.logos-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.5rem;
	}

	.nav-panel-sub a { padding-left:10pt;}
}

/* ============================================
   SECTIONS
   ============================================ */
.reality-hd {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 3rem;
}

.section-tag {
	display: inline-block;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--brand-600);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 1rem;
}

.reality-hd h2 {
	margin-bottom: 1rem;
}

.reality-hd .lede {
	margin: 0 auto;
}

.gaps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	margin-bottom: 4rem;
}

.gap-card {
	padding: 1.5rem;
	background: #fff;
	border: 1px solid var(--ink-100);
	border-radius: var(--radius);
	transition: all 0.2s ease;
		box-shadow: var(--shadow-lg);
}

.gap-card:hover {
	box-shadow: var(--shadow-lg);
}

.gap-num {
	font-family: var(--mono);
	font-size: 1.2rem;
	color: var(--warn);
	font-weight: 500;
	margin-bottom: .2rem;
}

.gap-title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--ink-900);
	margin-bottom: 0.5rem;
	line-height: 1.3;
}

.gap-body {
	font-size: 0.9rem;
	color: var(--ink-600);
	line-height: 1.5;
}

.stats-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	padding: 2rem;
	background: var(--ink-900);
	border-radius: var(--radius);
	color: #fff;
	position: relative;
	overflow: hidden;
}

.stats-row::before {
	content: '';
	position: absolute;
	top: -100px;
	right: -100px;
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(45, 190, 229, 0.15), transparent 70%);
}

.stat-cell {
	padding: 0 1.25rem;
	border-right: 1px solid rgba(255, 255, 255, 0.08);
	position: relative;
}

.stat-cell:last-child {
	border-right: none;
}

.stat-num {
	font-size: clamp(1.8rem, 3vw, 2.5rem);
	font-weight: 800;
	line-height: 1;
	color: var(--accent-300);
	letter-spacing: -0.02em;
	margin-bottom: 0.4rem;
}

.stat-desc {
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.75);
	line-height: 1.4;
}

.stat-src {
	font-family: var(--mono);
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.45);
	margin-top: 0.5rem;
}

@media (max-width: 900px) {
	.gaps {
		grid-template-columns: repeat(2, 1fr);
	}

	.stats-row {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}

	.stat-cell {
		border-right: none;
		padding: 0;
	}
}

@media (max-width: 540px) {
	.gaps {
		grid-template-columns: 1fr;
	}

	.stats-row {
		grid-template-columns: 1fr;
	}
}

/* ============================================
   PHILOSOPHY
   ============================================ */
.philosophy {
	background: var(--navy-900);
	color: #fff;
	position: relative;
	overflow: hidden;
}

.philosophy::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(900px 500px at 80% 0%, rgba(45, 190, 229, 0.15), transparent 60%),
		radial-gradient(700px 400px at 0% 100%, rgba(21, 101, 192, 0.15), transparent 60%);
	pointer-events: none;
}

.philosophy-grid {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}

.philosophy h2 {
	color: #fff;
	margin: 1rem 0 1.25rem;
}

.philosophy h2 sup {
	font-size: 0.4em;
	color: var(--accent-400);
	vertical-align: super;
	font-weight: 500;
}

.philosophy-body p {
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 1rem;
	font-size: 1.02rem;
	line-height: 1.6;
}

.philosophy-body p:last-child {
	color: #fff;
}

.philosophy-body .accent {
	color: var(--accent-300);
	font-weight: 600;
}

.funnel {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--radius-lg);
	padding: 1.5rem;
}

.funnel-cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}

.funnel-col h4 {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
	padding-bottom: 0.85rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.82rem;
	font-weight: 600;
	color: #fff;
}

.funnel-col h4 .badge {
	font-family: var(--mono);
	font-size: 0.62rem;
	font-weight: 500;
	padding: 0.2rem 0.5rem;
	border-radius: 4px;
}

.funnel-col.old h4 .badge {
	background: rgba(225, 77, 42, 0.18);
	color: #FFA28C;
}

.funnel-col.new h4 .badge {
	background: rgba(45, 190, 229, 0.18);
	color: var(--accent-300);
}


/* ============================================
   FLOW DIAGRAM
   ============================================ */
.flow-diagram {
	width: 100%;
	height: auto;
	display: block;
	overflow: visible;
}

.flow-source-icons {
	color: var(--accent-300);
	opacity: 0.9;
}

.flow-sources text {
	font-family: var(--font);
	font-size: 9.5px;
	font-weight: 700;
	fill: rgba(255, 255, 255, 0.8);
	letter-spacing: 0.08em;
}

.flow-feeds path {
	fill: none;
	stroke: rgba(255, 255, 255, 0.15);
	stroke-width: 1;
	stroke-dasharray: 2 3;
}

.flow-trunk {
	stroke: rgba(255, 255, 255, 0.2);
	stroke-width: 1.5;
}

.leak-out {
	fill: none;
	stroke: rgba(255, 255, 255, 0.22);
	stroke-width: 1.1;
	stroke-dasharray: 3 3;
}

.leak-catch {
	fill: none;
	stroke: var(--accent-400);
	stroke-width: 1.5;
	opacity: 0.55;
}

.leak-lost {
	fill: none;
	stroke: rgba(255, 255, 255, 0.12);
	stroke-width: 1;
	stroke-dasharray: 2 4;
}

.flow-stage circle {
	fill: var(--navy-900);
	stroke: rgba(255, 255, 255, 0.5);
	stroke-width: 1.5;
}

.flow-stage text {
	font-family: var(--font);
	font-size: 11px;
	font-weight: 600;
	fill: rgba(255, 255, 255, 0.85);
}

.flow-stage-end circle {
	fill: var(--accent-400);
	stroke: var(--accent-300);
	stroke-width: 2;
	filter: drop-shadow(0 0 8px rgba(45, 190, 229, 0.55));
}

.flow-stage-end text {
	font-weight: 700;
	fill: var(--accent-300);
}

.flow-dot {
	filter: drop-shadow(0 0 3px rgba(45, 190, 229, 0.55));
}

.flow-dot-contact {
	fill: var(--accent-400);
}

.flow-dot-applicant {
	fill: rgba(255, 255, 255, 0.85);
}

.flow-dot-lost {
	fill: rgba(255, 180, 130, 0.7);
	filter: none;
}

.flow-stat-svg .stat-divider {
	stroke: rgba(255, 255, 255, 0.12);
	stroke-width: 1;
}

.flow-stat-svg .stat-num {
	font-family: var(--font);
	font-size: 22px;
	font-weight: 800;
	fill: var(--accent-300);
	letter-spacing: -0.02em;
}

.flow-stat-svg .stat-cap {
	font-family: var(--font);
	font-size: 8.5px;
	font-weight: 600;
	fill: rgba(255, 255, 255, 0.55);
	letter-spacing: 0.1em;
}

@media (prefers-reduced-motion: reduce) {
	.flow-dots {
		display: none;
	}
}


.stage {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.6rem;
	padding: 0.55rem 0;
	font-size: 0.82rem;
}

.stage-num {
	width: 22px;
	height: 22px;
	border-radius: 4px;
	font-family: var(--mono);
	font-size: 0.65rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.6);
}

.stage.active .stage-num {
	background: var(--accent-400);
	color: var(--navy-900);
}

.stage-name {
	color: rgba(255, 255, 255, 0.85);
}

.stage.inactive {
	opacity: 0.4;
}

.stage.inactive .stage-name {
	color: rgba(255, 255, 255, 0.6);
}

.stage-status {
	font-family: var(--mono);
	font-size: 0.68rem;
	color: rgba(255, 255, 255, 0.5);
}

.stage.active .stage-status {
	color: var(--accent-300);
}

@media (max-width: 900px) {
	.philosophy-grid {
		grid-template-columns: 1fr;
	}

	.funnel-cols {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

/* ============================================
   PRODUCT / TABS
   ============================================ */
.product-hd {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 3rem;
}

.tabs {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 3rem;
	flex-wrap: wrap;
	padding: 0.4rem;
	background: #fff;
	border: 1px solid var(--ink-100);
	border-radius: 12px;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	box-shadow: var(--shadow-sm);
}

.tab {
	padding: 0.7rem 1.1rem;
	font-size: 1rem;
	font-weight: 600;
	color: var(--ink-700);
	border-radius: 8px;
	transition: all 0.18s ease;
	white-space: nowrap;
}

.tab:hover {
	color: var(--ink-900);
}

.tab.active {
	background: var(--brand-600);
	color: #fff;
	box-shadow: 0 2px 8px -2px rgba(21, 101, 192, 0.4);
}

.tab-num {
	font-family: var(--mono);
	font-size: 0.9rem;
	color: var(--ink-500);
	margin-right: 0.35rem;
}

.tab.active .tab-num {
	color: rgba(255, 255, 255, 0.75);
}

.panel {
	display: none;
}

.panel.active {
	display: block;
}

.panel-inner {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: clamp(2rem, 4vw, 4rem);
	align-items: center;
}

.panel-content h3 {
	margin-bottom: 1rem;
}

.panel-body {
	color: var(--ink-700);
	font-size: 1.02rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

.panel-features {
	margin-bottom: 1.75rem;
}

.panel-features li {
	display: flex;
	gap: 0.75rem;
	padding: 0.55rem 0;
	font-size: 0.95rem;
	color: var(--ink-800);
	line-height: 1.5;
}

.check {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--brand-100);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--brand-700);
	margin-top: 1px;
}

.panel-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--brand-600);
	border-bottom: 1px solid var(--brand-200);
	padding-bottom: 0.25rem;
	transition: gap 0.18s ease;
}

.panel-link:hover {
	gap: 0.7rem;
	color: var(--brand-700);
}

.panel .mockup {
	box-shadow: var(--shadow-xl);
}

@media (max-width: 900px) {
	.panel-inner {
		grid-template-columns: 1fr;
	}
}

/* ============================================
   PRODUCT MOCKUPS — pipeline, chat, calendar, mobile, analytics
   ============================================ */
.pipeline {
	padding: 1rem;
}

.pipeline-cols {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.65rem;
}

.pipe-col {
	background: var(--ink-50);
	border-radius: 8px;
	padding: 0.65rem;
	min-height: 240px;
}

.pipe-col-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.65rem;
	padding-bottom: 0.55rem;
	border-bottom: 1px solid var(--ink-100);
}

.pipe-col-name {
	font-size: 0.7rem;
	font-weight: 700;
	color: var(--ink-800);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.pipe-col-count {
	font-family: var(--mono);
	font-size: 0.65rem;
	color: var(--ink-600);
	background: #fff;
	padding: 0.15rem 0.4rem;
	border-radius: 4px;
}

.pipe-card {
	background: #fff;
	border-radius: 6px;
	padding: 0.6rem;
	margin-bottom: 0.5rem;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--ink-100);
}

.pipe-card-name {
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--ink-900);
	margin-bottom: 0.3rem;
}

.pipe-card-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: var(--mono);
	font-size: 0.62rem;
	color: var(--ink-600);
}

.pipe-tag {
	display: inline-block;
	font-size: 0.6rem;
	padding: 0.1rem 0.35rem;
	background: var(--brand-50);
	color: var(--brand-700);
	border-radius: 3px;
	font-weight: 600;
}

.pipe-tag.warn {
	background: #FFF3E8;
	color: #B7560E;
}

.chat {
	display: grid;
	grid-template-columns: 200px 1fr;
	height: 360px;
}

.chat-list {
	border-right: 1px solid var(--ink-100);
	padding: 0.65rem;
	overflow: hidden;
}

.chat-search {
	background: var(--ink-50);
	border-radius: 6px;
	padding: 0.4rem 0.55rem;
	font-family: var(--mono);
	font-size: 0.65rem;
	color: var(--ink-500);
	margin-bottom: 0.65rem;
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.chat-item {
	padding: 0.55rem;
	border-radius: 6px;
	cursor: pointer;
	margin-bottom: 0.2rem;
}

.chat-item.active {
	background: var(--brand-50);
}

.chat-item-name {
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--ink-900);
}

.chat-item-preview {
	font-size: 0.68rem;
	color: var(--ink-600);
	margin-top: 0.15rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.chat-item-time {
	font-family: var(--mono);
	font-size: 0.6rem;
	color: var(--ink-500);
	float: right;
}

.chat-item.unread .chat-item-name::after {
	content: '●';
	color: var(--accent-400);
	margin-left: 0.4rem;
	font-size: 0.6rem;
	vertical-align: middle;
}

.chat-thread {
	padding: 0.85rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	background: linear-gradient(180deg, #fff, var(--ink-50));
}

.msg {
	max-width: 75%;
	padding: 0.55rem 0.75rem;
	border-radius: 12px;
	font-size: 0.78rem;
	line-height: 1.4;
}

.msg.them {
	background: #fff;
	border: 1px solid var(--ink-100);
	color: var(--ink-800);
	align-self: flex-start;
	border-bottom-left-radius: 4px;
}

.msg.us {
	background: var(--brand-600);
	color: #fff;
	align-self: flex-end;
	border-bottom-right-radius: 4px;
}

.msg-time {
	font-family: var(--mono);
	font-size: 0.6rem;
	color: var(--ink-500);
	align-self: center;
	margin: 0.3rem 0;
}

.cal {
	padding: 1rem;
}

.cal-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
}

.cal-month {
	font-size: 0.88rem;
	font-weight: 700;
}

.cal-nav {
	display: flex;
	gap: 0.4rem;
}

.cal-nav button {
	width: 24px;
	height: 24px;
	border-radius: 4px;
	background: var(--ink-50);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ink-600);
	font-size: 0.7rem;
}

.cal-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
	background: var(--ink-100);
	border-radius: 6px;
	padding: 2px;
}

.cal-dow {
	font-family: var(--mono);
	font-size: 0.6rem;
	color: var(--ink-600);
	text-align: center;
	padding: 0.35rem 0;
	font-weight: 600;
}

.cal-day {
	background: #fff;
	padding: 0.4rem;
	min-height: 42px;
	font-size: 0.7rem;
	color: var(--ink-700);
	font-weight: 500;
	position: relative;
}

.cal-day.empty {
	background: var(--ink-50);
	color: var(--ink-300);
}

.cal-day.today {
	background: var(--brand-50);
	color: var(--brand-700);
	font-weight: 700;
}

.cal-event {
	display: block;
	font-size: 0.55rem;
	background: var(--brand-100);
	color: var(--brand-800);
	padding: 1px 3px;
	border-radius: 2px;
	margin-top: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-weight: 600;
	font-family: var(--mono);
}

.cal-event.fire {
	background: #FFE9DD;
	color: var(--warn);
}

.field-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	background: linear-gradient(135deg, var(--brand-50), #fff);
	border-radius: 12px;
	min-height: 360px;
}

.phone {
	width: 200px;
	height: 380px;
	background: var(--ink-900);
	border-radius: 28px;
	padding: 8px;
	box-shadow: var(--shadow-xl);
	position: relative;
}

.phone::before {
	content: '';
	position: absolute;
	top: 14px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 18px;
	background: var(--ink-900);
	border-radius: 12px;
	z-index: 1;
}

.phone-screen {
	background: #fff;
	border-radius: 22px;
	height: 100%;
	overflow: hidden;
	padding: 30px 12px 12px;
}

.phone-title {
	font-size: 0.78rem;
	font-weight: 700;
	margin-bottom: 0.65rem;
	padding-top: 0.25rem;
}

.phone-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.5rem 0.6rem;
	background: var(--ink-50);
	border-radius: 6px;
	margin-bottom: 0.35rem;
	font-size: 0.7rem;
}

.phone-row-name {
	font-weight: 600;
	color: var(--ink-800);
}

.phone-row-tag {
	font-family: var(--mono);
	font-size: 0.55rem;
	color: var(--ink-600);
}

.phone-row .ok {
	color: var(--brand-600);
}

.phone-btn {
	background: var(--brand-600);
	color: #fff;
	text-align: center;
	padding: 0.5rem;
	border-radius: 6px;
	font-size: 0.75rem;
	font-weight: 600;
	margin-top: 0.5rem;
}

.analytics {
	padding: 1rem;
}

.ana-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 1rem;
}

.ana-title {
	font-size: 0.85rem;
	font-weight: 700;
}

.ana-pill {
	font-family: var(--mono);
	font-size: 0.62rem;
	color: var(--ink-600);
	padding: 0.2rem 0.4rem;
	background: var(--ink-50);
	border-radius: 4px;
}

.ana-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.ana-stat {
	padding: 0.7rem;
	background: var(--ink-50);
	border-radius: 8px;
}

.ana-stat-label {
	font-size: 0.62rem;
	color: var(--ink-600);
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 0.25rem;
}

.ana-stat-val {
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--ink-900);
	line-height: 1;
	margin-bottom: 0.15rem;
}

.ana-stat-delta {
	font-family: var(--mono);
	font-size: 0.62rem;
}

.ana-stat-delta.up {
	color: var(--brand-600);
}

.ana-stat-delta.down {
	color: var(--warn);
}

.ana-chart {
	height: 120px;
	background: var(--ink-50);
	border-radius: 8px;
	padding: 0.7rem;
	overflow: hidden;
}

.ana-bars {
	display: flex;
	align-items: flex-end;
	justify-content: space-around;
	height: 100%;
	gap: 0.3rem;
}

.ana-bar {
	flex: 1;
	background: linear-gradient(180deg, var(--brand-600), var(--accent-400));
	border-radius: 3px 3px 0 0;
	min-width: 8px;
}

.ana-bar.muted {
	background: var(--ink-200);
}

/* ============================================
   WHY US
   ============================================ */
.why-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}

.why-card {
	padding: 1.75rem;
	background: #fff;
	border: 1px solid var(--ink-100);
	border-radius: var(--radius);
	transition: all 0.2s ease;
	box-shadow: var(--shadow-lg);
}

.why-card:hover {
	transform: translateY(-2px);
}

.why-icon {
	width: 40px;
	height: 40px;
	background: var(--brand-50);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--brand-600);
	margin-bottom: 1rem;
}

.why-title {
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.why-body {
	font-size: 0.94rem;
	color: var(--ink-600);
	line-height: 1.55;
}

@media (max-width: 900px) {
	.why-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 540px) {
	.why-grid {
		grid-template-columns: 1fr;
	}
}

/* ============================================
   INTEGRATIONS
   ============================================ */
.integrations-featured {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
	margin-bottom: 2rem;
}

.integration-card {
	padding: 2rem;
	background: #fff;
	border: 1px solid var(--ink-100);
	border-radius: var(--radius);
	transition: all 0.2s ease;
}

.integration-card:hover {
	border-color: var(--brand-300);
	box-shadow: var(--shadow-lg);
	transform: translateY(-2px);
}

.integration-card-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--ink-100);
}

.integration-logo {
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--ink-900);
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.integration-logo-pair {
	display: flex;
	align-items: baseline;
	gap: 0.7rem;
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--ink-900);
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.logo_small {}

.integration-logo-pair img {
	max-height: 50px;
	width: auto;
}

.integration-logo-pair span.sep {
	color: var(--ink-300);
	font-weight: 500;
	font-size: 1.1rem;
}

.integration-kind {
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--ink-600);
	line-height: 1.2;
	text-align: right;
	float: right;
}

.integration-title {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--ink-900);
	line-height: 1.3;
	margin-bottom: 0.65rem;
}

.integration-body {
	font-size: 0.94rem;
	color: var(--ink-700);
	line-height: 1.55;
}

.integrations-rest {
	background: #fff;
	border: 1px solid var(--ink-100);
	border-radius: var(--radius);
	padding: 1.75rem 2rem;
	display: grid;
	grid-template-columns: 1fr 2.2fr;
	gap: 2rem;
	align-items: center;
}

.integrations-rest-lead h4 {
	font-size: 1rem;
	font-weight: 700;
	color: var(--ink-900);
	margin-bottom: 0.35rem;
}

.integrations-rest-lead p {
	font-size: 0.88rem;
	color: var(--ink-600);
	line-height: 1.5;
}

.integrations-rest-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.6rem;
}

.integration-chip {
	background: var(--ink-50);
	border: 1px solid var(--ink-100);
	border-radius: 8px;
	padding: 0.75rem 0.85rem;
	text-align: left;
	transition: all 0.18s ease;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.integration-chip:hover {
	border-color: var(--brand-200);
	background: var(--brand-50);
}

.chip-name {
	display: block;
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--ink-900);
	margin-bottom: 0.15rem;
	letter-spacing: -0.01em;
}

.chip-kind {
	display: block;
	font-size: 0.72rem;
	color: var(--ink-600);
	line-height: 1.3;
}

@media (max-width: 900px) {
	.integrations-featured {
		grid-template-columns: 1fr;
	}

	.integrations-rest {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

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

@media (max-width: 540px) {
	.integrations-rest-grid {
		grid-template-columns: 1fr;
	}

	.integration-card-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.35rem;
	}

	.integration-kind {
		text-align: left;
	}
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
	background: var(--ink-50);
	border-top: 1px solid var(--ink-100);
	border-bottom: 1px solid var(--ink-100);
	padding: 2rem 0;
}

.trust-bar-inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	align-items: center;
}

.trust-cell {
	display: flex;
	gap: 0.85rem;
	align-items: flex-start;
}

.trust-cell-icon {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	background: #fff;
	border: 1px solid var(--ink-100);
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--brand-600);
}

.trust-cell-title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--ink-900);
	margin-bottom: 0.15rem;
}

.trust-cell-body {
	font-size: 0.9rem;
	color: var(--ink-600);
	line-height: 1.4;
}

@media (max-width: 900px) {
	.trust-bar-inner {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 540px) {
	.trust-bar-inner {
		grid-template-columns: 1fr;
	}
}

/* ============================================
   FINAL CTA
   ============================================ */
.cta-final {
	background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--brand-800) 100%);
	color: #fff;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.cta-final::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(800px 400px at 50% 100%, rgba(45, 190, 229, 0.25), transparent 60%);
	pointer-events: none;
}

.cta-final-inner {
	position: relative;
	max-width: 640px;
	margin: 0 auto;
}

.cta-final h2 {
	color: #fff;
	margin-bottom: 1rem;
}

.cta-final p {
	color: rgba(255, 255, 255, 0.8);
	font-size: 1.05rem;
	margin-bottom: 2rem;
}

.cta-final-ctas {
	display: flex;
	gap: 0.75rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
	background: var(--navy-900);
	color: var(--ink-300);
	padding: 4rem 0 2rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.6fr repeat(4, 1fr);
	gap: 3rem;
	padding-bottom: 3rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
	height: 28px;
	margin-bottom: 1rem;
}

.footer-brand p {
	font-size: 0.88rem;
	line-height: 1.55;
	max-width: 30ch;
	color: var(--ink-300);
}

.footer-col h5 {
	font-size: 0.78rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 1rem;
	letter-spacing: 0.02em;
}

.footer-col li {
	margin-bottom: 0.6rem;
}

.footer-col a {
	font-size: 0.88rem;
	color: var(--ink-300);
	transition: color 0.15s ease;
}

.footer-col a:hover {
	color: var(--accent-300);
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1.5rem;
	flex-wrap: wrap;
	padding-top: 2rem;
	font-size: 0.82rem;
	color: var(--ink-300);
}

.footer-bottom-links {
	display: flex;
	gap: 1.5rem;
}

.footer-bottom-links a:hover {
	color: var(--accent-300);
}

@media (max-width: 900px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
	}
}

@media (max-width: 540px) {
	.footer-grid {
		grid-template-columns: 1fr;
	}
}

/* ============================================
   FOOTER — NEWSLETTER FORM (Mailchimp)
   ============================================ */
.footer-newsletter-intro {
	font-size: 0.85rem;
	color: var(--ink-300);
	line-height: 1.5;
	margin-bottom: 1rem;
}

.footer-newsletter-form {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.footer-newsletter-input {
	width: 100%;
	padding: 0.7rem 0.85rem;
	font-family: var(--font);
	font-size: 0.88rem;
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 8px;
	transition: border-color 0.18s ease, background 0.18s ease;
}

.footer-newsletter-input::placeholder {
	color: rgba(255, 255, 255, 0.45);
}

.footer-newsletter-input:focus {
	outline: none;
	border-color: var(--accent-400);
	background: rgba(255, 255, 255, 0.1);
}

.footer-newsletter-btn {
	width: 100%;
	padding: 0.75rem 1rem;
	font-family: var(--font);
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--navy-900);
	background: var(--accent-400);
	border: 1px solid transparent;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
	box-shadow: 0 1px 2px rgba(45, 190, 229, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.footer-newsletter-btn:hover {
	background: var(--accent-300);
	transform: translateY(-1px);
	box-shadow: 0 8px 24px -8px rgba(45, 190, 229, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.footer-newsletter-response {
	margin-top: 0.25rem;
	min-height: 0;
}

.footer-newsletter-response .response {
	padding: 0.55rem 0.75rem;
	border-radius: 6px;
	font-size: 0.8rem;
	line-height: 1.4;
}

.footer-newsletter-response #mce-error-response {
	background: rgba(225, 77, 42, 0.15);
	border: 1px solid rgba(225, 77, 42, 0.35);
	color: #FFB59E;
}

.footer-newsletter-response #mce-success-response {
	background: rgba(45, 190, 229, 0.12);
	border: 1px solid rgba(45, 190, 229, 0.35);
	color: var(--accent-300);
}

/* Screen-reader-only utility (used by hidden form labels) */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Reveal */
.reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
	opacity: 1;
	transform: translateY(0);
}


/* ============================================
   SERVES STRIP (verticals reminder, below hero)
   ============================================ */
.serves-strip {
	background: var(--navy-900);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	padding: 1.1rem 0;
}

.serves-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.25rem;
	flex-wrap: wrap;
}

.serves-tag {
	font-size: 0.7rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.45);
	letter-spacing: 0.12em;
}

.serves-list {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.serves-item {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.9rem;
	font-weight: 600;
}

.serves-item i {
	color: var(--accent-400);
	font-size: 0.9rem;
}

.serves-dot {
	color: rgba(255, 255, 255, 0.2);
	font-weight: 400;
}

@media (max-width: 640px) {
	.serves-inner {
		gap: 0.6rem;
	}

	.serves-list {
		gap: 0.5rem;
	}

	.serves-item {
		font-size: 0.8rem;
	}

	.serves-tag {
		font-size: 0.65rem;
	}
}

.section-hd-center.tight {
	margin-bottom: 0;
}

/* Add to style.css — alongside the existing .feat-grid rules */
.feat-grid.feat-grid-reverse > :first-child {
	order: 2;
}

@media (max-width: 900px) {
	.feat-grid.feat-grid-reverse > :first-child {
		order: initial;
	}
}

/* ============================================================
   RECENT NEWS GRID (homepage AJAX widget)
   The script injects Bootstrap-style markup into #posts_container.
   Scoped so it only restyles that grid and matches the new cards.
   ============================================================ */

#posts_container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-top: 1rem;
	margin-bottom: 3rem; /* breathing room before the Read More button */
}

/* Neutralize the injected Bootstrap column wrappers */
#posts_container .col-12,
#posts_container [class*="col-"] {
	width: 100%;
	max-width: 100%;
	padding: 0;
	margin: 0;
	float: none;
	display: flex;
}

/* Card shell — matches .org-card */
#posts_container .card {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 0;
	background: #fff;
	border: 1px solid var(--ink-100);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	overflow: hidden;            /* clips the image to the rounded corners */
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#posts_container .card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-xl);
}

/* Featured image — forced 16:9 so the three cards line up regardless of
   source image dimensions, and clipped to the card's top radius */
#posts_container .card > a:first-child {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--ink-50);
	border-bottom: 1px solid var(--ink-100);
}

#posts_container .card-img-top {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

#posts_container .card:hover .card-img-top {
	transform: scale(1.04);
}

/* Body */
#posts_container .card-body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding: 1.5rem 1.75rem 1.75rem;
}

/* Date — moved above the title, tight mono label */
#posts_container .card-body .d-flex {
	order: -1;
	margin: 0 0 0.7rem 0 !important;
}

#posts_container .card-body h6 {
	font-family: var(--mono);
	font-size: 0.72rem;
	font-weight: 500;
	color: var(--ink-500);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0 !important;
	padding: 0 !important;
}

/* Title — tightened rhythm, no big gap to the date below */
#posts_container .card-body a.h3 {
	font-size: 1.2rem !important;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ink-900);
	letter-spacing: -0.01em;
	margin: 0;
	transition: color 0.15s ease;
}

#posts_container .card:hover .card-body a.h3 {
	color: var(--brand-600);
}

@media (max-width: 900px) {
	#posts_container {
		grid-template-columns: 1fr;
	}
}