:root
{
	--bg: #ffffff;
	--bg-alt: #f6f8fb;
	--bg-dark: #0f172a;
	--text: #1f2937;
	--text-muted: #4b5563;
	--text-inverse: #f9fafb;
	--accent: #2563eb;
	--accent-dark: #1d4ed8;
	--border: #e5e7eb;
	--max-width: 1080px;
	--radius: 10px;
	--shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
	--shadow-md: 0 6px 20px rgba(15, 23, 42, 0.08);
}

*
{
	box-sizing: border-box;
}

html
{
	scroll-behavior: smooth;
}

body
{
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: var(--text);
	background: var(--bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

a:hover
{
	text-decoration: underline;
}

.container
{
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 24px;
}

/* Header */
.site-header
{
	position: sticky;
	top: 0;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(180%) blur(8px);
	border-bottom: 1px solid var(--border);
	z-index: 10;
}

.nav
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
}

.brand
{
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--text);
	font-weight: 700;
	font-size: 1.05rem;
}

.brand:hover
{
	text-decoration: none;
}

.brand-mark
{
	display: inline-flex;
	align-items: center;
}

.brand-mark img
{
	height: 40px;
	width: auto;
	display: block;
}

.site-header nav
{
	display: flex;
	align-items: center;
	gap: 24px;
}

.site-header nav a
{
	color: var(--text-muted);
	font-weight: 500;
}

.site-header nav a:hover
{
	color: var(--text);
	text-decoration: none;
}

.nav-cta
{
	background: var(--text);
	color: var(--text-inverse) !important;
	padding: 8px 14px;
	border-radius: 8px;
}

.nav-cta:hover
{
	background: var(--accent);
}

/* Templates dropdown */
.dropdown
{
	position: relative;
}

.dropdown-toggle
{
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font: inherit;
	font-weight: 500;
	color: var(--text-muted);
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

.dropdown-toggle:hover
{
	color: var(--text);
}

.dropdown-caret
{
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	transition: transform 0.15s ease;
}

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

.dropdown-menu
{
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	min-width: 248px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
	padding: 6px;
	display: grid;
	gap: 2px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
	z-index: 20;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu
{
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.dropdown-menu a
{
	display: block;
	padding: 10px 12px;
	border-radius: 8px;
	color: var(--text);
}

.dropdown-menu a:hover
{
	background: var(--bg-alt);
	text-decoration: none;
}

.dropdown-title
{
	display: block;
	font-weight: 600;
}

.dropdown-desc
{
	display: block;
	font-size: 0.85rem;
	color: var(--text-muted);
}

/* Hero */
.hero
{
	padding: 96px 0 80px;
	background: radial-gradient(1200px 400px at 50% -100px, rgba(37, 99, 235, 0.12), transparent 70%),
	linear-gradient(180deg, #ffffff 0%, var(--bg-alt) 100%);
	border-bottom: 1px solid var(--border);
}

.hero h1
{
	font-size: clamp(2rem, 4.5vw, 3.25rem);
	line-height: 1.15;
	margin: 0 0 18px;
	letter-spacing: -0.02em;
	max-width: 760px;
}

.hero .lede
{
	font-size: 1.15rem;
	color: var(--text-muted);
	max-width: 640px;
	margin: 0 0 32px;
}

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

/* Buttons */
.btn
{
	display: inline-block;
	padding: 12px 22px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 1rem;
	border: 1px solid transparent;
	transition: transform 0.05s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover
{
	text-decoration: none;
	transform: translateY(-1px);
}

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

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

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

.btn-ghost:hover
{
	border-color: var(--text);
}

.btn-large
{
	padding: 16px 28px;
	font-size: 1.05rem;
}

/* Sections */
.section
{
	padding: 80px 0;
}

.section-alt
{
	background: var(--bg-alt);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.section h2
{
	font-size: clamp(1.6rem, 3vw, 2.25rem);
	margin: 0 0 12px;
	letter-spacing: -0.01em;
}

.section-lede
{
	color: var(--text-muted);
	font-size: 1.1rem;
	max-width: 680px;
	margin: 0 0 40px;
}

/* Service cards */
.cards
{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
}

.card
{
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px;
	box-shadow: var(--shadow-sm);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover
{
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.card h3
{
	margin: 0 0 10px;
	font-size: 1.2rem;
}

.card p
{
	margin: 0;
	color: var(--text-muted);
}

/* Reasons list */
.reasons
{
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 20px;
	max-width: 760px;
}

.reasons li
{
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 22px 24px;
	box-shadow: var(--shadow-sm);
}

.reasons strong
{
	display: block;
	margin-bottom: 4px;
	color: var(--text);
}

/* Contact */
.section-contact
{
	text-align: center;
	background: radial-gradient(900px 300px at 50% 0%, rgba(37, 99, 235, 0.08), transparent 70%),
	var(--bg);
}

.section-contact .section-lede
{
	margin-left: auto;
	margin-right: auto;
}

.contact-note
{
	margin-top: 18px;
	color: var(--text-muted);
}

.mono
{
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	background: var(--bg-alt);
	padding: 2px 8px;
	border-radius: 6px;
	border: 1px solid var(--border);
}

/* Footer */
.site-footer
{
	background: var(--bg-dark);
	color: var(--text-inverse);
	padding: 24px 0;
}

.site-footer a
{
	color: var(--text-inverse);
}

.footer-row
{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 0.95rem;
}

/* Small screens */
@media (max-width: 540px)
{
	.site-header nav
	{
		gap: 14px;
	}
	
	.site-header nav a:not(.nav-cta),
	.dropdown
	{
		display: none;
	}
	
	.hero
	{
		padding: 64px 0 56px;
	}
	
	.section
	{
		padding: 56px 0;
	}
}
