:root {
  --bg: #f7f8f4;
  --paper: #ffffff;
  --ink: #18201d;
  --muted: #617067;
  --line: #dfe5dc;
  --accent: #117a65;
  --accent-2: #d94f30;
  --accent-3: #3455a4;
  --soft: #edf4ef;
  --shadow: 0 14px 40px rgba(20, 35, 28, 0.08);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 10;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
}
.skip-link:focus { top: 12px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(247, 248, 244, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}
.menu-toggle { display: none; }
.menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.menu a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--muted); font-weight: 650; }
.menu a:hover { background: var(--soft); color: var(--ink); }
.hero { padding: 56px 0 44px; border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 42px; align-items: center; }
.eyebrow, .card-kicker {
  margin: 0 0 10px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: 0; }
.hero h1 { max-width: 760px; font-size: clamp(2.35rem, 7vw, 5.6rem); }
.hero p { max-width: 680px; color: var(--muted); font-size: 1.08rem; }
.hero-search { display: flex; gap: 10px; margin-top: 26px; max-width: 720px; }
input[type="search"], input[type="text"], input[type="email"], textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
}
textarea { min-height: 150px; resize: vertical; }
button, .button, input[type="submit"] {
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 13px 17px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  min-height: 48px;
}
button:hover, .button:hover { background: var(--accent); color: #fff; }
.hero-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-tabs a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 13px;
  background: rgba(255,255,255,0.72);
  font-weight: 750;
}
.live-panel, .cta-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.live-panel h2, .cta-panel h2 { font-size: 1.25rem; margin-bottom: 14px; }
.activity-item { display: grid; gap: 3px; padding: 13px 0; border-top: 1px solid var(--line); }
.activity-item span { font-weight: 750; }
.activity-item small, .meta { color: var(--muted); font-size: 0.9rem; }
.page-head { padding: 48px 0 26px; }
.page-head h1 { font-size: clamp(2rem, 5vw, 4rem); }
.page-head p { color: var(--muted); max-width: 720px; }
.section-grid { display: grid; grid-template-columns: 1fr 320px; gap: 30px; padding: 42px 0; }
.section-title { margin-bottom: 18px; }
.section-title h2 { font-size: 2rem; }
.content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-bottom: 46px; }
.content-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: 0; }
.content-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 100%;
}
.card-media {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e8f1eb, #f7e8df);
  color: var(--accent-3);
  font-size: 2rem;
  font-weight: 900;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 18px; }
.card-body h2 { font-size: 1.22rem; margin-bottom: 10px; }
.card-body p { color: var(--muted); margin: 0 0 14px; }
.meta { display: flex; flex-wrap: wrap; gap: 12px; }
.article { padding: 48px 0; max-width: 840px; }
.article-head { margin-bottom: 24px; }
.article-head h1 { font-size: clamp(2rem, 5vw, 4.35rem); }
.featured { margin: 0 0 28px; }
.featured img { border-radius: 8px; }
.entry-content { font-size: 1.08rem; }
.entry-content a { color: var(--accent-3); text-decoration: underline; }
.entry-content h2, .entry-content h3 { margin-top: 1.8em; }
.os-level {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--ink);
}
.os-level svg { width: 28px; height: 28px; fill: var(--accent); }
.os-level-mark { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); }
.footer-wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { display: none; position: absolute; left: 16px; right: 16px; top: 72px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 10px; box-shadow: var(--shadow); }
  .site-nav.is-open { display: block; }
  .menu { display: grid; gap: 4px; }
  .hero-inner, .section-grid { grid-template-columns: 1fr; }
  .content-grid, .content-grid.compact { grid-template-columns: 1fr; }
  .hero-search { flex-direction: column; }
}

