:root {
	--jt-bg: #f6f8fb;
	--jt-surface: #ffffff;
	--jt-surface-muted: #eef3f8;
	--jt-text: #17202a;
	--jt-muted: #617080;
	--jt-border: #dbe4ee;
	--jt-brand: #2271b1;
	--jt-brand-dark: #165783;
	--jt-shadow: 0 14px 34px rgba(23, 32, 42, 0.08);
	--jt-radius: 16px;
}

* {
	box-sizing: border-box;
}

body.jobtrackr-app-shell {
	margin: 0;
	background: var(--jt-bg);
	color: var(--jt-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.5;
}

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

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

.jt-shell {
	min-height: 100vh;
	padding-bottom: 76px;
}

.jt-sidebar {
	display: none;
}

.jt-main-wrap {
	min-width: 0;
}

.jt-topbar {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 16px;
	border-bottom: 1px solid var(--jt-border);
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(14px);
}

.jt-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--jt-text);
	font-weight: 800;
}

.jt-brand-mark {
	display: grid;
	width: 36px;
	height: 36px;
	border-radius: 12px;
	background: var(--jt-brand);
	color: #fff;
	place-items: center;
	box-shadow: 0 8px 18px rgba(34, 113, 177, 0.25);
}

.jt-topbar-actions a,
.jt-hero-actions a,
.jt-actions a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	border-radius: 12px;
	padding: 8px 14px;
	background: var(--jt-surface-muted);
	color: var(--jt-text);
	font-weight: 700;
}

.jt-main {
	width: min(1180px, 100%);
	margin: 0 auto;
	padding: 18px 14px 28px;
}

.jt-page-card,
.jt-login-prompt,
.jt-feature-card {
	border: 1px solid var(--jt-border);
	border-radius: var(--jt-radius);
	background: var(--jt-surface);
	box-shadow: var(--jt-shadow);
}

.jt-page-card {
	padding: 18px;
}

.jt-page-header {
	margin-bottom: 18px;
}

