/* ─────────────────────────────────────────────────────────────────────────
   Launchpad — landing page styles
   Light theme, deep-ink hero and footer bands, one orange accent.
   ───────────────────────────────────────────────────────────────────────── */

:root {
	color-scheme: light;

	--bg: #fafaf9;
	--surface: #ffffff;
	--ink: #0e1524;
	--text: #232a35;
	--muted: #5d6875;
	--faint: #8b95a3;

	--border: #e7e5e0;
	--border-strong: #d9d6cf;

	--accent: #ea580c;
	--accent-strong: #c2410c;
	--accent-deep: #9a3412;
	--accent-soft: #fdeee2;
	--accent-ring: rgba(234, 88, 12, 0.22);

	--on-ink: #f4f6fa;
	--on-ink-muted: #a4afc0;
	--on-ink-faint: #76839a;

	--danger: #d92d20;

	--radius: 10px;
	--shadow-card: 0 1px 2px rgba(23, 30, 43, 0.05);
	--shadow-raised: 0 16px 40px -12px rgba(14, 21, 36, 0.28);

	--nav-h: 64px;
}

/* ── Reset & base ─────────────────────────────────────────────────────── */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--nav-h) + 14px);
}

body {
	margin: 0;
	font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
		sans-serif;
	font-size: 15px;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img,
svg {
	display: block;
}

a {
	color: inherit;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
	text-wrap: balance;
}

p {
	margin: 0;
	text-wrap: pretty;
}

::selection {
	background: rgba(234, 88, 12, 0.22);
}

:focus-visible {
	outline: 2px solid var(--accent-strong);
	outline-offset: 2px;
}

/* ── Layout helpers ───────────────────────────────────────────────────── */

.container {
	width: 100%;
	max-width: 1128px;
	margin-inline: auto;
	padding-inline: 24px;
}

.section {
	padding-block: 96px;
}

.section-head {
	max-width: 640px;
	margin-bottom: 52px;
}

.eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent-strong);
	margin-bottom: 12px;
}

.section-head h2 {
	font-size: clamp(1.55rem, 1.2rem + 1.8vw, 2rem);
}

.section-sub {
	margin-top: 12px;
	color: var(--muted);
	max-width: 58ch;
}

/* ── Buttons ──────────────────────────────────────────────────────────── */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 18px;
	min-height: 42px;
	border-radius: var(--radius);
	border: 1px solid transparent;
	font: inherit;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	text-decoration: none;
	white-space: nowrap;
	transition:
		transform 120ms ease-out,
		background-color 150ms ease-out,
		border-color 150ms ease-out,
		color 150ms ease-out,
		opacity 150ms ease-out;
}

.btn:active {
	transform: scale(0.97);
}

.btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.btn-primary {
	background: var(--accent-strong);
	color: #fff;
}

.btn-primary:hover {
	background: var(--accent-deep);
}

.btn-outline {
	background: transparent;
	border-color: var(--border-strong);
	color: var(--text);
}

.btn-outline:hover {
	border-color: var(--faint);
	background: var(--surface);
}

.btn-sm {
	min-height: 36px;
	padding: 8px 14px;
	font-size: 14px;
}

.btn-block {
	width: 100%;
}

/* ── Nav ──────────────────────────────────────────────────────────────── */

.nav {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(250, 250, 249, 0.88);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color 200ms ease-out;
}

.nav.is-scrolled {
	border-bottom-color: var(--border);
}

.nav-inner {
	display: flex;
	align-items: center;
	gap: 28px;
	height: var(--nav-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-weight: 700;
	font-size: 15.5px;
	letter-spacing: -0.01em;
	text-decoration: none;
	color: var(--text);
}

.brand-mark {
	flex: none;
}

.nav-links {
	display: flex;
	gap: 4px;
	margin-right: auto;
}

.nav-links a {
	font-size: 14px;
	font-weight: 500;
	color: var(--muted);
	text-decoration: none;
	padding: 8px 12px;
	border-radius: var(--radius);
	transition:
		color 120ms ease-out,
		background-color 120ms ease-out;
}

.nav-links a:hover {
	color: var(--text);
	background: rgba(23, 30, 43, 0.05);
}

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin-left: auto;
	padding: 0;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--text);
	cursor: pointer;
}

