:root {
  --primary: #000000;
  --primary-hover: #333333;
  --bg: #ffffff;
  --card-bg: #ffffff;
  --text-main: #000000;
  --text-muted: #666666;
  --border: #e2e8f0;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  padding: 4rem 1.5rem;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

.header {
  text-align: left;
  margin-bottom: 5rem;
}

.header h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.header p {
  color: var(--text-muted);
  font-size: 1.25rem;
  max-width: 600px;
}

.card {
  background-color: var(--card-bg);
  border-top: 1px solid var(--primary);
  padding: 2rem 0;
  margin-top: 3rem;
}

section {
  margin-bottom: 4rem;
}

h2 {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

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

ul {
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.last-updated {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 3rem;
  color: var(--text-muted);
}

footer {
  text-align: left;
  margin-top: 6rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 3rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: opacity 0.2s ease;
}

.back-link:hover {
  opacity: 0.6;
}

.back-link svg {
  margin-right: 0.75rem;
}

/* Index Grid Styling */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 4rem;
}

.grid-card {
  border: 1px solid var(--border);
  padding: 2.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.grid-card:hover {
  border-color: var(--text-main);
  background-color: #fafafa;
}

.grid-card h3 {
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.grid-card p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.grid-card svg {
  width: 32px;
  height: 32px;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

@media (max-width: 640px) {
  body {
    padding: 2rem 1.5rem;
  }
  .header h1 {
    font-size: 2.25rem;
  }
}
