/* ==========================================================================
   PilotCV — Home (redesign)
   Token system
   ========================================================================== */

:root {
	/* Dark surfaces (ink) */
	--ink: #0b1220;
	--ink-2: #121b2d;
	--ink-3: #1b2740;
	--line: #232e47;

	/* Light surfaces (paper) */
	--paper: #fafaf7;
	--paper-2: #f1efe9;
	--line-light: #e4e1d8;

	/* Text */
	--text-on-dark: #e9edf5;
	--text-on-dark-muted: #8a93a8;
	--navy-text: #16203a;
	--navy-text-muted: #5b6478;

	/* Accent: a single gold hairline, used everywhere as the signature device */
	--gold: #c9a24a;
	--gold-soft: rgba(201, 162, 74, 0.35);
	--gold-dim: #8c7232;

	/* Type */
	--font-display:
		"Archivo", ui-sans-serif, system-ui, -apple-system, sans-serif;
	--font-body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
	--font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	--radius: 14px;
	--radius-sm: 8px;
	--shadow-card: 0 18px 50px -12px rgba(11, 18, 32, 0.45);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.pcv-body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--navy-text);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 3px;
	border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
	* {
		animation: none !important;
		transition: none !important;
	}
}

/* --------------------------------------------------------------------------
   Top nav
   -------------------------------------------------------------------------- */

.pcv-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 32px;
	background: var(--ink);
}

.pcv-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}
.pcv-logo-mark {
	width: 50px;
	height: 50px;
	color: var(--gold);
	flex-shrink: 0;
}
.pcv-wordmark {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.15rem;
	letter-spacing: -0.01em;
	color: #fff;
}

.pcv-nav {
	display: flex;
	align-items: center;
	gap: 28px;
	font-size: 0.95rem;
}

.pcv-nav a {
	text-decoration: none;
	color: var(--text-on-dark-muted);
	transition: color 0.15s ease;
}

.pcv-nav a:hover {
	color: var(--text-on-dark);
}

.pcv-nav-cta {
	color: var(--ink) !important;
	background: var(--gold);
	padding: 9px 16px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.88rem;
}

.pcv-nav-cta:hover {
	background: #d6b262;
}

.pcv-mobile-toggle {
	display: none;
	background: none;
	border: none;
	color: var(--text-on-dark);
	font-size: 1.4rem;
	cursor: pointer;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero-shell {
	background: var(--ink);
}

.hero {
	max-width: 1180px;
	margin: 0 auto;
	padding: 64px 32px 88px;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 56px;
	align-items: center;
}

.hero-eyebrow {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold);
	margin: 0 0 14px;
}

.hero-left h1 {
	font-family: var(--font-display);
	font-weight: 800;
	letter-spacing: -0.02em;
	font-size: clamp(2.3rem, 4.4vw, 3.4rem);
	line-height: 1.08;
	margin: 0 0 20px;
	color: #ffffff;
}

.hero-lead {
	font-size: 1.08rem;
	line-height: 1.65;
	color: var(--text-on-dark-muted);
	max-width: 480px;
	margin: 0 0 28px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 14px;
}

.pcv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 22px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.96rem;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition:
		transform 0.12s ease,
		background 0.15s ease,
		border-color 0.15s ease;
}

.pcv-btn-primary {
	background: var(--gold);
	color: var(--ink);
}
.pcv-btn-primary:hover {
	background: #d6b262;
	transform: translateY(-1px);
}

.pcv-btn-ghost {
	background: transparent;
	color: var(--text-on-dark);
	border-color: var(--line);
}
.pcv-btn-ghost:hover {
	border-color: var(--gold-soft);
	transform: translateY(-1px);
}

.pcv-btn-full {
	width: 100%;
}

.hero-note {
	font-size: 0.88rem;
	color: var(--text-on-dark-muted);
	margin: 0 0 28px;
}

/* CV preview card (built in CSS, not a screenshot) */

.hero-right {
	display: flex;
	justify-content: center;
}

