/* Exactus Labs — shared site shell styles */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f5;
  --text: #111111;
  --text-muted: #5c5c5c;
  --border: #e4e4e2;
  --accent: #0b4a6f;
  --accent-hover: #093a58;
  --accent-soft: #eaf1f6;
  --max-width: 1040px;
  --radius: 10px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header / nav */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}
.brand {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand:hover { text-decoration: none; color: var(--text); }
.brand .brand-mark {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--accent);
  margin-right: 9px;
  border-radius: 2px;
  vertical-align: middle;
  transform: translateY(-1px);
}
.site-nav { display: flex; gap: 1.75rem; }
.site-nav a {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}
.site-nav a:hover { color: var(--text); text-decoration: none; }
.site-nav a.active { color: var(--text); }

/* Hero */
.hero {
  padding: 5rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 720px;
  margin-bottom: 1rem;
}
.hero p.lead {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 620px;
}
.hero .cta-row {
  margin-top: 1.75rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.btn:hover { background: var(--bg-soft); text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

/* Section */
section.section { padding: 4rem 0; }
section.section + section.section { border-top: 1px solid var(--border); }
.section-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.section h2 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.section p.section-lead {
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 2rem;
}

/* Tool grid */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}
.tool-card {
  display: block;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.12s ease, transform 0.12s ease;
}
.tool-card:hover {
  border-color: var(--accent);
  text-decoration: none;
  color: var(--text);
}
.tool-card.disabled {
  opacity: 0.55;
  pointer-events: none;
}
.tool-card .tool-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tool-card .tool-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}
.tag-muted { background: var(--bg-soft); color: var(--text-muted); }

/* Prose (about page, long-form text) */
.prose {
  max-width: 680px;
  font-size: 16px;
  color: var(--text);
}
.prose p { margin-bottom: 1rem; }
.prose h2 { font-size: 22px; font-weight: 600; margin: 2rem 0 0.75rem; }
.prose ul { margin: 0.75rem 0 1rem 1.25rem; }
.prose li { margin-bottom: 0.35rem; }

/* Tool page header (sits between global header and tool body) */
.tool-header {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 0;
}
.tool-header .breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.tool-header .breadcrumb a { color: var(--text-muted); }
.tool-header .breadcrumb a:hover { color: var(--accent); }
.tool-header h1 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.tool-body { padding: 2rem 0 4rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.25rem 0;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg);
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--accent); }
.footer-links { display: flex; gap: 1.25rem; }

/* Responsive */
@media (max-width: 640px) {
  .site-nav { gap: 1rem; }
  .hero { padding: 3rem 0 2.5rem; }
  section.section { padding: 2.5rem 0; }
}
