/* ============================================
   Base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #222;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: #3a7d3a; text-decoration: none; }
a:hover { color: #1a5fbf; }

h1, h2, h3, h4 { margin: 0 0 0.4em; font-weight: 600; color: #111; }
h2 { font-size: 1.6em; }
h3 { font-size: 1.2em; color: #333; }
h4 { font-size: 1em; color: #333; }

p { margin: 0 0 0.75em; color: #555; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; }

/* ============================================
   Nav
   ============================================ */
.site-header {
  background: #111;
  border-bottom: 1px solid #1e1e1e;
  position: sticky;
  top: 0;
  z-index: 100;
}

.top-bar {
  max-width: 64rem;
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.title-area { display: flex; align-items: center; }

.name h1 { font-size: 15px; margin: 0; color: #fff; }
.name h1 a { color: #fff; text-decoration: none; font-weight: 500; }
.name h1 a small { font-size: 11px; color: #555; font-weight: 400; margin-left: 6px; }

.toggle-topbar { display: none; }
.menu-icon a { color: #888; font-size: 13px; text-decoration: none; border: 1px solid #333; border-radius: 4px; padding: 4px 10px; }

.top-bar-section { display: flex; align-items: center; gap: 1rem; }
.top-bar-section ul { display: flex; gap: 1.5rem; }
.top-bar-section ul.left li a { font-size: 13px; color: #888; text-decoration: none; }
.top-bar-section ul.left li a:hover { color: #fff; }
.top-bar-section ul.right li a { font-size: 13px; color: #fff; text-decoration: none; border: 1px solid #333; border-radius: 5px; padding: 5px 14px; }
.top-bar-section ul.right li a:hover { border-color: #666; }

@media (max-width: 640px) {
  .top-bar { flex-wrap: wrap; height: auto; padding: 0.75rem 1.5rem; }
  .toggle-topbar { display: block; cursor: pointer; }
  .top-bar-section { display: none; width: 100%; padding-bottom: 0.75rem; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .top-bar.expanded .top-bar-section { display: flex; }
  .top-bar-section ul { flex-direction: column; gap: 0.5rem; }
}

/* ============================================
   Layout
   ============================================ */
.wrapper {
  flex: 1;
  max-width: 64rem;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem 3rem;
}

.row { margin-bottom: 0.75rem; }

/* ============================================
   Hero
   ============================================ */
.hero {
  background: #f5f5f0;
  padding: 1.5rem;
  margin: 0 -1.5rem 2rem;
  border-bottom: 1px solid #e0e0d8;
}

.hero h2 {
  font-size: 1.5em;
  color: #111;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.hero h2 img {
  height: 1.4em;
  width: auto;
  vertical-align: middle;
}

.hero h2 span { color: #888; font-weight: 400; }

/* ============================================
   Content typography
   ============================================ */
.wrapper > .row > .columns > h2 { font-size: 1.8em; margin-bottom: 0.5rem; }
.wrapper > .row > .columns > h3 { font-size: 1.1em; color: #333; margin-top: 1.5rem; }
.wrapper p { color: #555; }
.wrapper p > a { color: #3a7d3a; }
.wrapper p > a:hover { color: #1a5fbf; }

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #111;
  border-top: 1px solid #1e1e1e;
}

.footer-cols {
  display: flex;
  gap: 2.5rem;
  justify-content: flex-end;
  padding: 1.75rem 1.5rem 1.25rem;
  max-width: 64rem;
  margin: 0 auto;
}

.footer-col h4 {
  font-size: 10px;
  color: #444;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 5px; }
.footer-col ul a { font-size: 12px; color: #666; text-decoration: none; }
.footer-col ul a:hover { color: #ccc; }

.footer-bar {
  border-top: 1px solid #1e1e1e;
  max-width: 64rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bar-brand { display: flex; flex-direction: column; gap: 2px; }
.footer-bar-brand strong { font-size: 12px; font-weight: 500; color: #888; }
.footer-bar-brand span { font-size: 11px; color: #444; }

.footer-bar-social { display: flex; gap: 0.5rem; }
.footer-bar-social a { font-size: 11px; color: #555; text-decoration: none; padding: 2px 8px; border: 1px solid #222; border-radius: 3px; }
.footer-bar-social a:hover { color: #ccc; border-color: #444; }