:root {
  --bg-base: #09090D;
  --bg-surface: #14141A;
  --bg-elevated: #1C1C24;
  --accent: #D97757;
  --accent-light: #F09A7D;
  --accent-dim: rgba(217, 119, 87, 0.15);
  --text-primary: #FFFFFF;
  --text-secondary: #AEAEB2;
  --text-tertiary: #636366;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(217, 119, 87, 0.3);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-family);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  background-color: rgba(9, 9, 13, 0.85);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--text-primary);
  font-weight: 400;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Hero Section */
.hero {
  padding: 72px 0 48px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background-color: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--border-accent);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.hero p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Card & Content */
.content-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 36px;
  margin-bottom: 32px;
}

.meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-section {
  margin-bottom: 28px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 8px;
}

.legal-section p {
  color: #D1D1D6;
  font-size: 15px;
  line-height: 1.65;
}

/* Grid Links for Index */
.nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 40px 0 60px;
}

.grid-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 24px;
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s, background-color 0.2s;
  display: flex;
  flex-direction: column;
}

.grid-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background-color: var(--bg-elevated);
}

.grid-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.grid-card h3 {
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.grid-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  text-align: center;
  color: var(--text-tertiary);
  font-size: 13px;
}

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

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

/* Mobile responsive */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 28px;
  }
  .content-card {
    padding: 24px 20px;
  }
  nav {
    display: none;
  }
}
