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

:root {
  --color-bg: #0d0d1a;
  --color-surface: #151528;
  --color-text: #e0dfe6;
  --color-text-muted: #9896a8;
  --color-heading: #ffffff;
  --color-accent: #7c6ff7;
  --color-accent-soft: rgba(124, 111, 247, 0.12);
  --color-border: rgba(255, 255, 255, 0.06);
  --max-width: 720px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* --- NAV --- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 13, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  padding: 0 1.5rem;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-heading);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

/* --- MAIN CONTENT --- */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.effective-date {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-bottom: 2.5rem;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

ul,
ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.35rem;
}

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

a:hover {
  text-decoration: underline;
}

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

/* --- INDEX PAGE --- */

.index-hero {
  text-align: center;
  padding: 6rem 1.5rem;
}

.index-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.index-hero p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.index-cards {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 480px;
  margin: 0 auto;
}

.index-card {
  display: block;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  text-decoration: none;
  color: var(--color-heading);
  font-weight: 600;
  font-size: 1rem;
  flex: 1;
  min-width: 200px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}

.index-card:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
  text-decoration: none;
}

.index-card span {
  display: block;
  color: var(--color-text-muted);
  font-weight: 400;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

/* --- FOOTER --- */

.footer {
  border-top: 1px solid var(--color-border);
  padding: 1.5rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

/* --- RESPONSIVE --- */

@media (max-width: 480px) {
  h1 {
    font-size: 1.6rem;
  }

  .index-hero {
    padding: 4rem 1rem;
  }

  .index-hero h1 {
    font-size: 1.8rem;
  }

  .index-cards {
    flex-direction: column;
  }
}
