/* Arcus Legal — shared dark theme. Mirrors the app's brand palette so the
   external pages feel like part of Arcus, not a generic dump. */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&display=swap');

:root {
  --bg: #0B0907;
  --bg-elevated: #16140F;
  --border: #2C2A23;
  --text-primary: #F5F4ED;
  --text-secondary: #9A9890;
  --text-muted: #5A5852;
  --accent: #F4D03F;
  --accent-soft: rgba(244, 208, 63, 0.12);
  --accent-border: rgba(244, 208, 63, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 56px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.wordmark {
  font-family: 'Geist Mono', monospace;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--text-muted);
}

.eyebrow {
  font-family: 'Geist Mono', monospace;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

h1 {
  font-family: 'Geist', sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -1.2px;
  margin-bottom: 8px;
}

h1 em {
  font-style: italic;
  color: var(--accent);
}

.subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 48px;
}

h2 {
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.4px;
  margin-top: 40px;
  margin-bottom: 16px;
}

h3 {
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: 17px;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

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

p strong {
  color: var(--text-primary);
  font-weight: 600;
}

ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 16px;
}

li {
  color: var(--text-secondary);
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

li::before {
  content: '·';
  color: var(--accent);
  position: absolute;
  left: 6px;
  font-weight: 700;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-border);
  padding-bottom: 1px;
  transition: border-color 120ms ease;
}

a:hover {
  border-color: var(--accent);
}

.last-updated {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.draft-banner {
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 32px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--accent);
  text-transform: uppercase;
}

footer {
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

footer a {
  color: var(--text-muted);
  border-bottom-color: transparent;
}

footer a:hover {
  color: var(--accent);
}

/* Index landing page */
.landing {
  text-align: center;
  padding-top: 120px;
}

.landing h1 {
  font-size: 64px;
  margin-bottom: 20px;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: left;
  transition: border-color 200ms ease, transform 200ms ease;
  display: block;
  border-bottom: 1px solid var(--border);
}

.card:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
}

.card h2 {
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 0;
}

@media (max-width: 600px) {
  main { padding: 32px 20px 64px; }
  h1 { font-size: 36px; }
  .landing { padding-top: 64px; }
  .landing h1 { font-size: 44px; }
  .cards { grid-template-columns: 1fr; }
}
