/* Shell for the post-submission confirmation pages (quote + demo booking, da/en).

   Kept in an external file deliberately: WordPress runs wpautop over post_content
   and injects </p><p> INSIDE inline <style> blocks, which corrupts the first rule
   and kills the whole sheet.

   Palette, type and the CTA are taken from the 2026 front page rather than
   invented here - the gradient band and button below are the same declarations
   build_frontpage.py emits for .snm-grad and .snm-btn-secondary, measured off the
   live page. Own class names because that stylesheet is not loaded here; keep the
   values in step if the front page ever changes. */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700;800&display=swap');

.snmty {
	--ty-ink: #1c2430;
	--ty-muted: #586473;
	--ty-line: #e6ebf2;
	--ty-brand: #19ABEC;

	/* .entry-content is already full-bleed on this template, so no 100vw trick.
	   The old one overflowed horizontally by the scrollbar width. */
	width: 100%;
	position: relative;
	background: linear-gradient(160deg, #f5f8fc 0%, #eef3f9 100%);
	color: var(--ty-ink);
}

.snmty * { box-sizing: border-box; }

/* wpautop wraps the leading comment, the <link> and the <script> in bare <p>
   tags. Left alone, that first one sits above the section with a ~23px bottom
   margin and reads as a gap under the nav bar. Everything the page actually
   renders lives inside .snmty-wrap, so no real content is hidden here. */
.snmty > p { display: none !important; }

.snmty-wrap {
	max-width: 780px;
	margin: 0 auto;
	padding: 84px 24px 96px;
	text-align: center;
}

/* ---- confirmation ---- */

.snmty-mark {
	display: block;
	width: 64px;
	height: 64px;
	margin: 0 auto 26px;
}

.snmty-mark circle { fill: rgba(25, 171, 236, 0.12); }

.snmty-mark path {
	fill: none;
	stroke: var(--ty-brand);
	stroke-width: 5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.snmty h1 {
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 1.15;
	font-size: clamp(26px, 4vw, 42px);
	color: var(--ty-ink);
	margin: 0 0 20px;
}

.snmty-lead {
	max-width: 54ch;
	margin: 0 auto 40px;
	color: var(--ty-muted);
	font-size: clamp(16px, 1.7vw, 19px);
	line-height: 1.6;
}

/* ---- what we received (quote pages only, JS-populated) ---- */

.snmty-card {
	max-width: 520px;
	margin: 0 auto 40px;
	padding: 26px 30px 24px;
	background: #fff;
	border: 1px solid var(--ty-line);
	border-radius: 6px;
	box-shadow: 0 16px 40px rgba(20, 40, 70, 0.10);
	text-align: left;
	color: var(--ty-ink);
}

.snmty-card[hidden] { display: none; }

.snmty-card h2 {
	margin: 0 0 16px;
	font-family: inherit;
	text-transform: none;
	letter-spacing: normal;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ty-ink);
}

.snmty-row {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	padding: 0 0 6px;
	margin-bottom: 10px;
	border-bottom: 1px dashed var(--ty-line);
	font-size: 15px;
	line-height: 1.4;
	color: var(--ty-muted);
}

.snmty-row span:last-child {
	white-space: nowrap;
	font-weight: 600;
	color: var(--ty-ink);
}

.snmty-row--total {
	margin: 14px 0 0;
	padding: 0;
	border-bottom: 0;
	font-size: 17px;
	font-weight: 700;
	color: var(--ty-ink);
}

.snmty-note {
	margin: 16px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--ty-muted);
}

/* ---- next step ----
   Mirrors .snm-btn / .snm-btn-secondary from the front page. */

.snmty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 30px;
	border: 0;
	border-radius: 4px;
	background: linear-gradient(130deg, #19ABEC 0%, #406CBA 100%);
	box-shadow: 0 3px 11px rgba(0, 0, 0, 0.25);
	color: #fff;
	font-family: 'Open Sans', sans-serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.7;
	text-align: center;
	text-decoration: none;
	transition: filter 0.15s ease, transform 0.15s ease;
}

.snmty-btn:hover,
.snmty-btn:focus {
	filter: brightness(1.06);
	color: #fff;
	transform: translateY(-1px);
}

.snmty-btn-ic {
	flex: none;
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.snmty-sub {
	margin: 16px auto 0;
	max-width: 46ch;
	color: var(--ty-muted);
	font-size: 14px;
	line-height: 1.6;
}

.snmty-foot {
	margin: 44px auto 0;
	max-width: 46ch;
	color: var(--ty-muted);
	font-size: 14px;
	line-height: 1.7;
}

/* The site's ordinary content link: black, underlined. Matches /kontakt/ - not
   a brand-coloured variant invented for these pages. */
.snmty-foot a {
	color: #000;
	text-decoration: underline;
}

@media (max-width: 520px) {
	.snmty-wrap { padding: 56px 18px 68px; }
	.snmty-card { padding: 22px 20px 20px; }
}
