/* sudakov.site — base styles (rendered terminal aesthetic) */

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

body {
  background: #ffffff;
  color: #111111;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  padding: 2.5rem 1.5rem 5rem;
  display: flex;
  justify-content: center;
}

pre, code {
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9em;
}

code {
  background: #f6f8fa;
  padding: 0.15em 0.35em;
  border-radius: 2px;
}

pre code {
  background: transparent;
  padding: 0;
}

pre {
  background: #f6f8fa;
  padding: 1rem;
  overflow-x: auto;
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 1.8em;
  margin-bottom: 0.5em;
}

h1 { font-size: 1.4em; }
h2 { font-size: 1.15em; }
h3 { font-size: 1em; }

p, ul, ol, blockquote {
  margin-bottom: 1em;
}

a {
  color: #0000ee;
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:visited {
  color: #551a8b;
}

a:hover {
  color: #000;
}

ul, ol {
  padding-left: 1.5em;
}

li {
  margin-bottom: 0.3em;
}

blockquote {
  border-left: 3px solid #ddd;
  padding-left: 1em;
  color: #555;
}

hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 2em 0;
}

img {
  max-width: 100%;
  height: auto;
}

/* homepage container */
.container {
  max-width: 38rem;
  width: 100%;
}

/* narrative pages (essays, projects) — wider for evidence widgets */
.narrative {
  max-width: 50rem;
  width: 100%;
}

.evidence {
  margin: 2rem 0;
  padding: 1rem;
  background: #f6f8fa;
}

@media (min-width: 1000px) {
  .evidence {
    float: right;
    width: 45%;
    margin: 0 -8rem 1rem 1.5rem;
  }
}

/* homepage sections */
.site-header {
  margin-bottom: 2em;
}

.site-header h1 {
  margin: 0 0 0.1em 0;
  font-size: 1.6em;
}

.bio {
  margin-bottom: 2em;
}

.section-title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin-top: 2.5em;
  margin-bottom: 0.8em;
}

.entry {
  margin-bottom: 1.2em;
}

.entry-title {
  font-weight: 600;
}

.entry-desc {
  color: #555;
  font-size: 0.92em;
}

.entry-meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8em;
  color: #999;
}

.coming-soon {
  color: #888;
  font-style: italic;
  font-size: 0.95em;
}

.footer {
  margin-top: 3em;
  padding-top: 1.5em;
  font-size: 0.9em;
  color: #888;
}

.footer a {
  color: #888;
  text-decoration: underline;
}
