/*
Theme Name: Smørrebrød Beställning
Description: En enda enkel sida med beställningsformulär för smørrebrød. Formuläret, sammanställningen och CSV-exporten är inbyggda – inga tillägg behövs. Rubriken och texten ändras under Inställningar → Allmänt (Webbplatsens rubrik och Slogan).
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smorrebrod-tema
*/

:root {
	--bg: #f3f1ea;
	--ink: #1c1c1a;
	--muted: #5f5f59;
	--accent: #1f4d3a;
}

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

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 17px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.page {
	max-width: 560px;
	margin: 0 auto;
	padding: 48px 16px 64px;
}

@media (min-width: 600px) {
	.page {
		padding-top: 80px;
	}
}

.intro {
	margin: 0 0 28px;
	padding: 0 6px;
	text-align: center;
}

.intro-mark {
	display: block;
	width: 44px;
	height: 3px;
	margin: 0 auto 22px;
	background: var(--accent);
	border-radius: 3px;
}

.intro h1 {
	margin: 0 0 10px;
	font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	font-size: clamp(34px, 8vw, 48px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.intro p {
	margin: 0;
	font-size: 18px;
	color: var(--muted);
}

.page .smb {
	box-shadow: 0 1px 2px rgba(28, 28, 26, 0.04), 0 10px 32px rgba(28, 28, 26, 0.07);
}

.page .smb-hint {
	color: var(--muted);
}

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

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