/* Mantella landing — minimal, tika.apache.org–inspired */

:root {
  --bg: #f5f5f5;
  --page: #ffffff;
  --text: #000000;
  --heading: #990000;
  --link: #0000ee;
  --link-visited: #551a8b;
  --muted: #555555;
  --border: #cccccc;
  --max: 920px;
  --font: Georgia, 'Times New Roman', Times, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--link);
}

a:visited {
  color: var(--link-visited);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.page {
  max-width: var(--max);
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 1.25rem auto;
  padding: 0 1rem 2rem;
  background: var(--page);
  border: 1px solid var(--border);
}

.banner {
  padding: 1rem 0 0.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand:visited {
  color: inherit;
}

.brand img {
  border-radius: 12px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--heading);
}

.brand-tag {
  font-size: 0.95rem;
  color: var(--muted);
}

.layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 720px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) 13.5rem;
    gap: 2.5rem;
    align-items: start;
  }
}

main h1 {
  margin: 0 0 1rem;
  color: var(--heading);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.25;
}

main h2 {
  margin: 1.75rem 0 0.65rem;
  color: var(--heading);
  font-size: 1.25rem;
  font-weight: 700;
}

main h3.release-title {
  margin: 1.1rem 0 0.45rem;
  color: var(--heading);
  font-size: 1.05rem;
  font-weight: 700;
}

main p,
main ul {
  margin: 0 0 0.9rem;
}

main ul {
  padding-left: 1.35rem;
}

main li {
  margin-bottom: 0.35rem;
}

.sidebar h3 {
  margin: 0 0 0.4rem;
  color: var(--heading);
  font-size: 0.95rem;
  font-weight: 700;
}

.sidebar h3:not(:first-child) {
  margin-top: 1.25rem;
}

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

.sidebar li {
  margin: 0.15rem 0;
  font-size: 0.95rem;
}

.site-footer {
  margin-top: 2rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0;
}
