/* Louis Shamel Consulting — shared styles */

/* Custom Properties */
:root {
  --ink: #0b1020;
  --bg: #ffffff;
  --sub: #5a6c85;
  --brand: #2563eb;
  --brand-2: #3b82f6;
  --card: #ffffff;
  --line: #e5e7eb;
}

/* Base */
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

/* Layout */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(16px, 2vw, 28px);
}

.flex {
  display: flex;
  gap: 16px;
}

.between {
  justify-content: space-between;
}

.center {
  align-items: center;
  text-align: center;
}

.wrap {
  flex-wrap: wrap;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Header */
.site-header {
  background: #0b1020;
  color: #fff;
  border-bottom: 1px solid #0f1a33;
}

.brand {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.nav a {
  color: #dbe7ff;
  text-decoration: none;
  margin-left: 18px;
}

.nav a.active {
  color: #fff;
  font-weight: 600;
}

.nav a:hover {
  opacity: 0.9;
}

/* Hero */
.hero {
  padding: 52px 0 20px;
  color: #0b1020;
}

.hero.gradient {
  background: linear-gradient(135deg, #eaf2ff 0%, #f7f9ff 60%, #ffffff 100%);
}

.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.15;
  margin: 0 0 12px;
}

.lead {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--sub);
  max-width: 70ch;
}

.cta {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid #cbd6e6;
  transition: transform 0.2s, opacity 0.2s;
}

.btn.primary {
  background: var(--brand);
  color: #fff;
  border-color: transparent;
}

.btn.primary:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.btn.ghost {
  background: #fff;
  color: var(--brand);
}

.btn.ghost:hover {
  background: #f8fafc;
}

/* Sections */
.section {
  padding: 28px 0;
}

.section.alt {
  background: #f8fafc;
}

.hero-min {
  padding: 40px 0;
  color: #0b1020;
}

.hero-min.gradient {
  background: linear-gradient(135deg, #eaf2ff 0%, #f7f9ff 60%, #ffffff 100%);
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(12, 37, 66, 0.04);
}

.card.highlight {
  border-left: 4px solid var(--brand);
}

.card h3 {
  margin-top: 0;
}

/* Lists */
.checklist {
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.checklist li {
  padding-left: 28px;
  position: relative;
  margin: 12px 0;
}

.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
}

/* Pills */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  background: #eef4ff;
  border: 1px solid #dbe7ff;
  color: #0b3b80;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 14px;
}

/* Timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline li {
  border-left: 3px solid #dbe7ff;
  margin-left: 10px;
  padding-left: 16px;
  padding-bottom: 14px;
}

.timeline h3 {
  margin: 0.2rem 0;
}

.timeline p {
  margin: 0.5rem 0;
}

/* Call to Action */
.cta-block {
  padding: 36px 0;
  color: #0b1020;
  text-align: center;
}

.gradient-2 {
  background: linear-gradient(135deg, #f2f9ff 0%, #eef4ff 50%, #ffffff 100%);
}

/* Footer */
.site-footer {
  background: #0b1020;
  color: #c8d5f2;
  padding: 2rem 0;
}

.site-footer a {
  color: #eaf2ff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.site-footer a:hover {
  opacity: 0.8;
}

.site-footer .small {
  font-size: 12px;
  color: #9db4db;
  margin-top: 1rem;
}

.footer-links a {
  margin-left: 16px;
}

/* Accessibility */
:focus-visible {
  outline: 3px solid var(--brand-2);
  outline-offset: 2px;
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-links a {
    margin-left: 0;
  }

  .flex.between {
    flex-direction: column;
    align-items: flex-start;
  }
}
