/* Institutional site (views/site) */

:root {
	--bg: #faf6f0;
	--alt: #f3ece2;
	--card: #fff;
	--ink: #1c1917;
	--muted: #6b625a;
	--line: #e8dfd3;
	--accent: #c2410c;
	--accent-dark: #9a3412;
	--soft: #fbe7da;
	--ok: #15803d;
	--radius: 16px;
	--display: 'Fraunces', Georgia, serif;
	--gutter: 20px;
}
* {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
	scroll-padding-top: 72px;
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font:
		16px/1.6 Inter,
		system-ui,
		-apple-system,
		sans-serif;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img,
svg,
iframe {
	display: block;
	max-width: 100%;
}
h1,
h2,
h3 {
	margin: 0;
	line-height: 1.15;
	letter-spacing: -0.02em;
}
h1,
h2 {
	font-family: var(--display);
	font-weight: 600;
}
h1 {
	font-size: clamp(36px, 6vw, 60px);
}
h1 em {
	font-style: italic;
	color: var(--accent);
}
h2 {
	font-size: clamp(28px, 4vw, 40px);
}
h3 {
	font-size: 18px;
}
p {
	margin: 0;
}
a {
	color: inherit;
}

.container {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.container.narrow {
	max-width: 760px;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 20px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--card);
	color: var(--ink);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	white-space: nowrap;
	transition:
		background 0.15s,
		transform 0.15s;
}
.btn:hover {
	transform: translateY(-1px);
}
.btn.primary {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}
.btn.primary:hover {
	background: var(--accent-dark);
}
.btn.sm {
	padding: 8px 16px;
	font-size: 14px;
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}
.btn.lg {
	padding: 15px 26px;
	font-size: 16px;
}

/* Header */
.top {
	position: sticky;
	top: 0;
	z-index: 30;
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid transparent;
}
.top.scrolled {
	border-bottom-color: var(--line);
}
.top-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: 64px;
}
.brand {
	font-size: 22px;
	font-weight: 500;
	text-decoration: none;
	letter-spacing: -0.03em;
}
.brand b {
	color: var(--accent);
	font-weight: 700;
}
.nav {
	display: flex;
	gap: 22px;
	margin-left: auto;
	font-size: 15px;
}
.nav a {
	text-decoration: none;
	color: var(--muted);
}
.nav a:hover {
	color: var(--ink);
}

.eyebrow {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--accent);
	margin-bottom: 12px;
}
.lead {
	font-size: 19px;
	color: var(--muted);
	margin: 20px 0 28px;
	max-width: 34em;
}
.checks {
	list-style: none;
	padding: 0;
	margin: 24px 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	color: var(--muted);
	font-size: 15px;
}
.checks li::before {
	content: '✓';
	color: var(--ok);
	font-weight: 700;
	margin-right: 8px;
}
.split-text .checks {
	flex-direction: column;
}

/* Hero */
.hero {
	padding: 48px 0 72px;
	background:
		radial-gradient(circle at 85% 20%, var(--soft), transparent 45%),
		var(--bg);
}
.hero-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 48px;
	align-items: center;
}
.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.hero-phone {
	position: relative;
	justify-self: center;
}
.float-card {
	position: absolute;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 12px 16px;
	box-shadow: 0 12px 30px rgb(28 25 23 / 12%);
	display: grid;
	gap: 2px;
	font-size: 14px;
}
.price-card {
	left: -70px;
	bottom: 70px;
}
.price-card .small {
	font-size: 12px;
	color: var(--ok);
	font-weight: 600;
}
.price-card s {
	color: var(--muted);
}

/* Phone frame with a live menu */
.phone {
	/* The menu inside is drawn at a real phone width (360px) and scaled down to
	   the screen (276px here), so it wraps and fits like it would in a hand */
	--scale: 0.7667;
	width: 300px;
	height: 610px;
	padding: 12px;
	border-radius: 46px;
	background: #1c1917;
	box-shadow:
		0 30px 60px rgb(28 25 23 / 22%),
		inset 0 0 0 2px #3f3a36;
}
.phone-screen {
	width: 100%;
	height: 100%;
	border-radius: 36px;
	overflow: hidden;
	background: #fff;
}
.phone iframe {
	width: calc(100% / var(--scale));
	height: calc(100% / var(--scale));
	max-width: none;
	border: 0;
	transform: scale(var(--scale));
	transform-origin: 0 0;
}

/* Problems band */
.band {
	background: var(--ink);
	color: #f5f0ea;
	padding: 48px 0;
}
.band-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}
.band-item b {
	display: block;
	font-size: 18px;
	margin-bottom: 8px;
}
.band-item p {
	color: #c9bfb3;
	font-size: 15px;
}

/* Sections */
.section {
	padding: 88px 0;
}
.section.alt {
	background: var(--alt);
}
.section-head {
	max-width: 640px;
	margin-bottom: 48px;
}
.section-head .sub {
	color: var(--muted);
	margin-top: 14px;
	font-size: 17px;
}

.steps {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.step {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px;
}
.step-n {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--soft);
	color: var(--accent);
	font-family: var(--display);
	font-weight: 600;
	font-size: 20px;
	margin-bottom: 18px;
}
.step h3 {
	margin-bottom: 8px;
}
.step p,
.feature p {
	color: var(--muted);
	font-size: 15px;
}