.mobile-menu {
	position: absolute;
	top: var(--nav-h);
	left: 0;
	right: 0;
	padding: 6px 24px 20px;
	background: var(--bg);
	border-bottom: 1px solid var(--border);
	box-shadow: 0 12px 24px rgba(14, 21, 36, 0.06);
	visibility: hidden;
	opacity: 0;
	transform: translateY(-6px);
	transition:
		opacity 180ms ease-out,
		transform 180ms ease-out,
		visibility 180ms;
}

.mobile-menu.is-open {
	visibility: visible;
	opacity: 1;
	transform: none;
}

.mobile-menu a:not(.btn) {
	display: block;
	padding: 11px 0;
	font-size: 15px;
	font-weight: 500;
	color: var(--text);
	text-decoration: none;
	border-bottom: 1px solid var(--border);
}

.mobile-menu .btn {
	margin-top: 16px;
}

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

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

@media (min-width: 720px) {
	.mobile-menu {
		display: none;
	}
}

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero {
	background:
		radial-gradient(56rem 30rem at 82% -20%, rgba(234, 88, 12, 0.18), transparent 62%),
		var(--ink);
	color: var(--on-ink-muted);
	padding: 96px 0 104px;
}

.hero-inner {
	max-width: 800px;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 500;
	color: var(--on-ink-muted);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.14);
	padding: 5px 12px;
	border-radius: 999px;
	margin-bottom: 26px;
}

.badge-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent);
}

.hero h1 {
	font-size: clamp(2.3rem, 1.6rem + 3.4vw, 3.55rem);
	letter-spacing: -0.03em;
	line-height: 1.06;
	color: var(--on-ink);
}

.hero-sub {
	margin-top: 20px;
	font-size: 16.5px;
	color: var(--on-ink-muted);
	max-width: 58ch;
}

.hero-form {
	margin-top: 34px;
	max-width: 470px;
}

.hero-field {
	display: flex;
	gap: 10px;
}

.hero-field input {
	flex: 1;
	min-width: 0;
	padding: 11px 14px;
	font: inherit;
	font-size: 16px;
	color: var(--on-ink);
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--radius);
}

.hero-field input::placeholder {
	color: var(--on-ink-faint);
}

.hero-field input:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-ring);
}

.hero-field input.is-invalid {
	border-color: #f87171;
}

.hero-error {
	color: #f87171;
}

.hero-note {
	margin-top: 12px;
	font-size: 13.5px;
	color: var(--on-ink-faint);
}

.hero-success {
	color: var(--on-ink);
	font-size: 14.5px;
}

.hero-success strong {
	color: var(--on-ink);
}

/* Hero entrance: small staggered rise, transform/opacity only */
@keyframes rise {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.hero-badge,
.hero h1,
.hero-sub,
.hero-form {
	animation: rise 480ms cubic-bezier(0.23, 1, 0.32, 1) backwards;
}

.hero h1 {
	animation-delay: 60ms;
}

.hero-sub {
	animation-delay: 120ms;
}

.hero-form {
	animation-delay: 180ms;
}

/* ── Features ─────────────────────────────────────────────────────────── */

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

.feature {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 26px 24px;
	box-shadow: var(--shadow-card);
}

.feature-icon {
	width: 40px;
	height: 40px;
	border-radius: var(--radius);
	background: var(--accent-soft);
	color: var(--accent-strong);
	display: grid;
	place-items: center;
	margin-bottom: 18px;
}

.feature-icon svg {
	width: 20px;
	height: 20px;
}

.feature h3 {
	font-size: 16px;
	letter-spacing: -0.01em;
}

.feature p {
	margin-top: 8px;
	font-size: 14.5px;
	color: var(--muted);
}

@media (hover: hover) and (pointer: fine) {
	.feature {
		transition:
			border-color 150ms ease-out,
			transform 150ms ease-out;
	}

	.feature:hover {
		border-color: var(--border-strong);
		transform: translateY(-2px);
	}
}

/* ── How it works ─────────────────────────────────────────────────────── */

.steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px 36px;
	position: relative;
}

