/* OpenDH — base styles */

:root {
  --navy: #1b2a4a;
  --accent: #2e5aac;
  --accent-light: #5b84d6;
  --bg: #ffffff;
  --bg-alt: #f6f7fa;
  --text: #1b1f27;
  --text-muted: #4a4a4a;
  --border: #e3e6ec;
  --card-bg: #ffffff;
  --status-active-bg: #e7f0ff;
  --status-active-text: #2e5aac;
  --status-planned-bg: #eef1f7;
  --status-planned-text: #6b7280;
  --radius: 10px;
  --max-width: 980px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #11151f;
    --bg-alt: #161b26;
    --text: #e7eaf0;
    --text-muted: #a8adb8;
    --border: #262c3a;
    --card-bg: #161b26;
    --accent: #5b84d6;
    --accent-light: #85a4e3;
    --status-active-bg: #1c2b4a;
    --status-active-text: #9db8ef;
    --status-planned-bg: #1d222e;
    --status-planned-text: #9aa0ad;
  }
}

:root[data-theme="dark"] {
  --bg: #11151f;
  --bg-alt: #161b26;
  --text: #e7eaf0;
  --text-muted: #a8adb8;
  --border: #262c3a;
  --card-bg: #161b26;
  --accent: #5b84d6;
  --accent-light: #85a4e3;
  --status-active-bg: #1c2b4a;
  --status-active-text: #9db8ef;
  --status-planned-bg: #1d222e;
  --status-planned-text: #9aa0ad;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

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

h1, h2, h3 {
  color: var(--text);
  line-height: 1.25;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 16px; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 14px; }
h3 { font-size: 1.15rem; margin: 0 0 8px; }

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}
.brand:hover { text-decoration: none; }

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav a:hover { color: var(--accent); text-decoration: none; }

/* Hero */

.hero {
  padding: 64px 20px 40px;
}

.hero .lead {
  font-size: 1.1rem;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}
.btn-primary:hover { background: var(--navy); text-decoration: none; }

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); text-decoration: none; }

/* Sections */

.section {
  padding: 48px 20px;
  border-top: 1px solid var(--border);
}

.section-intro {
  max-width: 680px;
}

/* Roadmap cards */

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

@media (max-width: 680px) {
  .cards { grid-template-columns: 1fr; }
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.card p { margin-bottom: 0; }

.card-status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.status-active {
  background: var(--status-active-bg);
  color: var(--status-active-text);
}

.status-planned {
  background: var(--status-planned-bg);
  color: var(--status-planned-text);
}

.placeholder-note {
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 16px;
  font-style: italic;
}

/* Footer */

.site-footer {
  padding: 28px 20px 40px;
  border-top: 1px solid var(--border);
}

.site-footer p {
  font-size: 0.85rem;
  margin: 0;
}