.jt-page-header p,
.jt-hero p,
.jt-feature-card span {
	margin: 0 0 6px;
	color: var(--jt-muted);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.jt-page-header h1,
.jt-hero h1 {
	margin: 0;
	font-size: 30px;
	line-height: 1.12;
}

.jt-content {
	min-width: 0;
}

.jt-content table {
	display: block;
	width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
	white-space: nowrap;
}

.jt-content input,
.jt-content select,
.jt-content textarea,
.jt-content button {
	max-width: 100%;
	border-radius: 10px;
}

.jt-content button,
.jt-content input[type="submit"] {
	border: 0;
	padding: 10px 14px;
	background: var(--jt-brand);
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}

.jt-core-missing {
	border: 1px solid var(--jt-border);
	border-radius: 14px;
	padding: 18px;
	background: var(--jt-surface-muted);
}

.jt-core-missing strong {
	display: block;
	margin-bottom: 6px;
	font-size: 18px;
}

.jt-core-missing p {
	margin: 0;
	color: var(--jt-muted);
}

.jt-hero {
	display: grid;
	min-height: 54vh;
	align-items: end;
	border-radius: 22px;
	padding: 28px;
	background: linear-gradient(135deg, #ffffff 0%, #dcecf8 48%, #f5f0e7 100%);
	box-shadow: var(--jt-shadow);
}

.jt-landing-hero {
	position: relative;
	min-height: 68vh;
	overflow: hidden;
	background:
		linear-gradient(90deg, rgba(246, 248, 251, 0.98) 0%, rgba(246, 248, 251, 0.88) 42%, rgba(246, 248, 251, 0.24) 100%),
		url("../img/jobtrackr-hero.png") center right / cover no-repeat;
}

.jt-landing-hero::after {
	position: absolute;
	inset: auto 18px 18px auto;
	width: min(220px, 32vw);
	height: 6px;
	border-radius: 999px;
	background: rgba(34, 113, 177, 0.32);
	content: "";
}

.jt-hero-copy {
	position: relative;
	z-index: 1;
	max-width: 680px;
}

.jt-hero h1 {
	max-width: 720px;
	font-size: 38px;
}

.jt-hero-lede {
	max-width: 660px;
	margin: 14px 0 0;
	color: var(--jt-muted);
	font-size: 18px;
}

.jt-hero-actions,
.jt-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.jt-hero-actions a:first-child {
	background: var(--jt-brand);
	color: #fff;
}

.jt-card-grid {
	display: grid;
	gap: 14px;
	margin-top: 16px;
}

.jt-feature-card {
	display: grid;
	gap: 8px;
	padding: 18px;
	color: var(--jt-text);
}

.jt-feature-card strong {
	font-size: 18px;
}

.jt-section {
	margin-top: 18px;
	border: 1px solid var(--jt-border);
	border-radius: var(--jt-radius);
	padding: 20px;
	background: var(--jt-surface);
	box-shadow: var(--jt-shadow);
}

.jt-section-header {
	max-width: 760px;
	margin-bottom: 18px;
}

.jt-section-header p,
.jt-highlight-section p:first-child,
.jt-cta-section p:first-child {
	margin: 0 0 6px;
	color: var(--jt-muted);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.jt-section h2,
.jt-cta-section h2 {
	margin: 0;
	font-size: 26px;
	line-height: 1.18;
}

.jt-feature-grid {
	margin-top: 0;
}

.jt-feature-grid .jt-feature-card {
	box-shadow: none;
}

.jt-split-section {
	display: grid;
	gap: 18px;
}

.jt-steps {
	display: grid;
	gap: 12px;
}

.jt-step {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	border: 1px solid var(--jt-border);
	border-radius: 14px;
	padding: 14px;
	background: var(--jt-surface-muted);
}

.jt-step span {
	display: grid;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--jt-brand);
	color: #fff;
	font-weight: 900;
	place-items: center;
}

.jt-step p {
	margin: 0;
	font-weight: 700;
}

.jt-highlight-section {
	display: grid;
	gap: 14px;
	background: #ffffff;
}

.jt-highlight-section > p:last-child {
	margin: 0;
	color: var(--jt-muted);
	font-size: 17px;
}

.jt-highlight-alt {
	background: #f9fbfd;
}

.jt-pricing-grid {
	display: grid;
	gap: 14px;
}

.jt-pricing-card {
	border: 1px solid var(--jt-border);
	border-radius: var(--jt-radius);
	padding: 18px;
	background: var(--jt-surface);
	box-shadow: 0 10px 22px rgba(23, 32, 42, 0.06);
}

.jt-pricing-card span {
	display: block;
	color: var(--jt-muted);
	font-weight: 800;
	text-transform: uppercase;
}

.jt-pricing-card strong {
	display: block;
	margin: 8px 0;
	font-size: 30px;
	line-height: 1.1;
}

.jt-pricing-card p,
.jt-pricing-note {
	margin: 0;
	color: var(--jt-muted);
}

.jt-pricing-note {
	margin-top: 14px;
	font-size: 14px;
}

.jt-cta-section {
	background: var(--jt-brand);
	color: #fff;
}

.jt-cta-section p:first-child,
.jt-cta-section .jt-hero-actions a {
	color: #fff;
}

.jt-cta-section .jt-hero-actions a {
	background: rgba(255, 255, 255, 0.16);
}

.jt-cta-section .jt-hero-actions a:first-child {
	background: #fff;
	color: var(--jt-brand);
}

.jt-landing-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
	margin-top: 18px;
	padding: 18px 4px 0;
	color: var(--jt-muted);
}

.jt-landing-footer strong {
	color: var(--jt-text);
}

.jt-bottom-nav {
	position: fixed;
	right: 10px;
	bottom: 10px;
	left: 10px;
	z-index: 30;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(74px, 1fr);
	gap: 4px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	border: 1px solid var(--jt-border);
	border-radius: 18px;
	padding: 8px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: var(--jt-shadow);
	backdrop-filter: blur(14px);
}

.jt-bottom-nav::-webkit-scrollbar {
	display: none;
}

.jt-bottom-nav a {
	display: grid;
	gap: 2px;
	place-items: center;
	min-width: 70px;
	color: var(--jt-muted);
	font-size: 11px;
	font-weight: 700;
}

.jt-bottom-nav a span:first-child {
	font-size: 17px;
}

@media (min-width: 760px) {
	.jt-main {
		padding: 26px;
	}

	.jt-page-card {
		padding: 26px;
	}

	.jt-card-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.jt-feature-grid,
	.jt-pricing-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.jt-split-section,
	.jt-highlight-section {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		align-items: center;
	}
}

@media (min-width: 1040px) {
	.jt-shell {
		display: grid;
		grid-template-columns: 260px minmax(0, 1fr);
		padding-bottom: 0;
	}

	.jt-sidebar {
		position: sticky;
		top: 0;
		display: flex;
		height: 100vh;
		flex-direction: column;
		gap: 24px;
		border-right: 1px solid var(--jt-border);
		padding: 22px;
		background: var(--jt-surface);
	}

	.jt-sidebar-nav {
		display: grid;
		gap: 8px;
	}

	.jt-sidebar-nav a {
		display: flex;
		align-items: center;
		gap: 10px;
		border-radius: 12px;
		padding: 12px;
		color: var(--jt-muted);
		font-weight: 800;
	}

	.jt-sidebar-nav a:hover,
	.jt-sidebar-nav a:focus {
		background: var(--jt-surface-muted);
		color: var(--jt-text);
	}

	.jt-brand-mobile,
	.jt-bottom-nav {
		display: none;
	}

	.jt-main {
		padding: 32px;
	}

	.jt-page-header h1,
	.jt-hero h1 {
		font-size: 44px;
	}

	.jt-landing-hero {
		min-height: 72vh;
		padding: 48px;
	}

	.jt-section {
		margin-top: 22px;
		padding: 28px;
	}

	.jt-section h2,
	.jt-cta-section h2 {
		font-size: 34px;
	}

	.jt-feature-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.jt-pricing-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
