/* ==========================================================================
   RestaurantMenuSystem.com -- redesign 2026-07-25
   Palette drawn from the product's own hero art (LiveMenu-design_04.jpg):
   cream ground, charcoal plate, ember-red callout, deep wine accent.
   Fraunces (display) + IBM Plex Sans (body/UI).
   ========================================================================== */

@font-face {
	font-family: 'Fraunces';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('/fonts/fraunces-var.woff2') format('woff2');
}
@font-face {
	font-family: 'IBM Plex Sans';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('/fonts/ibm-plex-sans-var.woff2') format('woff2');
}

:root {
	--cream: #F7F1E6;
	--cream-dark: #ECE1CB;
	--paper: #FFFDF8;
	--charcoal: #221E1A;
	--charcoal-soft: #55504A;
	--ember: #C6421E;
	--ember-dark: #9B3216;
	--wine: #4A1410;
	--gold: #B9964A;
	--line: #DCD0B8;

	--font-display: 'Fraunces', Georgia, serif;
	--font-body: 'IBM Plex Sans', -apple-system, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { font-size: 80%; }

body {
	margin: 0;
	background: var(--cream);
	color: var(--charcoal);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	color: var(--charcoal);
	line-height: 1.15;
	text-wrap: balance;
	margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--charcoal-soft); }

p { margin: 0 0 1em; }
a { color: var(--ember-dark); }
a:hover { color: var(--ember); }

.wrap {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- header ---------- */
.site-header {
	background: var(--paper);
	border-bottom: 1px solid var(--line);
	position: sticky;
	top: 0;
	z-index: 10;
}
.site-header .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 16px;
	padding-bottom: 16px;
	flex-wrap: wrap;
	gap: 12px;
}
.brand {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--charcoal);
	text-decoration: none;
	letter-spacing: -0.01em;
}
.site-header .brand {
	font-size: 1.875rem;
}
.brand span { color: var(--ember); }
.brand:hover { color: var(--charcoal); }

.site-header nav {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}
.site-header nav a {
	color: var(--charcoal-soft);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 500;
}
.site-header nav a:hover { color: var(--charcoal); }
.btn-nav {
	background: var(--ember);
	color: #fff !important;
	padding: 8px 18px;
	border-radius: 6px;
	font-weight: 600 !important;
}
.btn-nav:hover { background: var(--ember-dark); }

/* ---------- main content ---------- */
main { min-height: 60vh; }

.hero {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	align-items: center;
	gap: 40px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 56px 24px 40px;
}
.hero h1 { margin-bottom: 0.3em; }
.hero .lede { font-size: 1.15rem; color: var(--charcoal-soft); max-width: 46ch; }
.hero-art img { display: block; width: 100%; height: auto; }

.btn {
	display: inline-block;
	background: var(--ember);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	padding: 12px 26px;
	border-radius: 6px;
	margin-top: 8px;
}
.btn:hover { background: var(--ember-dark); color: #fff; }
.btn-outline {
	background: transparent;
	border: 1.5px solid var(--charcoal);
	color: var(--charcoal);
}
.btn-outline:hover { background: var(--charcoal); color: var(--cream); }

.page-section {
	max-width: 1280px;
	margin: 0 auto;
	padding: 48px 24px;
}
.page-section + .page-section { border-top: 1px solid var(--line); }
.page-section.alt { background: var(--cream-dark); max-width: none; }
.page-section.alt > .wrap { max-width: 1280px; margin: 0 auto; padding: 0; }

.page-header {
	max-width: 1280px;
	margin: 0 auto;
	padding: 48px 24px 8px;
}
.page-header .eyebrow {
	font-family: var(--font-body);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 1.05rem;
	color: var(--ember-dark);
	font-weight: 600;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
	margin-top: 24px;
}
.feature-card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 22px;
}
.feature-card h3 { margin-bottom: 0.4em; }
.feature-card p { margin-bottom: 0; color: var(--charcoal-soft); }

.check-list { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 32px; font-size: 1.1rem; }
.check-list-single { grid-template-columns: 1fr; max-width: 640px; }
.check-list li {
	padding-left: 32px;
	position: relative;
}
.check-list li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--ember);
	font-weight: 700;
}

.order-cta {
	background: var(--wine);
	color: var(--cream);
	border-radius: 12px;
	padding: 32px;
	text-align: center;
	margin: 48px 0 32px;
}
.order-cta h2 { color: var(--cream); }
.order-cta .btn { background: var(--ember); }

