:root {
  --ink: #17212b;
  --muted: #657385;
  --line: #dbe3eb;
  --panel: #ffffff;
  --surface: #f3f7f8;
  --accent: #0f766e;
  --accent-dark: #115e59;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Avenir Next, Nunito Sans, Trebuchet MS, sans-serif;
  line-height: 1.55;
}
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 7vw;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 700; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; color: white; background: var(--accent); border-radius: 8px; }
.menu-button { display: none; }
.hero {
  min-height: 330px;
  display: grid;
  place-items: center;
  padding: 52px 20px;
  background: linear-gradient(135deg, rgba(15, 118, 110, .94), rgba(22, 101, 52, .78)), radial-gradient(circle at 20% 20%, rgba(245, 158, 11, .35), transparent 28%);
  color: white;
}
.hero-inner { width: min(760px, 100%); text-align: center; }
.eyebrow { margin: 0 0 6px; font-weight: 700; text-transform: uppercase; font-size: 13px; }
.hero h1 { margin: 0 0 26px; font-size: clamp(34px, 6vw, 58px); line-height: 1; }
.search-box { display: block; position: relative; text-align: left; }
.search-box span { position: absolute; left: -9999px; }
.search-box input {
  width: 100%;
  height: 58px;
  border: 0;
  border-radius: 4px;
  padding: 0 22px;
  font: inherit;
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
}
.search-results { margin-top: 10px; background: white; color: var(--ink); text-align: left; border-radius: 4px; box-shadow: 0 16px 40px rgba(0,0,0,.18); overflow: hidden; }
.search-results a { display: block; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.section-grid { width: min(1100px, calc(100% - 40px)); margin: 42px auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.section-card, .content-panel, .article, .sidebar, .subsection {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.section-card { min-height: 148px; padding: 24px; color: var(--ink); }
.section-card h2 { margin: 0 0 10px; font-size: 20px; }
.section-card p, .page-heading p, .subsection span, .updated { color: var(--muted); }
.layout { width: min(980px, calc(100% - 40px)); margin: 34px auto; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.breadcrumbs > * + *::before { content: "/"; margin-right: 8px; color: #9aa7b5; }
.content-panel { padding: 34px; }
.page-heading h1, .article h1 { margin: 0 0 10px; line-height: 1.1; }
.subsection-grid { display: grid; gap: 12px; margin: 24px 0; }
.subsection { display: grid; gap: 4px; padding: 18px; color: var(--ink); }
.subsection small { color: var(--accent-dark); font-weight: 700; }
.article-list { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--line); }
.article-list li { border-bottom: 1px solid var(--line); }
.article-list a { display: block; padding: 14px 2px; }
.article-layout { width: min(1180px, calc(100% - 40px)); margin: 34px auto; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 22px; align-items: start; }
.sidebar { padding: 20px; position: sticky; top: 18px; }
.back-link { display: block; margin-bottom: 14px; font-weight: 700; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar a { display: block; padding: 9px 0; color: var(--muted); }
.sidebar a.active { color: var(--ink); font-weight: 700; }
.article { padding: 38px; min-width: 0; }
.article-body { margin-top: 28px; }
.article-body img, .article-body video, .article-body iframe { max-width: 100%; height: auto; }
.article-body table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 8px; }
.article-body pre { overflow-x: auto; padding: 16px; background: #101820; color: white; border-radius: 6px; }
@media (max-width: 760px) {
  .topbar { padding: 0 20px; }
  .menu-button { display: inline-flex; border: 1px solid var(--line); background: white; border-radius: 4px; padding: 8px 12px; }
  .article-layout { grid-template-columns: 1fr; width: min(100% - 28px, 720px); }
  .sidebar { position: static; display: none; }
  .sidebar.open { display: block; }
  .article, .content-panel { padding: 24px; }
}
