:root {
  --bg: #0f1115;
  --surface: #171a21;
  --border: #2a2f3a;
  --text: #e6e8ec;
  --muted: #9aa1ad;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Yläpalkki */
.header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header .container {
  display: flex;
  align-items: center;
  min-height: 64px;
}

.site-name {
  margin: 0;
  font-size: 1.25rem;
}

/* Sisältöalue */
.main {
  flex: 1;
  padding-top: 32px;
  padding-bottom: 32px;
}

.content {
  min-height: 50vh;
}

/* Hakukenttä */
.search {
  display: flex;
  gap: 8px;
  max-width: 480px;
}

.search input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.search input::placeholder {
  color: var(--muted);
}

.search button {
  padding: 10px 18px;
  border: 0;
  border-radius: 6px;
  background: var(--text);
  color: var(--bg);
  font: inherit;
  cursor: pointer;
}

/* Footer */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer .container {
  padding-top: 20px;
  padding-bottom: 20px;
}

.footer p {
  margin: 0;
}
