/* /Users/cremmell/Documents/New project/styles.css */
:root {
  --bg: #f8f8f6;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #555;
  --border: #dcdcd8;
  --accent: #222;
  --accent-soft: #efefec;
  --max-width: 1080px;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 248, 246, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--text);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  padding: 0;
  margin: 0;
}

.nav a {
  color: var(--text);
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: #000;
}

.hero {
  padding: 5.5rem 0 3.5rem;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  letter-spacing: 0.4px;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin: 0.4rem 0 1rem;
}

h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  margin-top: 0;
}

.lead {
  max-width: 760px;
  color: #333;
}

.section {
  padding: 3.2rem 0;
}

.section-alt {
  background: #f2f2ef;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.grid {
  display: grid;
  gap: 1.2rem;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stack {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.insights {
  margin: 0.8rem 0;
  padding-left: 1.2rem;
}

.tools {
  color: #2f2f2f;
}

.tag-list,
.cert-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0 0;
}

.tag-list li,
.cert-list li {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.button {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 0.58rem 0.9rem;
  transition: transform 140ms ease, opacity 140ms ease, background-color 140ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  opacity: 0.95;
}

.button-secondary {
  color: var(--text);
  background: var(--accent-soft);
  border-color: var(--border);
}

.case-section {
  margin-bottom: 1rem;
}

.image-placeholder {
  min-height: 220px;
  border: 2px dashed #c5c5bf;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #666;
  background: #fafaf8;
  text-align: center;
  padding: 1rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  background: #f6f6f3;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-grid ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.site-footer a {
  color: var(--text);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

.copyright {
  text-align: center;
  color: #666;
  margin: 1rem 0 0;
  padding: 0 0 1rem;
}

@media (max-width: 840px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    right: 1rem;
    top: 60px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 0.8rem;
    flex-direction: column;
    min-width: 170px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}
