/* UltraReception marketing website. All colors are defined here as CSS variables. */
:root {
	--bg: #ffffff;
	--text: #111827;
	--blue: #2457e6;
	--blue-hover: #1c47c2;
	--blue-soft: #e9effd;
	--surface: #f3f5f8;
	--border: #d9dee7;
	--muted: #64748b;
	--success: #15803d;
	--warning: #b45309;
	--error: #dc2626;
	--error-soft: #fdecec;
	--success-soft: #e8f5ec;
	--radius: 6px;
	--radius-lg: 8px;
	--font: 'Geist', Inter, system-ui, sans-serif;
	--mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
	--container: 1160px;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

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

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: inherit;
}

h1,
h2,
h3,
p {
	margin: 0;
}

h1,
h2,
h3 {
	letter-spacing: -0.02em;
	line-height: 1.15;
}

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

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -60px;
	padding: 10px 14px;
	background: var(--text);
	color: #fff;
	border-radius: var(--radius);
	z-index: 100;
}

.skip-link:focus {
	top: 12px;
}

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

.icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 46px;
	padding: 0 18px;
	border-radius: var(--radius);
	border: 1px solid transparent;
	font: inherit;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s;
}

.btn-sm {
	height: 40px;
	padding: 0 14px;
	font-size: 15px;
}

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

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

.btn-secondary {
	background: var(--bg);
	color: var(--text);
	border-color: var(--border);
}

.btn-secondary:hover {
	background: var(--surface);
}

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

.btn-ghost:hover {
	background: var(--surface);
}

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

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--border);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 68px;
	gap: 24px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	font-weight: 600;
	font-size: 17px;
	letter-spacing: -0.01em;
}

.brand img {
	width: 32px;
	height: 32px;
	border-radius: 6px;
}

.nav {
	display: flex;
	align-items: center;
	gap: 4px;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-links a {
	display: inline-flex;
	align-items: center;
	height: 40px;
	padding: 0 12px;
	border-radius: var(--radius);
	font-size: 15px;
	font-weight: 500;
	color: #374151;
	text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current='page'] {
	color: var(--text);
	background: var(--surface);
}

.nav-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: 12px;
}

.menu-toggle {
	display: none;
}

@media (max-width: 900px) {
	.menu-toggle {
		display: inline-flex;
	}

	.nav {
		display: none;
		position: absolute;
		top: 68px;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 12px 24px 20px;
		background: var(--bg);
		border-bottom: 1px solid var(--border);
	}

	.nav.open {
		display: flex;
	}

	.nav-links {
		flex-direction: column;
		align-items: stretch;
	}

	.nav-links a {
		height: 46px;
		font-size: 16px;
	}

	.nav-actions {
		margin: 12px 0 0;
		flex-direction: column;
		align-items: stretch;
	}
}

/* Sections */
.section {
	padding: 96px 0;
	border-bottom: 1px solid var(--border);
}

.section-alt {
	background: var(--surface);
}

.section-head {
	max-width: 680px;
	margin-bottom: 48px;
}

.eyebrow {
	display: inline-block;
	margin-bottom: 14px;
	font-size: 14px;
	font-weight: 600;
	color: var(--blue);
	letter-spacing: 0.02em;
}

.section-title {
	font-size: clamp(30px, 4vw, 40px);
	font-weight: 600;
}

.section-lead {
	margin-top: 16px;
	font-size: 18px;
	color: var(--muted);
}

@media (max-width: 700px) {
	.section {
		padding: 64px 0;
	}
}

/* Hero */
.hero {
	padding: 80px 0 96px;
	border-bottom: 1px solid var(--border);
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 56px;
	align-items: center;
}

.hero h1 {
	font-size: clamp(42px, 6vw, 64px);
	font-weight: 650;
	letter-spacing: -0.035em;
}

.hero-lead {
	margin-top: 22px;
	max-width: 560px;
	font-size: 19px;
	color: #374151;
}

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

.hero-points {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 34px 0 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
	color: var(--muted);
}

.hero-points li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.hero-points .icon {
	width: 18px;
	height: 18px;
	color: var(--success);
}

