
:root {
  color-scheme: light;
  --bg: #f6f4ef;
  --paper: #fffdf8;
  --ink: #1e2428;
  --muted: #687078;
  --line: #ded8cc;
  --accent: #246b5f;
  --accent-2: #9c4f32;
  --soft: #e9efe9;
  --shadow: 0 18px 45px rgba(38, 36, 30, .08);
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(246, 244, 239, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 750; letter-spacing: 0; }
.mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); border-radius: 7px; font-weight: 800;
}
.links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.links a { color: var(--muted); padding: 9px 11px; border-radius: 7px; font-size: 14px; }
.links a:hover, .links a.active { background: var(--soft); color: var(--ink); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 36px;
  align-items: end;
  padding: 76px 0 44px;
}
h1 { font-size: clamp(42px, 7vw, 82px); line-height: .95; margin: 0 0 22px; letter-spacing: 0; max-width: 850px; }
h2 { font-size: 30px; line-height: 1.15; margin: 0 0 18px; letter-spacing: 0; }
h3 { font-size: 18px; margin: 0 0 8px; }
p { margin: 0 0 16px; color: var(--muted); }
.lead { font-size: 19px; max-width: 690px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 10px 15px; border-radius: 7px;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font-weight: 650;
}
.btn.secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.metric { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.metric:last-child { border-bottom: 0; }
.metric span { color: var(--muted); }
.metric strong { color: var(--accent); }
section { padding: 34px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 18px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  min-height: 190px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}
.card time, .eyebrow { color: var(--accent-2); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.card p { margin-bottom: 0; }
.list { display: grid; gap: 12px; }
.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.row:last-child { border-bottom: 0; }
.badge { border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; color: var(--accent); font-size: 13px; white-space: nowrap; }
.page { padding: 54px 0 70px; }
.page-title { max-width: 760px; margin-bottom: 30px; }
.article { max-width: 760px; }
.article p { font-size: 18px; }
form { display: grid; gap: 12px; max-width: 680px; }
label { display: grid; gap: 6px; font-weight: 650; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px 13px;
  font: inherit;
  background: var(--paper);
  color: var(--ink);
}
textarea { min-height: 150px; resize: vertical; }
.notice { min-height: 28px; color: var(--accent); font-weight: 650; }
.searchbox { display: flex; gap: 10px; margin-bottom: 20px; }
.searchbox input { flex: 1; }
footer { border-top: 1px solid var(--line); padding: 28px 0 44px; color: var(--muted); }
@media (max-width: 760px) {
  .wrap { width: min(100% - 28px, 1120px); }
  .nav { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .links { justify-content: flex-start; }
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .grid { grid-template-columns: 1fr; }
  .section-head, .row, .searchbox { display: grid; grid-template-columns: 1fr; }
}
