/* Reset + element defaults */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--f-sans);
	font-size: var(--fs-md);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { color: var(--c-text-strong); line-height: 1.2; margin: 0 0 var(--s-3); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); font-weight: 600; }
p { margin: 0 0 var(--s-4); }
img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--c-accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-text-strong); }

:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; border-radius: 4px; }

select, input, button { font: inherit; color: inherit; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--s-4); top: -60px; background: var(--c-accent); color: var(--c-accent-ink); padding: var(--s-2) var(--s-4); border-radius: var(--r-sm); z-index: 100; font-weight: 600; }
.skip-link:focus { top: var(--s-4); }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
	min-height: 42px; padding: 0 var(--s-5);
	border-radius: var(--r-pill); border: 1px solid transparent;
	font-weight: 600; font-size: var(--fs-sm); text-decoration: none; cursor: pointer;
	transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary, .btn-choice { background: var(--c-accent); color: var(--c-accent-ink); }
.btn-primary:hover, .btn-choice:hover { background: #FBBF24; color: var(--c-accent-ink); }
.btn-secondary { background: transparent; color: var(--c-text); border-color: var(--c-border-2); }
.btn-secondary:hover { border-color: var(--c-accent); color: var(--c-text-strong); }
.link-button { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: inherit; }
.link-button:hover { color: var(--c-text-strong); }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: var(--fs-xs); font-weight: 600; color: var(--c-accent); margin-bottom: var(--s-3); }
mark.placeholder { background: var(--c-accent-soft); color: var(--c-accent); padding: 0 4px; border-radius: 3px; }

/* Bike type tags (Road, Gravel, MTB, Cyclocross): flat chip with a coloured dot */
.type-badge { --dot: var(--c-accent); display: inline-flex; align-items: center; gap: .45em; padding: .3em .7em .3em .6em; border-radius: 6px; background: var(--c-surface-2); color: var(--c-text); font-size: .78rem; font-weight: 600; line-height: 1; letter-spacing: .01em; vertical-align: middle; white-space: nowrap; width: max-content; }
.type-badge::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: var(--dot); box-shadow: 0 0 0 3px color-mix(in srgb, var(--dot) 22%, transparent); }
.type-badge--road { --dot: #60A5FA; }
.type-badge--gravel { --dot: #F59E0B; }
.type-badge--mtb { --dot: #34D399; }
.type-badge--cyclocross { --dot: #C084FC; }
.bike-spec__type { list-style: none; }
