/*
 * Base rules the Braw templates relied on Blocksy's stylesheets for.
 * Measured on the live pages on 2 October 2026 by switching Blocksy's CSS
 * off and comparing every element's computed style; only the rules that
 * changed something the design depends on are here. Loaded before
 * landing.css, which overrides any of them it sets itself.
 *
 * Deliberately not carried over, because they were Blocksy styling leaking
 * onto the design: a 1px orange border on every table cell, figcaptions
 * forced to 14px in the system font, and zero margins on .h-ticks and the
 * legal pages' list items.
 */

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	-webkit-tap-highlight-color: transparent;
	scroll-behavior: smooth; /* landing.css turns it off for reduced motion */
}

body {
	overflow-x: hidden;
	overflow-wrap: break-word;
}

a {
	text-decoration: none;
	transition: all .12s cubic-bezier(.455, .03, .515, .955);
}

/* Form controls take the page's type, not the browser's 13px Arial. */
button,
input,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

input:not([type="checkbox"]):not([type="radio"]),
textarea,
select {
	appearance: none;
}

/* Blocksy's form textarea height: the contact form's message box is 200px. */
form textarea {
	height: 200px;
}

::placeholder {
	opacity: .7;
}

img {
	vertical-align: middle;
}

small {
	font-size: 80%;
}

dt {
	font-weight: 600;
}

pre,
code,
kbd,
samp {
	tab-size: 4;
	border-radius: 3px;
}

::selection {
	background: #f8da2f;
	color: #0a0a0a;
}
