/* INDEX:
1. ROOT VARIABLES
2. BASE / DOCUMENT
3. LAYOUT SECTIONS
4. TYPOGRAPHY
5. LINKS
6. NAVIGATION
7. INSIGHT / ARTICLE CONTENT
8. DARK MODE OVERRIDES
9. RESPONSIVE
*/


/* 1. ROOT VARIABLES */
:root {
  --blue: #163A5F;
  --red: #FF5A5F;
  --yellow: #FFDD33;
  --dark: #2E3135;
  --white: #FBFAF8;
  --light-grey: #F2F2F2;
  --radius: 1rem;
  --section-space: 5rem;
}


/* 2. BASE / DOCUMENT */
body {
  padding-top: 5rem;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--white);
  color: var(--dark);
  transition: background-color 0.3s ease, color 0.3s ease;
}

[data-bs-theme="dark"] body {
  background: var(--dark);
  color: var(--white);
}


/* 3. LAYOUT SECTIONS */
.hero,
.section {
  padding: var(--section-space) 0;
}

.hero {
  min-height: calc(100vh - 5rem);
  display: flex;
  align-items: center;
}

.logo {
  width: 72px;
  height: auto;
  display: block;
}

.image-soft {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}


/* 4. TYPOGRAPHY */
.title {
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--blue);
  margin-bottom: 1.5rem;
}

.lead-text {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 36rem;
}

.body-text {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 42rem;
}


/* 5. LINKS */
.link-brand {
  color: var(--red);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.link-brand:hover {
  opacity: 0.8;
}


/* 6. NAVIGATION */
.navbar-blur {
  background: rgba(251, 250, 248, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(46, 49, 53, 0.08);
}

.nav-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.brand {
  color: var(--blue);
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.05em;
}

.brand:hover {
  opacity: 0.8;
}

.nav-link {
  color: var(--dark);
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  opacity: 0.8;
}

.navbar .nav-link.active {
  color: var(--red);
}

.navbar-toggler:focus {
  box-shadow: none;
}


/* 7. INSIGHT / ARTICLE CONTENT */
.insight-content h1,
.insight-content h2,
.insight-content h3 {
  color: var(--blue);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.insight-content h1 {
  font-size: 2rem;
}

.insight-content h2 {
  font-size: 1.5rem;
}

.insight-content h3 {
  font-size: 1.25rem;
}

.insight-content p,
.insight-content li {
  font-weight: 300;
  line-height: 1.8;
}

.insight-content ul,
.insight-content ol {
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
}

.insight-content iframe {
  width: 100%;
  border: 0;
  border-radius: 1rem;
}

.insight-content img {
  display: block;
}


/* 8. DARK MODE OVERRIDES */
[data-bs-theme="dark"] .title {
  color: var(--white);
}

[data-bs-theme="dark"] .lead-text,
[data-bs-theme="dark"] .body-text {
  color: var(--white);
}

[data-bs-theme="dark"] .link-brand {
  color: var(--red);
}

[data-bs-theme="dark"] .link-brand:hover {
  opacity: 0.8;
}

[data-bs-theme="dark"] .navbar-blur {
  background: rgba(46, 49, 53, 0.88);
  border-bottom: 1px solid rgba(251, 250, 248, 0.1);
}

[data-bs-theme="dark"] .brand {
  color: var(--white);
}

[data-bs-theme="dark"] .brand:hover {
  opacity: 0.8;
}

[data-bs-theme="dark"] .nav-link {
  color: var(--white);
}

[data-bs-theme="dark"] .nav-link:hover {
  opacity: 0.8;
}

[data-bs-theme="dark"] .navbar .nav-link.active {
  color: var(--red);
}

[data-bs-theme="dark"] .navbar-toggler {
  filter: invert(1);
}

[data-bs-theme="dark"] .btn-outline-secondary {
  color: var(--white);
  border-color: rgba(251, 250, 248, 0.35);
}

[data-bs-theme="dark"] .btn-outline-secondary:hover {
  background-color: rgba(251, 250, 248, 0.08);
  color: var(--white);
  border-color: rgba(251, 250, 248, 0.5);
}


/* 9. RESPONSIVE */
@media (max-width: 991.98px) {
  :root {
    --section-space: 4rem;
  }

  body {
    padding-top: 4.5rem;
  }

  .hero {
    min-height: auto;
  }

  .navbar-collapse {
    padding-top: 1rem;
    padding-bottom: 0.5rem;
  }

  .nav-link {
    padding: 0.75rem 0;
  }
}