:root {
  --primary: #0f766e;
  --primary-dark: #042f2e;
  --bg: #f8fafc;
  --card: #ffffff;
  --heading: #111827;
  --body: #4b5563;
  --muted: #94a3b8;
  --border: #e5e7eb;
  --font: 'Inter', system-ui, sans-serif;
  --font-display: 'Poppins', var(--font);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(2, 44, 34, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}

.brand:hover { text-decoration: none; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
}

.nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:hover { color: #fff; text-decoration: none; }

.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 3rem 0 1.5rem;
  flex-shrink: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.site-footer h4 {
  color: #fff;
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li { margin-bottom: 0.45rem; }

.site-footer a { color: rgba(255, 255, 255, 0.75); }
.site-footer a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

body.has-site-chrome {
  margin: 0;
}

.site-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.has-site-chrome .site-layout > .content-page-wrap,
body.has-site-chrome > main.content-page-wrap {
  flex: 1 0 auto;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 72px;
}

body.embed-mode .content-page-wrap {
  padding-top: 0;
}

@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--primary-dark);
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav.open { display: flex; }
  .site-header { position: sticky; }
  body.has-site-chrome .site-layout > .content-page-wrap,
  body.has-site-chrome > main.content-page-wrap { padding-top: 0; }
}
