:root {
  /* VOIR brand */
  --voir-primary: #2E5BFF;
  --voir-primary-hover: #2148D8;
  --voir-primary-600: #3A66FF;

  --voir-bg: #FFFFFF;
  --voir-surface: #FFFFFF;
  --voir-surface-muted: #F5F7FB;

  --voir-text: #0F172A;         /* slate-900 */
  --voir-text-muted: #64748B;   /* slate-500 */
  --voir-border: #E5E7EB;       /* gray-200 */

  --radius-lg: 16px;
  --radius-xl: 20px;

  --shadow-lg: 0 12px 30px rgba(46,91,255,0.12);
  --shadow-md: 0 6px 16px rgba(15, 23, 42, 0.08);
}

html, body {
  background: var(--voir-bg);
  color: var(--voir-text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, "Apple Color Emoji","Segoe UI Emoji";
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Buttons */
.btn, .button, button.primary {
  background: var(--voir-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-xl);
  padding: 14px 22px;
  font-weight: 600;
  letter-spacing: .2px;
  box-shadow: var(--shadow-lg);
  transition: transform .06s ease, background .2s ease, box-shadow .2s ease;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  font-size: 16px;
}

.btn:hover, .button:hover, button.primary:hover {
  background: var(--voir-primary-hover);
  transform: translateY(-1px);
  text-decoration: none;
  color: #fff;
}

/* Inputs like the app login */
.input, input[type="text"], input[type="email"], input[type="password"], textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--voir-border);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 16px;
  outline: none;
  box-shadow: var(--shadow-md);
  transition: border-color .2s ease, box-shadow .2s ease;
}

input:focus, textarea:focus {
  border-color: var(--voir-primary-600);
  box-shadow: 0 0 0 4px rgba(46,91,255,0.12), var(--shadow-md);
}

/* Cards / panels (like the app's white panels) */
.card {
  background: var(--voir-surface);
  border: 1px solid var(--voir-border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

/* Links in brand color */
a { 
  color: var(--voir-primary); 
  text-decoration: none; 
  font-weight: 600; 
}

a:hover { 
  color: var(--voir-primary-hover); 
  text-decoration: underline; 
}

/* Header / navbar (minimal white with subtle divider) */
.header {
  background: #fff;
  border-bottom: 1px solid var(--voir-border);
  position: sticky; 
  top: 0; 
  z-index: 10;
}

/* Hero section - clean white */
.hero {
  background: #fff;
  padding: clamp(48px, 8vw, 96px) 0;
  text-align: center;
}

.hero h1 { 
  color: var(--voir-primary); 
  font-weight: 800; 
  letter-spacing: .2px; 
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p { 
  color: var(--voir-text-muted); 
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Logo styling */
.logo {
  font-size: 3rem;
  font-weight: 800;
  color: var(--voir-primary);
  margin-bottom: 1rem;
}

.tagline {
  font-size: 1.2rem;
  color: var(--voir-text-muted);
  margin-bottom: 3rem;
  text-align: center;
}

/* Utilities */
.centered-narrow { 
  max-width: 720px; 
  margin: 0 auto; 
  padding: 0 20px; 
}

.spacer-24 { height: 24px; } 
.spacer-40 { height: 40px; }

/* Page headers for legal pages */
.page-header {
  background: var(--voir-surface-muted);
  color: var(--voir-primary);
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  text-align: center;
  border: 1px solid var(--voir-border);
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.page-header p {
  opacity: 0.9;
  font-size: 1.1rem;
  color: var(--voir-text-muted);
}

/* Content styling for legal pages */
.page-content {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
}

.page-content h2 {
  color: var(--voir-primary);
  margin: 2rem 0 1rem 0;
  font-size: 1.5rem;
  border-bottom: 2px solid var(--voir-primary);
  padding-bottom: 0.5rem;
  font-weight: 700;
}

.page-content h3 {
  color: var(--voir-text);
  margin: 1.5rem 0 0.5rem 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.page-content p {
  margin-bottom: 1rem;
  color: var(--voir-text-muted);
}

.page-content ul {
  margin: 1rem 0 1rem 2rem;
  color: var(--voir-text-muted);
}

.page-content li {
  margin-bottom: 0.5rem;
}

/* Highlight boxes */
.highlight {
  background: #f0f4ff;
  padding: 1rem;
  border-left: 4px solid var(--voir-primary);
  margin: 1rem 0;
  border-radius: 5px;
}

.warning {
  background: #fff3cd;
  padding: 1rem;
  border-left: 4px solid #ffc107;
  margin: 1rem 0;
  border-radius: 5px;
}

.contact-info {
  background: var(--voir-surface-muted);
  padding: 1.5rem;
  border-radius: 10px;
  margin-top: 2rem;
}

/* Footer */
.footer {
  margin-top: 3rem;
  color: var(--voir-text-muted);
  text-align: center;
  font-size: 0.9rem;
}

/* Navigation links */
.nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-link {
  display: inline-block;
  padding: 12px 24px;
  background: var(--voir-primary);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  color: white;
  text-decoration: none;
}

/* Back link styling */
.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--voir-primary);
  text-decoration: none;
  font-weight: 600;
}

.back-link:hover {
  text-decoration: underline;
  color: var(--voir-primary-hover);
}

/* Container */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .container {
    padding: 15px;
  }
  
  .logo {
    font-size: 2.5rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .page-content {
    padding: 1.5rem;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
}