/* Colors match src/constants/theme.ts's dark theme exactly, so the site
   feels like the app rather than a generic legal-page template. */
:root {
  --background: #1F0A0A;
  --background-element: #3D2020;
  --text: #ffffff;
  --text-secondary: #B0B4BA;
  --link: #3c87f7;
  --gold: #D4AF37;
  --max-width: 720px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a:hover {
  text-decoration: underline;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--background-element);
  flex-wrap: wrap;
  gap: 12px;
}

nav .wordmark {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

nav .links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 96px;
}

h1 {
  font-size: 32px;
  margin-bottom: 8px;
}

h2 {
  font-size: 20px;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--gold);
}

p, li {
  color: var(--text-secondary);
  font-size: 16px;
}

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

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

.button {
  display: inline-block;
  background: var(--background-element);
  border: 2px solid var(--gold);
  color: var(--text);
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  margin-top: 8px;
}

.button:hover {
  text-decoration: none;
  opacity: 0.85;
}

footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 24px 64px;
  color: var(--text-secondary);
  font-size: 13px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero {
  text-align: center;
  padding: 64px 24px 32px;
}

.hero p.tagline {
  margin-left: auto;
  margin-right: auto;
  max-width: 480px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.feature {
  background: var(--background-element);
  border-radius: 12px;
  padding: 20px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--text);
}

.feature p {
  margin: 0;
  font-size: 14px;
}
