:root {
  --bg: #08090b;
  --text: #e9edf1;
  --muted: #95a0ab;
  --line: #1b2128;
  --line-soft: rgba(255, 255, 255, 0.06);
  --accent: #9bb0c5;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: radial-gradient(circle at 50% -20%, #11151c 0%, var(--bg) 52%);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
  letter-spacing: -0.01em;
}

.mono,
.brand,
nav a,
.marker,
.signal,
footer {
  font-family: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 11, 0.84);
  backdrop-filter: blur(8px);
}

.brand {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: rgba(233, 237, 241, 0.88);
}

nav {
  display: flex;
  gap: 16px;
}

nav a {
  color: rgba(149, 160, 171, 0.84);
  text-decoration: none;
  font-size: 0.72rem;
}

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

main {
  width: min(1040px, calc(100% - 52px));
  margin: 46px auto;
}

.hero {
  padding: 4px 0 44px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.marker,
.signal {
  color: rgba(155, 176, 197, 0.78);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.marker {
  margin: 0 0 14px;
  opacity: 0.92;
}

h1 {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(2.05rem, 5vw, 3.62rem);
  line-height: 1.05;
  font-weight: 680;
  text-wrap: balance;
}

.signal {
  margin: 18px 0 0;
  opacity: 0.78;
}

.layout-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(460px, 1.35fr);
  gap: 42px;
  align-items: start;
}

.col {
  min-width: 0;
}

.block {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.block:first-child {
  border-top: 1px solid var(--line);
}

.block-featured h3 {
  font-size: 1.13rem;
  font-weight: 650;
  color: rgba(233, 237, 241, 0.98);
}

.block-featured article p {
  color: rgba(149, 160, 171, 0.96);
}

h2 {
  margin: 0 0 15px;
  font-size: 1.28rem;
  font-weight: 620;
  letter-spacing: -0.01em;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

li,
article {
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
}

li:first-child,
article:first-of-type {
  border-top: none;
  padding-top: 0;
}

h3 {
  margin: 0 0 7px;
  font-size: 1.03rem;
  font-weight: 610;
}

p {
  margin: 0;
  color: var(--muted);
}

#log li span.mono {
  display: inline-block;
  margin-bottom: 5px;
  color: rgba(155, 176, 197, 0.96);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.notes-list li span {
  display: block;
  margin-bottom: 6px;
  color: rgba(233, 237, 241, 0.92);
  font-weight: 550;
}

.full-width-about {
  margin-top: 8px;
  max-width: 78ch;
}

.about p + p {
  margin-top: 10px;
}

footer {
  text-align: center;
  color: rgba(149, 160, 171, 0.86);
  font-size: 0.72rem;
  padding: 10px 16px 34px;
}

@media (max-width: 900px) {
  .layout-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .col-right {
    margin-top: 2px;
  }
}

@media (max-width: 760px) {
  nav {
    display: none;
  }

  .topbar {
    justify-content: center;
  }

  main {
    width: min(1040px, calc(100% - 24px));
    margin-top: 28px;
  }

  .hero {
    padding-bottom: 34px;
  }

  .block {
    padding: 22px 0;
  }
}
