/* see.mierio.com. Colour, type, spacing and radius values from brand/tokens.json. */

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --surface: #F7F3EC;
  --surface-raised: #EDE7DC;
  --border: #DDD4C3;
  --text: #1A2030;
  --text-muted: #6B6457;
  --amber-text: #8F5A0F;
  --focus: #8F5A0F;

  --sans: "Source Sans 3", -apple-system, "Segoe UI", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius-md: 10px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #121826;
    --surface-raised: #1C2333;
    --border: #2C3446;
    --text: #E9E4D8;
    --text-muted: #8C93A3;
    --amber-text: #E8A33D;
    --focus: #E8A33D;
  }
}

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

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 26px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
p,
dl,
dd {
  margin: 0;
}

a {
  color: var(--text);
  text-underline-offset: 3px;
}

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

code,
pre {
  font-family: var(--mono);
}

code {
  font-size: 0.92em;
  overflow-wrap: anywhere;
}

.column {
  max-width: 760px;
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
}

.site-header .column {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.site-header .tag {
  font-size: 13px;
  line-height: 18px;
  color: var(--text-muted);
}

main.column {
  padding: 48px 24px 64px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

main section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.domain {
  font-size: 13px;
  line-height: 18px;
  color: var(--text-muted);
}

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3vw + 18px, 40px);
  line-height: 1.1;
}

h2 {
  font-size: 20px;
  line-height: 26px;
  font-weight: 500;
}

.lead {
  font-size: 18px;
  line-height: 28px;
}

.muted {
  color: var(--text-muted);
}

main ul {
  margin: 0;
  padding-left: 20px;
}

main li {
  margin: 0 0 10px;
}

main li:last-child {
  margin-bottom: 0;
}

.panel {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.facts {
  padding: 8px 20px;
}

.facts div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  column-gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.facts div:last-child {
  border-bottom: 0;
}

.facts dt {
  font-weight: 500;
}

.facts dd {
  min-width: 0;
}

.csp {
  margin: 0;
  padding: 16px 20px;
  overflow-x: auto;
  font-size: 15px;
  line-height: 24px;
  color: var(--amber-text);
}

.questions {
  padding: 24px;
}

.site-footer {
  border-top: 1px solid var(--border);
}

.site-footer .column {
  padding: 28px 24px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.company {
  font-size: 12px;
  line-height: 18px;
  color: var(--text-muted);
}

.site-footer .links {
  font-size: 13px;
  line-height: 20px;
  color: var(--text-muted);
}

.site-footer .links a {
  color: var(--text-muted);
}
