@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===========================
   TOKENS — LIGHT THEME
=========================== */
:root {
  --c-bg:        #ffffff;
  --c-bg2:       #f7f8fa;
  --c-surface:   #ffffff;
  --c-surface2:  #f0f2f5;
  --c-border:    #d1d5db;
  --c-border2:   #e5e7eb;
  --c-text:      #0f1923;
  --c-muted:     #6b7280;
  --c-mid:       #374151;
  --c-green:     #007a3d;
  --c-green2:    #005f2f;
  --c-green-dim: #e8f5ee;
  --c-green-glow:#c6e8d4;
  --c-red:       #b91c1c;
  --c-amber:     #b45309;

  --f-sans: 'Inter', sans-serif;
  --f-mono: 'DM Mono', monospace;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 18px;

  --transition: 0.18s cubic-bezier(0.4,0,0.2,1);

  /* shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
}

/* ===========================
   RESET
=========================== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-sans);
  background: var(--c-bg2);
  color: var(--c-text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
img { display: block; max-width: 100%; }

/* ===========================
   BACKGROUND — clean white
=========================== */
.page-bg {
  display: none;
}

/* ===========================
   NAVBAR
=========================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 58px;
  background: #ffffff;
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--c-text);
}
.nav-logo img { width: 28px; height: 28px; }
.nav-logo-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-green);
  animation: blink 2.5s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity:1; }
  50%      { opacity:0.35; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-muted);
  border-radius: var(--r-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover {
  color: var(--c-text);
  background: var(--c-bg2);
}
.nav-links a.active {
  color: var(--c-text);
  font-weight: 600;
  background: var(--c-bg2);
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: var(--c-green-dim);
  border: 1px solid #a7d4b9;
  border-radius: 100px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--c-green);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.nav-pill::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-green);
  animation: blink 2.5s ease-in-out infinite;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--c-mid);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===========================
   FOOTER
=========================== */
.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--c-border);
  padding: 48px 40px 32px;
  background: #ffffff;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.7;
  max-width: 220px;
}

.footer-col h4,
.footer-col p strong {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-text);
  margin-bottom: 14px;
  display: block;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a {
  font-size: 13px;
  color: var(--c-muted);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--c-green); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--c-border2);
  font-size: 12px;
  color: var(--c-muted);
}

/* ===========================
   GENERIC PAGE WRAPPER
=========================== */
.page-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.page-hero {
  margin-bottom: 40px;
}

.page-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-green);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 4px 10px;
  background: var(--c-green-dim);
  border-radius: var(--r-sm);
  border: 1px solid #a7d4b9;
}

.page-hero h1 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--c-text);
}

.page-hero p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--c-muted);
  line-height: 1.7;
  max-width: 520px;
}

/* ===========================
   PROSE (legal/info pages)
=========================== */
.prose {
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 40px 48px;
  box-shadow: var(--shadow-sm);
}

.prose h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-text);
  margin: 36px 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c-border2);
}
.prose h2:first-child { margin-top: 0; }

.prose p {
  font-size: 14px;
  color: var(--c-mid);
  line-height: 1.8;
  margin-bottom: 14px;
}

.prose ul, .prose ol {
  margin: 0 0 16px 20px;
}
.prose li {
  font-size: 14px;
  color: var(--c-mid);
  line-height: 1.75;
  margin-bottom: 6px;
}
.prose strong { color: var(--c-text); }
.prose a { color: var(--c-green); }
.prose a:hover { text-decoration: underline; }

/* ===========================
   CONTACT CARDS
=========================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.contact-card {
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-card:hover {
  border-color: #a7d4b9;
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  font-size: 26px;
  margin-bottom: 14px;
}
.contact-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 8px;
}
.contact-card p {
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}
.contact-card a.link-green {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-green);
}
.contact-card a.link-green:hover { text-decoration: underline; }

/* ===========================
   BUTTONS (utility)
=========================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--c-green);
  color: #ffffff;
  border: none;
  border-radius: var(--r-md);
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 2px 6px rgba(0,122,61,0.25);
}
.btn-primary:hover {
  background: var(--c-green2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,122,61,0.3);
}

/* ===========================
   RESPONSIVE NAVBAR
=========================== */
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-pill { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .site-footer { padding: 36px 20px 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .prose { padding: 24px 20px; }
}