/* ---------- screenshots ---------- */
.screenshot-row {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	align-items: start;
	gap: 40px;
	padding: 40px 0;
	border-bottom: 1px solid var(--line);
}
.screenshot-row:first-child { padding-top: 0; }
.screenshot-row:last-child { border-bottom: none; }
.screenshot-row img {
	width: 100%;
	border-radius: 8px;
	border: 1px solid var(--line);
	box-shadow: 0 4px 16px rgba(34, 30, 26, 0.08);
	display: block;
}
.screenshot-row h3 { margin-bottom: 0.3em; }
.screenshot-row ul { margin: 8px 0 0; padding-left: 20px; color: var(--charcoal-soft); }

/* ---------- pricing ---------- */
.pricing-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
	margin-top: 24px;
}
.pricing-card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 32px;
}
.pricing-card ul { list-style: none; padding: 0; margin: 12px 0 20px; }
.pricing-card li { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.pricing-card li:last-child { border-bottom: none; }
.price-line { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--ember-dark); }
.pricing-aside { padding-top: 8px; }
.pricing-aside h3 { margin-bottom: 0.6em; }

/* ---------- order form ---------- */
.order-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
	margin-top: 24px;
}
.order-form {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 28px;
}
.order-form input[type="text"], .order-form textarea {
	display: block;
	width: 100%;
	font-family: var(--font-body);
	font-size: 1rem;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: var(--cream);
	margin-top: 12px;
}
.order-form input[type="text"]:first-child { margin-top: 0; }
.order-form input::placeholder, .order-form textarea::placeholder { color: var(--charcoal-soft); }
.order-form textarea { min-height: 90px; resize: vertical; }
.order-form .required-note { font-size: 1.05rem; color: var(--charcoal-soft); margin-top: 10px; }
.order-form input[type="submit"] {
	margin-top: 18px;
	background: var(--ember);
	color: #fff;
	border: none;
	font-weight: 600;
	font-size: 1rem;
	padding: 12px 28px;
	border-radius: 6px;
	cursor: pointer;
	font-family: var(--font-body);
}
.order-form input[type="submit"]:hover { background: var(--ember-dark); }

/* ---------- code sample (integration examples) ---------- */
.demo-frame {
	display: block;
	margin-bottom: 32px;
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(34, 30, 26, 0.06);
}
.code-sample {
	background: var(--charcoal);
	color: #F1EAD9;
	border-radius: 10px;
	padding: 20px 22px;
	overflow-x: auto;
	font-family: 'IBM Plex Mono', 'SFMono-Regular', Menlo, monospace;
	font-size: 1.05rem;
	line-height: 1.6;
}
.code-sample .tag { color: var(--gold); }
.code-sample .str { color: #9FD3A3; }

.integration-list { list-style: none; padding: 0; display: grid; gap: 14px; margin: 20px 0; }
.integration-list li { line-height: 1.6; }
.integration-list a {
	display: inline-block;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 4px 12px;
	text-decoration: none;
	color: var(--charcoal);
	font-weight: 600;
	margin-right: 8px;
}
.integration-list a:hover { border-color: var(--ember); color: var(--ember-dark); }

/* ---------- footer ---------- */
.site-footer {
	background: var(--charcoal);
	color: var(--cream-dark);
	margin-top: 64px;
	padding-top: 48px;
}
.site-footer .wrap {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 32px;
	padding-bottom: 32px;
}
.site-footer .brand { color: var(--cream); }
.site-footer .brand span { color: var(--ember); }
.site-footer p { color: #C9C2B6; font-size: 1.05rem; }
.site-footer h4 { color: #C9C2B6; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #E8E1D2; text-decoration: none; font-size: 1.05rem; }
.site-footer a:hover { color: var(--ember); }
.copyright {
	border-top: 1px solid #3A352F;
	padding: 18px 24px;
	font-size: 1.05rem;
	color: #8A8378;
}

@media (max-width: 760px) {
	.hero { grid-template-columns: 1fr; padding-top: 32px; }
	.site-footer .wrap { grid-template-columns: 1fr; }
	.site-header nav { gap: 14px; }
	.check-list { grid-template-columns: 1fr; }
	.screenshot-row { grid-template-columns: 1fr; }
	.pricing-layout { grid-template-columns: 1fr; }
	.order-layout { grid-template-columns: 1fr; }
}
