/* Kleos public site - plain CSS, no framework, no build step, no web fonts
   (system font stack keeps this fast and dependency-free). Dark-first,
   matching the brand tokens in src/constants/theme.ts's dark palette. */

:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --bg-element: #141416;
  --card: #1a1a1d;
  --border: rgba(255, 255, 255, 0.1);
  --text: #f2f2f4;
  --text-secondary: #9a9aa2;
  --text-muted: #82828a;
  --lime: #cbf041;
  --dark-green: #016b45;
  --danger: #ff6b6e;
  --max-width: 720px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--lime);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

header.site-header {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

.brand img {
  height: 22px;
  width: auto;
  display: block;
}

nav.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

nav.site-nav a {
  color: var(--text-secondary);
}

nav.site-nav a:hover,
nav.site-nav a:focus-visible {
  color: var(--lime);
}

main {
  padding: 48px 0 64px;
}

h1 {
  font-size: 32px;
  line-height: 1.25;
  margin: 0 0 12px;
}

h2 {
  font-size: 20px;
  margin: 40px 0 8px;
  color: var(--text);
}

h2:first-of-type {
  margin-top: 24px;
}

p {
  color: var(--text-secondary);
  margin: 0 0 16px;
}

.intro {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.byline {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: -8px;
  margin-bottom: 32px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
}

.pill {
  display: inline-block;
  background: rgba(203, 240, 65, 0.12);
  border: 1px solid var(--lime);
  color: var(--lime);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.button {
  display: inline-block;
  background: var(--lime);
  color: var(--dark-green);
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 14px;
  border: none;
}

.button:hover,
.button:focus-visible {
  text-decoration: none;
  filter: brightness(1.05);
}

.button-secondary {
  display: inline-block;
  background: var(--bg-element);
  color: var(--text);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.link-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.link-list li:last-child {
  border-bottom: none;
}

ul.plain {
  color: var(--text-secondary);
  padding-left: 20px;
}

ul.plain li {
  margin-bottom: 8px;
}

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 14px;
}

.site-footer nav a {
  color: var(--text-secondary);
}

.site-footer p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.status-note {
  background: var(--bg-element);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  font-size: 14px;
  color: var(--text-secondary);
  margin: 24px 0;
}

@media (max-width: 480px) {
  h1 {
    font-size: 26px;
  }
  main {
    padding: 32px 0 48px;
  }
}