.steps::before {
	content: "";
	position: absolute;
	top: 17px;
	left: 20px;
	right: 20px;
	height: 1px;
	background: var(--border);
}

.step {
	position: relative;
}

.step-num {
	position: relative;
	z-index: 1;
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--accent-soft);
	border: 1px solid rgba(194, 65, 12, 0.18);
	color: var(--accent-strong);
	font-size: 14px;
	font-weight: 700;
}

.step h3 {
	margin-top: 16px;
	font-size: 16px;
}

.step p {
	margin-top: 8px;
	font-size: 14.5px;
	color: var(--muted);
	max-width: 38ch;
}

/* ── Pricing ──────────────────────────────────────────────────────────── */

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	align-items: stretch;
}

.plan {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px 26px;
	box-shadow: var(--shadow-card);
}

.plan-name {
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0;
	color: var(--text);
}

.plan-price {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-top: 12px;
}

.plan-price .amount {
	font-size: 2.4rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
	color: var(--text);
}

.plan-price .per {
	font-size: 14px;
	color: var(--faint);
}

.plan-blurb {
	margin-top: 10px;
	font-size: 14.5px;
	color: var(--muted);
}

.plan-list {
	list-style: none;
	margin: 22px 0 26px;
	padding: 22px 0 0;
	border-top: 1px solid var(--border);
	display: grid;
	gap: 11px;
}

.plan-list li {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 14.5px;
	color: var(--text);
}

.plan-list svg {
	width: 17px;
	height: 17px;
	flex: none;
	margin-top: 2px;
	color: var(--accent-strong);
}

.plan .btn {
	margin-top: auto;
}

.plan-flag {
	align-self: flex-start;
	display: inline-flex;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
	background: var(--accent-strong);
	padding: 4px 10px;
	border-radius: 999px;
	margin-bottom: 14px;
}

.plan-featured {
	background: var(--ink);
	border-color: rgba(255, 255, 255, 0.08);
	box-shadow: var(--shadow-raised);
}

.plan-featured .plan-name,
.plan-featured .plan-blurb {
	color: var(--on-ink-muted);
}

.plan-featured .plan-price .amount {
	color: #fff;
}

.plan-featured .plan-price .per {
	color: var(--on-ink-faint);
}

.plan-featured .plan-list {
	border-top-color: rgba(255, 255, 255, 0.1);
}

.plan-featured .plan-list li {
	color: #dbe2ee;
}

.plan-featured .plan-list svg {
	color: var(--accent);
}

.pricing-note {
	margin-top: 28px;
	font-size: 13.5px;
	color: var(--muted);
}

/* ── FAQ ──────────────────────────────────────────────────────────────── */

.faq-layout {
	display: grid;
	grid-template-columns: 340px 1fr;
	gap: 56px;
	align-items: start;
}

.faq-list {
	border-top: 1px solid var(--border);
}

.faq-list details {
	border-bottom: 1px solid var(--border);
}

.faq-list summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 2px;
	cursor: pointer;
	font-size: 15.5px;
	font-weight: 600;
	color: var(--text);
}

.faq-list summary::-webkit-details-marker {
	display: none;
}

.faq-icon {
	flex: none;
	width: 22px;
	height: 22px;
	color: var(--faint);
	transition: transform 200ms ease-out;
}

.faq-icon svg {
	width: 100%;
	height: 100%;
}

.faq-list details[open] .faq-icon {
	transform: rotate(45deg);
}

@keyframes fade-in {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.faq-a {
	padding: 0 40px 20px 2px;
	font-size: 14.5px;
	color: var(--muted);
	max-width: 62ch;
	animation: fade-in 200ms ease-out;
}

.faq-intro .section-sub a,
.contact-alt a {
	display: inline-block;
	padding: 4px 2px;
	margin: -4px -2px; /* keep the surrounding layout unchanged */
	color: var(--accent-strong);
}

/* ── Contact ──────────────────────────────────────────────────────────── */

.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: 56px;
	align-items: start;
}

.contact-alt {
	margin-top: 20px;
	font-size: 14.5px;
	color: var(--muted);
}

