@font-face { font-family: "Golos Text"; src: url("fonts/GolosText_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url("fonts/GolosText_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Literata"; src: url("fonts/Literata_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --bg: #f3eee5;
  --surface: #fffdf9;
  --ink: #23302e;
  --muted: #5d6764;
  --line: #e2dacb;
  --accent: #2f6b66;
  --accent-ink: #ffffff;
  --accent-soft: #e4efec;
  --warn-soft: #f6ead2;
  --warn-ink: #6a4b12;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
}
h1, h2, h3 { font-family: "Literata", Georgia, serif; font-weight: 600; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 6vw, 48px); }
h2 { font-size: clamp(24px, 4vw, 30px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
a { color: var(--accent); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

.notice { background: var(--warn-soft); color: var(--warn-ink); font-size: 15px; }
.notice .wrap { padding-top: 10px; padding-bottom: 10px; }

header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: "Literata", Georgia, serif; font-weight: 600; font-size: 22px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav.menu { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
nav.menu a { color: var(--ink); text-decoration: none; }
nav.menu a:hover { color: var(--accent); }

.hero { padding: 40px 0 24px; }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 640px; }
.button { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600; padding: 12px 20px; border-radius: 14px; }
.button.secondary { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

section.block { padding: 28px 0; }
.card { background: var(--surface); border-radius: 22px; padding: 24px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid .card h3 { margin-bottom: .3em; }
.grid .card p { margin: 0; color: var(--muted); font-size: 16px; }
.tag { display: inline-block; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 600; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
ul.plain { padding-left: 1.2em; margin: 0 0 1em; }
ul.plain li { margin: .3em 0; }

.crisis { border-left: 4px solid var(--accent); }
.crisis strong { white-space: nowrap; }

footer.bottom { margin-top: 32px; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
footer.bottom .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.legal h2 { font-size: 22px; margin-top: 1.6em; }
.legal .meta { color: var(--muted); font-size: 15px; }
.last { margin-bottom: 0; }
