@font-face { font-family: "Manrope"; src: url("/Manrope-Variable.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light dark;
  --background: #f5edd9;
  --surface: #fbf7ed;
  --text: #443c32;
  --muted: #665c50;
  --accent: #286280;
  --accent-soft: #c3d7e4;
  --border: #8d8070;
}

* { box-sizing: border-box; }

html {
  background: var(--background);
  color: var(--text);
  font-family: "Manrope", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--background);
}

header, main, footer { width: min(760px, calc(100% - 40px)); margin: 0 auto; }
header { padding: 48px 0 28px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: var(--accent);
  color: white;
  font-weight: 950;
}

h1 {
  margin: 28px 0 8px;
  font-size: clamp(2.2rem, 8vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.updated, p, li { color: var(--muted); line-height: 1.65; }
.summary {
  margin: 22px 0 30px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--text);
}

section {
  margin: 14px 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface);
}

h2 { margin: 0 0 8px; font-size: 1.05rem; letter-spacing: -0.015em; }
section p { margin: 0; }
a { color: var(--accent); }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 0 20px;
  border-radius: 7px;
  background: var(--accent);
  color: white;
  font-weight: 800;
  text-decoration: none;
}

footer { padding: 28px 0 48px; color: var(--muted); font-size: 0.9rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }

@media (prefers-color-scheme: dark) {
  :root {
    --background: #25221e;
    --surface: #302b25;
    --text: #fbf7ed;
    --muted: #d6c9b3;
    --accent: #91b4c8;
    --accent-soft: #34424a;
    --border: #8d8070;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

section h2 { margin: -22px -22px 18px; padding: 12px 22px; border-bottom: 1px solid var(--border); border-radius: 6px 6px 0 0; background: var(--accent-soft); color: var(--text); }
.brand:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.brand img { width: 145px; height: auto; }
.button { border: 1px solid #443c32; background: #91b4c8; color: #443c32; box-shadow: 1px 2px 0 #443c32; }
