/* Laboratory Ventures shared stylesheet */

:root {
  --ink: #101828;
  --muted: #667085;
  --line: #e4e7ec;
  --surface: #f8fafc;
  --white: #ffffff;
  --accent: #0f766e;
  --accent-dark: #134e4a;
  --navy: #0b1220;
  --radius: 22px;
  --shadow: 0 18px 45px rgba(16, 24, 40, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--navy));
  border-radius: 14px;
  font-size: 0.9rem;
}

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--accent);
}

.hero {
  padding: 96px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 32px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, h3 {
  line-height: 1.08;
  letter-spacing: -0.05em;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.hero-copy {
  max-width: 720px;
  margin: 28px 0;
  color: var(--muted);
  font-size: 1.2rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 750;
}

.primary {
  color: white;
  background: var(--accent);
}

.secondary {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero-card,
.post-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 30px;
}

.hero-card h2 {
  font-size: 1.6rem;
}

.hero-card p,
.hero-card li,
.post-card p {
  color: var(--muted);
}

.hero-card ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.section {
  padding: 72px 0;
}

.section-heading {
  margin-bottom: 28px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.post-card {
  padding: 26px;
}

.post-card h3 a:hover,
.text-link:hover {
  color: var(--accent);
}

.post-meta {
  margin: 0 0 14px;
  color: var(--accent) !important;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link {
  color: var(--accent);
  font-weight: 800;
}

.muted {
  opacity: 0.76;
}

.dark-section {
  color: white;
  background: var(--navy);
}

.dark-section p {
  color: #cbd5e1;
}

.two-column {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.site-footer {
  padding: 28px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.article-hero {
  padding: 72px 0 42px;
}

.article {
  max-width: 760px;
  margin: 0 auto 80px;
  padding: 42px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article p,
.article li {
  color: var(--muted);
  font-size: 1.05rem;
}

.article h2 {
  margin-top: 38px;
  font-size: 2rem;
}

.article blockquote {
  margin: 30px 0;
  padding: 22px;
  color: var(--ink);
  background: #f0fdfa;
  border-left: 4px solid var(--accent);
  border-radius: 14px;
}

@media (max-width: 860px) {
  .hero-grid,
  .post-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  nav {
    display: none;
  }

  .hero {
    padding-top: 64px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .article {
    padding: 28px;
  }
}
