:root {
	--ink: #17231f;
	--muted: #60706a;
	--paper: #f5f1e7;
	--boxed: #e5e1d7;
	--card: #fffdf7;
	--line: #d8d1c2;
	--accent: #e06a3c;
	--accent-dark: #b54c24;
	--step: 1;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
.shell { width: min(900px, calc(100% - 32px)); margin: 0 auto; }
.home { min-height: 100vh; display: grid; align-content: center; gap: 18px; }
.home-intro { display: grid; gap: 18px; }
.site-header { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; }
.site-header label, .language-picker { color: var(--muted); font-size: .9rem; display: flex; gap: 8px; align-items: center; }
.site-header select, .language-picker select { border: 1px solid var(--line); border-radius: 8px; padding: 7px; background: var(--card); color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav a { text-decoration: none; color: var(--muted); }
.site-nav .brand { color: var(--ink); }
.site-nav ul li { display: inline; }
.site-nav a { padding: 10px; }
a:hover { text-decoration: underline; }
a.site-nav-active { background-color: var(--boxed); }
.survey-tools { display: flex; align-items: center; gap: 14px; }

hr {
  height: 1px;
  color: var(--line);
}

#footer {
  padding: 1em 0em 2em 0em;
}

ul.footer li {
	display: inline;
}

.tagline { margin: 0; color: var(--accent-dark); font-weight: 800; letter-spacing: .11em; text-transform: uppercase; font-size: .78rem; }
h1 { max-width: 700px; margin: 0; font-size: clamp(3rem, 9vw, 7rem); line-height: .88; letter-spacing: -.06em; }
.lead { max-width: 620px; margin: 0 0 14px; color: var(--muted); font-size: 1.2rem; line-height: 1.5; }
.button { display: inline-block; width: fit-content; padding: 14px 20px; border-radius: 999px; background: var(--accent); color: white; text-decoration: none; font-weight: 800; }
.button:hover { background: var(--accent-dark); }
.nav { display: flex; justify-content: space-between; margin-top: 28px; }
.text-button { border: 0; background: none; padding: 8px 0; color: var(--muted); cursor: pointer; font: inherit; }
.results { display: grid; gap: 12px; }
.result { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px; border: 2px solid var(--line); background: var(--card); border-radius: 18px; text-decoration: none; }
.result small { color: var(--muted); }
.content-header { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.brand { font-weight: 900; text-decoration: none; }
.content-header label { color: var(--muted); font-size: .9rem; display: flex; gap: 8px; align-items: center; }
.content-header select { border: 1px solid var(--line); border-radius: 8px; padding: 7px; background: var(--card); }
.content-card {
	margin-top: 50px;
	margin-left: 50px;
	margin-right: 20px;
	margin-bottom: 20px;
	max-width: 760px;
	padding-bottom: 0px;
}
.content-card h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); margin: 12px 0 30px; }
.content-card h2 { margin-top: 40px; }
.content-card p, .content-card li { font-size: 1.4rem; line-height: 1.65; text-align: justify;}
.notice { margin-top: 25px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
@media (max-width: 620px) { .content-header, .site-header { align-items: flex-start; gap: 16px; flex-direction: column; }}
.site-nav { width: 100%; justify-content: space-between; }

#fallback-banner {
	border-bottom: solid 7px var(--accent);
	border-left: solid 7px var(--accent);
	border-right: solid 7px var(--accent);
	padding: 0.5em;
}

.boxed-quote p {
	font-size: 1.5em;
	font-weight: bold;
	border: solid 2px black;
	text-align: center;
	background-color: var(--boxed);
	padding: 1em;
}

/* in-text images */
.float-right {
	float: right;
	margin-left: 1em;
	margin-bottom: .5em;
}