.cv-preview {
	width: 100%;
	max-width: 360px;
	background: var(--paper);
	border-radius: var(--radius);
	box-shadow: var(--shadow-card);
	padding: 30px 28px;
	font-size: 0.86rem;
	color: var(--navy-text);
}

.cv-preview__head {
	margin-bottom: 12px;
}

.cv-preview__name {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.3rem;
	letter-spacing: -0.01em;
}

.cv-preview__role {
	font-size: 0.82rem;
	color: var(--navy-text-muted);
	margin-top: 2px;
}

.cv-preview__rule {
	height: 2px;
	background: var(--gold);
	margin: 14px 0 16px;
	width: 100%;
}

.cv-preview__row {
	display: grid;
	grid-template-columns: 92px 1fr;
	gap: 10px;
	padding: 9px 0;
	border-bottom: 1px solid var(--line-light);
}

.cv-preview__row:last-of-type {
	border-bottom: none;
}

.cv-preview__label {
	font-family: var(--font-mono);
	font-size: 0.66rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--navy-text-muted);
	padding-top: 2px;
}

.cv-preview__foot {
	margin-top: 16px;
	font-family: var(--font-mono);
	font-size: 0.62rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--line-light);
	text-align: right;
}

/* One orchestrated load-in, hero only */
@media (prefers-reduced-motion: no-preference) {
	.hero-eyebrow,
	.hero-left h1,
	.hero-lead,
	.hero-actions,
	.hero-note,
	.hero-right {
		opacity: 0;
		animation: pcv-rise 0.6s ease forwards;
	}
	.hero-eyebrow {
		animation-delay: 0.02s;
	}
	.hero-left h1 {
		animation-delay: 0.08s;
	}
	.hero-lead {
		animation-delay: 0.16s;
	}
	.hero-actions {
		animation-delay: 0.24s;
	}
	.hero-note {
		animation-delay: 0.3s;
	}
	.hero-right {
		animation-delay: 0.18s;
	}
}

@keyframes pcv-rise {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* --------------------------------------------------------------------------
   Hairline divider (the signature device, reused throughout)
   -------------------------------------------------------------------------- */

.hairline {
	height: 1px;
	background: linear-gradient(
		90deg,
		transparent,
		var(--gold-soft) 50%,
		transparent
	);
}

/* --------------------------------------------------------------------------
   Features
   -------------------------------------------------------------------------- */

.section-gap {
	padding: 80px 32px;
}

.strip {
	max-width: 1180px;
	margin: 0 auto;
	background: var(--paper);
}

.strip h2 {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.6rem, 2.6vw, 2.1rem);
	letter-spacing: -0.01em;
	margin: 0 0 40px;
	text-align: center;
	/* max-width: 640px; */
}

.strip-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.feature-card {
	background: var(--paper);
	border: 1px solid var(--line-light);
	border-radius: var(--radius);
	padding: 28px 24px;
}

.feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--paper-2);
	color: var(--gold-dim);
	margin-bottom: 18px;
}
.feature-icon svg {
	width: 22px;
	height: 22px;
}

.feature-card h3 {
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0 0 10px;
}

.feature-card p {
	font-size: 0.92rem;
	line-height: 1.62;
	color: var(--navy-text-muted);
	margin: 0;
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.pricing-shell {
	background: var(--ink);
}

.pricing.section-gap {
	display: grid;
	grid-template-columns: 0.9fr 1fr;
	gap: 48px;
	max-width: 1180px;
	margin: 0 auto;
	padding: 80px 32px;
	align-items: start;
}

.pricing-card {
	background: var(--paper);
	border-radius: var(--radius);
	padding: 36px 32px;
	box-shadow: var(--shadow-card);
}

.badge {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gold-dim);
	background: var(--paper-2);
	border-radius: 999px;
	padding: 6px 12px;
	margin: 0 0 18px;
}

.price-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 8px;
}

.pricing-card h2 {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 2.4rem;
	margin: 0;
}

#pcv-currency {
	font-size: 1rem;
	color: var(--navy-text-muted);
	font-weight: 600;
}