/* Text + visual */
.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
}
.split-text p:not(.eyebrow) {
	color: var(--muted);
	font-size: 17px;
	margin-top: 16px;
}
.chat {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 22px;
	padding: 22px;
	display: grid;
	gap: 14px;
	box-shadow: 0 20px 40px rgb(28 25 23 / 8%);
}
.bubble {
	border-radius: 16px;
	padding: 12px 16px;
	font-size: 15px;
	max-width: 92%;
}
.bubble.me {
	justify-self: end;
	background: var(--accent);
	color: #fff;
	border-bottom-right-radius: 4px;
}
.bubble.bot {
	background: var(--alt);
	border-bottom-left-radius: 4px;
	display: grid;
	gap: 10px;
	width: 100%;
}
.diff {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 6px;
	font-size: 14px;
}
.diff li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	background: var(--card);
	border-radius: 10px;
	padding: 8px 12px;
}
.diff s {
	color: var(--muted);
	margin-right: 6px;
}
.confirm {
	justify-self: start;
	background: var(--ink);
	color: #fff;
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 600;
}

/* Designs */
.designs {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 48px;
	align-items: start;
}
.design-tabs {
	display: grid;
	gap: 10px;
}
.design-tab {
	text-align: left;
	font: inherit;
	color: inherit;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 16px 20px;
	cursor: pointer;
	display: grid;
	gap: 2px;
	transition:
		border-color 0.15s,
		box-shadow 0.15s;
}
.design-tab span {
	color: var(--muted);
	font-size: 14px;
}
.design-tab:hover {
	border-color: #d6c8b8;
}
.design-tab[aria-selected='true'] {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--soft);
}

/* Features */
.features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.feature {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px;
}
.feature-icon {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--soft);
	font-size: 22px;
	margin-bottom: 14px;
}
.feature h3 {
	margin-bottom: 6px;
}

/* Try it */
.try {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 48px;
	align-items: center;
}
.try-text p:not(.eyebrow) {
	color: var(--muted);
	font-size: 17px;
	margin: 14px 0 24px;
}
.qr-card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 24px;
	padding: 24px;
	display: grid;
	gap: 12px;
	justify-items: center;
	box-shadow: 0 20px 40px rgb(28 25 23 / 8%);
}
.qr-card svg {
	width: 220px;
	height: 220px;
}
.qr-card span {
	font-size: 14px;
	color: var(--muted);
}

/* FAQ */
.faq {
	display: grid;
	gap: 12px;
}
.faq details {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 4px 20px;
}
.faq summary {
	cursor: pointer;
	font-weight: 600;
	padding: 14px 0;
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 16px;
}
.faq summary::-webkit-details-marker {
	display: none;
}
.faq summary::after {
	content: '+';
	color: var(--accent);
	font-size: 22px;
	line-height: 1;
}
.faq details[open] summary::after {
	content: '−';
}
.faq details p {
	color: var(--muted);
	padding-bottom: 16px;
}

/* Final call to action */
.final {
	background: var(--ink);
	color: #fff;
	text-align: center;
}
.final-inner p:not(.eyebrow) {
	color: #c9bfb3;
	font-size: 18px;
	margin: 14px 0 28px;
}
.final .hero-actions {
	justify-content: center;
}
.final .btn:not(.primary) {
	background: transparent;
	color: #fff;
	border-color: #57504a;
}

.footer {
	padding: 28px 0;
	font-size: 14px;
	color: var(--muted);
}
.footer-inner {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.footer-inner a:last-child {
	margin-left: auto;
}

/* Tablet */
@media (max-width: 960px) {
	.nav {
		display: none;
	}
	.top .btn {
		margin-left: auto;
	}
	.hero-grid,
	.split,
	.designs {
		grid-template-columns: 1fr;
	}
	.hero-text {
		text-align: center;
	}
	.hero-text .lead {
		margin-left: auto;
		margin-right: auto;
	}
	.hero-actions,
	.hero-text .checks {
		justify-content: center;
	}
	.price-card {
		left: -40px;
	}
	.design-tabs {
		grid-template-columns: repeat(2, 1fr);
	}
	.design-phone {
		justify-self: center;
	}
	.steps,
	.features {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Phone */
@media (max-width: 640px) {
	:root {
		--gutter: 16px;
	}
	.hero {
		padding: 32px 0 56px;
	}
	.lead {
		font-size: 17px;
	}
	.hero-actions .btn {
		width: 100%;
	}
	.phone {
		/* 246px screen */
		--scale: 0.6833;
		width: 270px;
		height: 550px;
	}
	.price-card {
		left: -12px;
		bottom: 40px;
	}
	.band-grid,
	.steps,
	.features,
	.try {
		grid-template-columns: 1fr;
	}
	.design-tabs {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding: 0 var(--gutter);
		scrollbar-width: none;
		margin: 0 calc(var(--gutter) * -1);
		padding: 4px var(--gutter) 8px;
	}
	.design-tab {
		flex: 0 0 72%;
		scroll-snap-align: start;
	}
	.section {
		padding: 64px 0;
	}
	.section-head {
		margin-bottom: 32px;
	}
	.qr-card {
		justify-self: center;
	}
	.footer-inner a:last-child {
		margin-left: 0;
	}
}
