/* Purpose: Styling for the AI-search company knowledge panel page (/llm/).
   Used by: webpages/templates/webpages/llm_knowledge_panel.html
   Notes: BEM prefix lkp__. Bootstrap handles layout; this file is visual styling only. */

.lkp__page {
  background: var(--brand-bg, #f7f8fa);
  padding-block: var(--spacing-xl, 3rem);
}

.lkp__panel {
  background: var(--brand-surface, #ffffff);
  border: 1px solid var(--brand-border, #e6e8eb);
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 8px 30px rgba(16, 24, 40, 0.06);
  overflow: hidden;
}

/* --- Header --- */
.lkp__header {
  background: linear-gradient(135deg, var(--brand-primary, #0b3d2e), var(--brand-primary-dark, #07291f));
  color: #ffffff;
}

.lkp__logo {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md, 12px);
  background: #ffffff;
  object-fit: contain;
  padding: 6px;
}

.lkp__name {
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.lkp__verified {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
}

.lkp__tagline {
  opacity: 0.92;
  margin: 0;
}

.lkp__rating {
  color: var(--brand-accent, #ffc043);
  font-weight: 700;
}

/* --- Section --- */
.lkp__section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-primary, #0b3d2e);
  margin-bottom: 0.85rem;
}

.lkp__section + .lkp__section {
  border-top: 1px solid var(--brand-border, #e6e8eb);
}

/* --- Fact tiles --- */
.lkp__fact {
  background: var(--brand-bg, #f7f8fa);
  border: 1px solid var(--brand-border, #e6e8eb);
  border-radius: var(--radius-md, 12px);
  padding: 0.9rem 1rem;
  height: 100%;
}

.lkp__fact-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-primary, #0b3d2e);
}

.lkp__fact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-text-muted, #667085);
}

/* --- Service / value list --- */
.lkp__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lkp__list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.55rem;
  color: var(--brand-text, #1d2939);
}

.lkp__list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: var(--brand-primary, #0b3d2e);
}

.lkp__term {
  font-weight: 700;
  color: var(--brand-primary, #0b3d2e);
}

/* --- FAQ --- */
.lkp__faq {
  border: 1px solid var(--brand-border, #e6e8eb);
  border-radius: var(--radius-md, 12px);
  padding: 0.85rem 1rem;
  margin-bottom: 0.6rem;
  background: var(--brand-surface, #ffffff);
}

.lkp__faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--brand-primary, #0b3d2e);
  list-style: none;
}

.lkp__faq summary::-webkit-details-marker { display: none; }

.lkp__faq summary::after {
  content: "+";
  float: right;
  font-weight: 800;
  color: var(--brand-text-muted, #667085);
}

.lkp__faq[open] summary::after { content: "\2212"; }

.lkp__faq-answer {
  margin-top: 0.6rem;
  color: var(--brand-text, #1d2939);
}

/* --- Contact + CTA --- */
.lkp__contact {
  background: var(--brand-bg, #f7f8fa);
}

.lkp__contact a {
  color: var(--brand-primary, #0b3d2e);
  font-weight: 600;
  text-decoration: none;
}

.lkp__contact a:hover { text-decoration: underline; }

.lkp__updated {
  font-size: 0.8rem;
  color: var(--brand-text-muted, #667085);
}
