/* Epistemic Tools — landing */
@import "brand.css";

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 18px; -webkit-text-size-adjust: none; }
body.landing {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

#wrapper {
  min-height: 100vh;
  display: flex;
  padding: 0;
}
#main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 100%;
}
#main > .inner {
  width: 100%;
  max-width: 48rem;
  padding: 5rem;
  text-align: left;
}

/* Header: logo + title + blog */
.landing-header {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-bottom: 2rem;
  text-align: left;
}
.logo-link {
  color: var(--text);
  line-height: 0;
  flex-shrink: 0;
}
.logo-link:hover { color: var(--muted); }
.logo {
  width: 3.5rem;
  height: 3.5rem;
  display: block;
  object-fit: contain;
}
.site-title {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
}
.site-title a {
  color: inherit;
  text-decoration: none;
}
.site-title a:hover { text-decoration: underline; }

/* Prose */
.prose {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--muted);
  text-align: left;
}
.prose p {
  margin: 0 0 1rem;
  text-align: left;
}
.prose p:last-of-type { margin-bottom: 0; }
.prose a { color: inherit; text-decoration: underline; }
.prose a:hover { text-decoration: none; }
.prose strong { color: var(--text); font-weight: 700; }

/* Divider + footer */
.divider {
  border: 0;
  height: 1px;
  background: var(--divider);
  margin: 2rem 0 1.5rem;
}
.landing-footer {
  margin: 0;
}
.footer-follow {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin: 0;
  text-align: left;
}
.footer-follow a {
  color: var(--text);
  text-decoration: underline;
}
.footer-follow a:hover {
  color: var(--muted);
  text-decoration: none;
}

/* Responsive: container stays centered, content stays left-aligned */
@media (max-width: 736px) {
  #wrapper { padding: 0; }
  #main > .inner { padding: 3.5rem 2rem; text-align: left; }
  .logo { width: 2.75rem; height: 2.75rem; }
  .site-title { font-size: 1.6em; }
  .prose { font-size: 1rem; text-align: left; }
  .landing-header, .footer-follow { text-align: left; }
}
@media (max-width: 480px) {
  #main > .inner { padding: 3rem 1.5rem; }
}
@media (max-width: 360px) {
  #main > .inner { padding: 2.625rem 1.5rem; }
  .landing-header { gap: 1.3rem; }
  .logo { width: 2.5rem; height: 2.5rem; }
  .site-title { font-size: 1.4em; }
}