.contact-alt a {
	text-decoration: none;
	font-weight: 600;
}

.contact-alt a:hover {
	text-decoration: underline;
}

.contact-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 30px;
	box-shadow: var(--shadow-card);
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.field {
	margin-bottom: 16px;
}

.field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 6px;
}

.optional {
	color: var(--faint);
	font-weight: 500;
}

.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 10px 12px;
	font: inherit;
	font-size: 16px;
	color: var(--text);
	background: var(--bg);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius);
}

.field input::placeholder,
.field textarea::placeholder {
	color: var(--faint);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--accent-strong);
	box-shadow: 0 0 0 3px var(--accent-ring);
}

.field .is-invalid {
	border-color: var(--danger);
}

.field .is-invalid:focus {
	box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.14);
}

.field select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 36px;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b95a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 16px;
}

.field select:has(option[value=""]:checked) {
	color: var(--faint);
}

.field textarea {
	min-height: 112px;
	resize: vertical;
}

.field-error {
	margin-top: 6px;
	font-size: 13px;
	color: var(--danger);
}

.form-error {
	margin: 2px 0 16px;
	font-size: 13.5px;
	color: var(--danger);
	background: rgba(217, 45, 32, 0.07);
	border: 1px solid rgba(217, 45, 32, 0.25);
	padding: 10px 12px;
	border-radius: var(--radius);
}

.spinner {
	width: 15px;
	height: 15px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: spin 700ms linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.form-success {
	padding: 6px 2px;
}

.success-icon {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #ecfdf3;
	color: var(--success);
	display: grid;
	place-items: center;
	margin-bottom: 16px;
}

.form-success h3 {
	font-size: 17px;
}

.form-success p {
	margin-top: 8px;
	font-size: 14.5px;
	color: var(--muted);
}

.form-success .btn {
	margin-top: 20px;
}

/* ── Footer ───────────────────────────────────────────────────────────── */

.footer {
	background: var(--ink);
	color: var(--on-ink-muted);
	padding: 60px 0 32px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr;
	gap: 48px;
}

.footer-brand p {
	margin-top: 14px;
	font-size: 14px;
	max-width: 34ch;
}

.brand-on-ink {
	color: var(--on-ink);
}

.footer h4 {
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--on-ink-faint);
	margin-bottom: 14px;
}

.footer-col a {
	display: block;
	padding: 5px 0;
	font-size: 14.5px;
	color: var(--on-ink-muted);
	text-decoration: none;
	width: fit-content;
}

.footer-col a:hover {
	color: var(--on-ink);
}

.social {
	display: flex;
	gap: 16px;
	margin-top: 14px;
}

.social a {
	padding: 4px;
	margin: -4px; /* enlarge the tap target without changing the row height */
	color: var(--on-ink-muted);
}

.social a:hover {
	color: var(--on-ink);
}

.footer-bottom {
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.09);
	font-size: 13.5px;
	color: var(--on-ink-faint);
}

/* ── Skip link ────────────────────────────────────────────────────────── */

.skip-link {
	position: absolute;
	left: 16px;
	z-index: 100;
	background: var(--ink);
	color: #fff;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none;
	transform: translateY(-56px);
	transition: transform 150ms ease-out;
}

.skip-link:focus {
	transform: translateY(10px);
}

/* ── Responsive ───────────────────────────────────────────────────────── */

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

	.faq-layout,
	.contact-layout {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.faq-intro .section-sub {
		margin-top: 10px;
	}
}

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

	.steps {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.steps::before {
		display: none;
	}
}

@media (max-width: 600px) {
	.section {
		padding-block: 68px;
	}

	.section-head {
		margin-bottom: 40px;
	}

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

	.hero {
		padding: 68px 0 76px;
	}

	.hero-field {
		flex-direction: column;
	}

	.hero-field .btn {
		width: 100%;
	}

	.contact-card {
		padding: 22px;
	}
}

@media (max-width: 560px) {
	.form-row {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

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

@media (max-width: 479px) {
	.container {
		padding-inline: 20px;
	}
}

/* ── Reduced motion ───────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
