/* Clairvos Legal Pages - Clean, Professional Styling */

:root {
  --primary: #1a1a2e;
  --secondary: #16213e;
  --accent: #0f3460;
  --text: #333;
  --text-light: #666;
  --border: #e5e5e5;
  --bg: #fff;
  --bg-alt: #f9fafb;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

/* Header */
header {
  background: var(--primary);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo span {
  opacity: 0.7;
  font-weight: 400;
}

nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  margin-left: 2rem;
  font-size: 0.9rem;
  transition: color 0.2s;
}

nav a:hover {
  color: #fff;
}

/* Container */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Main Content */
main {
  padding: 3rem 0 5rem;
}

/* Typography */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

.effective-date {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin: 2.5rem 0 1rem;
  padding-top: 1rem;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--secondary);
  margin: 1.5rem 0 0.75rem;
}

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

/* Lists */
ul, ol {
  margin: 1rem 0 1rem 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

th, td {
  padding: 0.75rem 1rem;
  text-align: left;
  border: 1px solid var(--border);
}

th {
  background: var(--bg-alt);
  font-weight: 600;
  color: var(--primary);
}

tr:hover {
  background: var(--bg-alt);
}

/* Links */
a {
  color: var(--accent);
}

a:hover {
  text-decoration: underline;
}

/* Blockquotes / Notices */
blockquote, .notice {
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.notice-warning {
  border-left-color: #f59e0b;
  background: #fffbeb;
}

.notice-important {
  border-left-color: #ef4444;
  background: #fef2f2;
}

/* Strong text */
strong {
  font-weight: 600;
  color: var(--primary);
}

/* Code */
code {
  background: var(--bg-alt);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9em;
}

/* Footer */
footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding: 2rem 0;
  font-size: 0.9rem;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

footer a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  margin-left: 1.5rem;
}

footer a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 640px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.3rem;
  }
  
  header .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  nav a {
    margin: 0 1rem;
  }
  
  footer .container {
    flex-direction: column;
    text-align: center;
  }
  
  footer a {
    margin: 0 0.75rem;
  }
  
  table {
    font-size: 0.8rem;
  }
  
  th, td {
    padding: 0.5rem;
  }
}

/* Print styles */
@media print {
  header, footer, nav {
    display: none;
  }
  
  main {
    padding: 0;
  }
  
  .container {
    max-width: none;
  }
}