.price-pills {
	display: inline-flex;
	background: var(--paper-2);
	border-radius: 999px;
	padding: 4px;
	gap: 2px;
}

.pill {
	border: none;
	background: transparent;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	padding: 6px 11px;
	border-radius: 999px;
	cursor: pointer;
	color: var(--navy-text-muted);
}

.pill.is-active {
	background: var(--ink);
	color: #fff;
}

.pricing-card .lead {
	font-size: 0.96rem;
	color: var(--navy-text-muted);
	margin: 4px 0 20px;
}

.pricing-card ul {
	list-style: none;
	padding: 0;
	margin: 0 0 26px;
	display: grid;
	gap: 11px;
}

.pricing-card li {
	font-size: 0.92rem;
	padding-left: 22px;
	position: relative;
}

.pricing-card li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 9px;
	height: 2px;
	background: var(--gold);
}

.pricing-card .foot {
	font-size: 0.76rem;
	color: var(--navy-text-muted);
	text-align: center;
	margin: 14px 0 0;
	visibility: hidden;
}

.pricing-side.info-panel {
	color: var(--text-on-dark);
	padding-top: 8px;
}

.pricing-side h3 {
	font-family: var(--font-display);
	font-size: 1.2rem;
	margin: 0 0 16px;
	color: #fff;
}

.pricing-side ul {
	list-style: none;
	padding: 0;
	margin: 0 0 28px;
	display: grid;
	gap: 12px;
}

.pricing-side li {
	font-size: 0.92rem;
	color: var(--text-on-dark-muted);
	padding-left: 18px;
	position: relative;
	line-height: 1.5;
}

.pricing-side li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 7px;
	height: 1px;
	background: var(--gold-soft);
}

.pricing-side h4 {
	font-family: var(--font-display);
	font-size: 0.98rem;
	color: #fff;
	margin: 0 0 8px;
}

.pricing-side p {
	font-size: 0.92rem;
	line-height: 1.62;
	color: var(--text-on-dark-muted);
	margin: 0 0 18px;
}

.pricing-side .muted {
	font-size: 0.84rem;
	color: var(--text-on-dark-muted);
	border-top: 1px solid var(--line);
	padding-top: 16px;
}

/* --------------------------------------------------------------------------
   Footer (footer.css supplies most rules; these harmonise the new palette)
   -------------------------------------------------------------------------- */

.pcv-footer-home {
	background: var(--ink) !important;
	color: var(--text-on-dark-muted) !important;
	border-top: 1px solid var(--line) !important;
	/* max-width: 1180px; */
	margin: 60px 0 auto;
	padding: 22px 32px !important;
	min-height: auto;
	font-size: 0.84rem;
}

.pcv-footer-home .pcv-footer-links span {
	opacity: 0.7;
}

.pcv-footer-home a,
.pcv-footer-home .pcv-linklike {
	color: var(--text-on-dark-muted) !important;
}

.pcv-footer-home a:hover,
.pcv-footer-home .pcv-linklike:hover {
	color: var(--gold) !important;
}

@media (max-width: 720px) {
	.pcv-footer-home {
		padding: 20px 20px !important;
	}
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
	.hero {
		grid-template-columns: 1fr;
		padding: 48px 24px 64px;
		gap: 40px;
	}
	.hero-right {
		order: -1;
	}
	.hero-lead {
		max-width: none;
	}

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

	.pricing.section-gap {
		grid-template-columns: 1fr;
		padding: 56px 24px;
	}
}

@media (max-width: 720px) {
	.pcv-topbar {
		padding: 16px 20px;
	}

	.pcv-nav {
		display: none;
		position: absolute;
		top: 64px;
		left: 0;
		right: 0;
		background: var(--ink);
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		padding: 20px 24px 28px;
		border-bottom: 1px solid var(--line);
		z-index: 20;
	}

	.pcv-nav.is-open {
		display: flex;
	}
	.pcv-nav-cta {
		align-self: flex-start;
	}

	.pcv-mobile-toggle {
		display: inline-flex;
	}

	.section-gap {
		padding: 56px 20px;
	}
}
