@import '/common-web/tokens.css';

@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/cinzel-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/fonts/inter-400.woff2') format('woff2');
}

:root {
  --bg: var(--ll-bg);
  --bg-surface: var(--ll-surface);
  --text: var(--ll-text);
  --text-muted: var(--ll-text-muted);
  --accent: var(--ll-accent);
}

html {
  background-color: var(--bg);
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5rem 2rem 6rem;
  box-sizing: border-box;
}

.container {
  max-width: 800px;
  width: 100%;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 2rem 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1 a {
  color: inherit;
  text-decoration: none;
}

h1 a:hover {
  text-decoration: underline;
}

h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin: 2rem 0 1rem 0;
}

h3 {
  font-size: 1.125rem;
  font-weight: 500;
  margin: 1.5rem 0 0.75rem 0;
}

p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin: 0 0 1.5rem 0;
}

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

a:hover {
  text-decoration: none;
}

ul {
  font-size: 1.125rem;
  line-height: 1.8;
  margin: 0 0 1.5rem 0;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

.back {
  display: inline-block;
  margin-top: 1rem;
  color: var(--text-muted);
  text-decoration: none;
}

.back:hover {
  color: var(--text);
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-surface);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

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

.theme-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  transition: opacity 0.2s ease, filter 0.2s ease;
  padding: 0;
  z-index: 100;
}