.preview-frame {
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface);
	overflow: hidden;
}

.preview-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 14px;
	background: var(--bg);
	border-bottom: 1px solid var(--border);
	font-size: 13px;
	color: var(--muted);
}

.preview-bar span.dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--border);
}

.preview-bar .label {
	margin-left: auto;
	font-weight: 500;
}

.preview-body {
	position: relative;
	height: 560px;
	padding: 20px;
}

.preview-body .placeholder-lines {
	display: grid;
	gap: 10px;
	max-width: 60%;
}

.preview-body .placeholder-lines span {
	display: block;
	height: 10px;
	border-radius: 3px;
	background: var(--border);
}

.preview-fallback {
	display: none;
	padding: 24px;
	font-size: 15px;
	color: var(--muted);
}

.widget-failed .preview-fallback {
	display: block;
}

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

@media (max-width: 520px) {
	.hero {
		padding: 48px 0 64px;
	}

	.preview-body {
		height: 520px;
		padding: 12px;
	}
}

/* Grids & cards */
.grid {
	display: grid;
	gap: 16px;
}

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

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

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

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

.card {
	padding: 28px;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
}

.card h3 {
	font-size: 19px;
	font-weight: 600;
}

.card p {
	margin-top: 8px;
	color: var(--muted);
}

.card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-bottom: 18px;
	border-radius: var(--radius);
	background: var(--blue-soft);
	color: var(--blue);
}

.problem-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--bg);
}

.problem-list > div {
	padding: 26px;
	border-right: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	margin: 0 -1px -1px 0;
}

.problem-list h3 {
	font-size: 17px;
	font-weight: 600;
}

.problem-list p {
	margin-top: 6px;
	font-size: 15px;
	color: var(--muted);
}

/* Steps */
.steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	counter-reset: step;
}

.step {
	padding: 28px;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--bg);
}

.step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: var(--radius);
	background: var(--text);
	color: #fff;
	font-weight: 600;
	font-size: 15px;
}

.step h3 {
	margin-top: 20px;
	font-size: 19px;
	font-weight: 600;
}

.step p {
	margin-top: 8px;
	color: var(--muted);
}

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

/* Demo */
.demo-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 420px;
	gap: 40px;
	align-items: start;
}

.demo-box {
	height: 600px;
}

.demo-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 4px 10px;
	border-radius: var(--radius);
	background: #fdf3e7;
	color: var(--warning);
	font-size: 14px;
	font-weight: 600;
}

.try-list {
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}

.try-list li {
	padding: 14px 16px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg);
	font-size: 15px;
}

.try-list strong {
	display: block;
	font-weight: 500;
}

.try-list span {
	color: var(--muted);
	font-size: 14px;
}

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

/* Pricing */
.price-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.price-card {
	display: flex;
	flex-direction: column;
	padding: 32px;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--bg);
}

.price-card.featured {
	border-color: var(--blue);
	box-shadow: inset 0 0 0 1px var(--blue);
}

.price-card h3 {
	font-size: 18px;
	font-weight: 600;
}

.price {
	margin-top: 14px;
	font-size: 44px;
	font-weight: 650;
	letter-spacing: -0.03em;
	line-height: 1;
}

.price small {
	font-size: 17px;
	font-weight: 500;
	color: var(--muted);
	letter-spacing: 0;
}

.price-card > p {
	margin-top: 12px;
	color: var(--muted);
}

.check-list {
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
	font-size: 15px;
}

.check-list li {
	display: flex;
	gap: 10px;
}

.check-list .icon {
	width: 18px;
	height: 18px;
	margin-top: 3px;
	color: var(--blue);
}

.price-card .btn {
	margin-top: 28px;
}

.price-note {
	margin-top: 20px;
	padding: 16px 18px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg);
	font-size: 15px;
	color: var(--muted);
}

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

/* FAQ */
.faq {
	max-width: 820px;
	border-top: 1px solid var(--border);
}

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

.faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 0;
	font-size: 18px;
	font-weight: 500;
	cursor: pointer;
	list-style: none;
}

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

