/* aster-ai.dev */

:root {
  --bg: #0f1219;
  --surface: #161b26;
  --text: #c8cad0;
  --text-bright: #e4e5e9;
  --text-muted: #7d818a;
  --accent: #c9a84c;
  --accent-dim: #a08638;
  --link: #c9a84c;
  --link-hover: #dfc06a;
  --border: #252a36;
}

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

html {
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

/* --- Header --- */

header {
  margin-bottom: 4rem;
}

h1 {
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-bright);
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.subtitle {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.95rem;
}

/* --- Sections --- */

section {
  margin-bottom: 3rem;
}

h2 {
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dim);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

p {
  margin-bottom: 1rem;
  color: var(--text);
}

p:last-child {
  margin-bottom: 0;
}

em {
  font-style: italic;
  color: var(--text-bright);
}

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

/* --- Lists --- */

ul {
  list-style: none;
  padding: 0;
}

li {
  margin-bottom: 1.25rem;
  padding-left: 1rem;
  position: relative;
}

li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 4px;
  height: 4px;
  background: var(--accent-dim);
  border-radius: 50%;
}

li:last-child {
  margin-bottom: 0;
}

/* --- Links --- */

a {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

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

/* --- Footer --- */

footer {
  margin-top: 5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

/* --- Responsive --- */

@media (max-width: 480px) {
  html {
    font-size: 16px;
  }

  main {
    padding: 3rem 1.25rem 4rem;
  }

  header {
    margin-bottom: 3rem;
  }
}