.faq summary::after {
	content: '+';
	flex-shrink: 0;
	font-size: 24px;
	font-weight: 400;
	color: var(--muted);
	line-height: 1;
}

.faq details[open] summary::after {
	content: '−';
}

.faq details p {
	padding: 0 0 22px;
	color: #374151;
	max-width: 720px;
}

.faq details p + p {
	margin-top: -10px;
}

/* CTA band */
.cta-band {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 40px;
	border-radius: var(--radius-lg);
	background: var(--text);
	color: #fff;
}

.cta-band h2 {
	font-size: clamp(26px, 3vw, 32px);
	font-weight: 600;
}

.cta-band p {
	margin-top: 8px;
	color: #cbd5e1;
}

@media (max-width: 760px) {
	.cta-band {
		flex-direction: column;
		align-items: flex-start;
		padding: 28px;
	}
}

/* Page header (sub pages) */
.page-hero {
	padding: 72px 0 56px;
	border-bottom: 1px solid var(--border);
}

.page-hero h1 {
	font-size: clamp(36px, 5vw, 52px);
	font-weight: 650;
	letter-spacing: -0.03em;
}

.page-hero p {
	margin-top: 16px;
	max-width: 640px;
	font-size: 19px;
	color: var(--muted);
}

/* Prose (legal / about) */
.prose {
	max-width: 760px;
	font-size: 17px;
	color: #1f2937;
}

.prose h2 {
	margin: 44px 0 12px;
	font-size: 24px;
	font-weight: 600;
}

.prose h3 {
	margin: 28px 0 8px;
	font-size: 19px;
	font-weight: 600;
}

.prose p,
.prose ul {
	margin: 0 0 16px;
}

.prose ul {
	padding-left: 22px;
}

.prose li {
	margin-bottom: 6px;
}

.prose a {
	color: var(--blue);
}

.prose .updated {
	color: var(--muted);
	font-size: 15px;
}

/* Forms */
.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.form-grid .full {
	grid-column: 1 / -1;
}

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

.field label {
	display: block;
	margin-bottom: 6px;
	font-size: 15px;
	font-weight: 500;
}

.field .optional {
	font-weight: 400;
	color: var(--muted);
}

.field input,
.field textarea {
	display: block;
	width: 100%;
	height: 46px;
	padding: 0 12px;
	font: inherit;
	font-size: 16px;
	color: var(--text);
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.field textarea {
	height: auto;
	min-height: 150px;
	padding: 12px;
	resize: vertical;
}

.field input:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--blue);
	box-shadow: 0 0 0 1px var(--blue);
}

.field [aria-invalid='true'] {
	border-color: var(--error);
}

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

.field .help {
	margin-top: 6px;
	font-size: 14px;
	color: var(--muted);
}

.hp-field {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.alert {
	padding: 14px 16px;
	border-radius: var(--radius);
	border: 1px solid;
	font-size: 15px;
}

.alert-error {
	background: var(--error-soft);
	border-color: rgba(220, 38, 38, 0.3);
}

.alert-success {
	background: var(--success-soft);
	border-color: rgba(21, 128, 61, 0.3);
}

.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 40px;
	align-items: start;
}

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

/* Footer */
.site-footer {
	padding: 56px 0 40px;
	background: var(--bg);
}

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

.footer-grid h4 {
	margin: 0 0 12px;
	font-size: 14px;
	font-weight: 600;
}

.footer-grid ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 8px;
	font-size: 15px;
}

.footer-grid a {
	color: var(--muted);
	text-decoration: none;
}

.footer-grid a:hover {
	color: var(--text);
}

.footer-tagline {
	margin-top: 12px;
	max-width: 320px;
	font-size: 15px;
	color: var(--muted);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--border);
	font-size: 14px;
	color: var(--muted);
}

.footer-bottom a {
	color: var(--muted);
	text-decoration: none;
}

.footer-bottom a:hover {
	color: var(--blue);
}

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

	.footer-grid > div:first-child {
		grid-column: 1 / -1;
	}
}
