body.single-cpai_company {
  background: var(--surface-2);
}

.cpai-company-profile {
  background: var(--surface-2);
  color: var(--ink);
  padding-bottom: 52px;
}

.cpai-company-profile .container {
  max-width: 1180px;
}

.cpai-company-hero {
  padding: 46px 0 34px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.cpai-company-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 42px;
  align-items: start;
}

.cpai-company-identity {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  max-width: 820px;
}

.cpai-company-logo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 78, 124, 0.12);
  border-radius: var(--radius);
  background: var(--surface-2);
  box-shadow: var(--shadow-1);
  padding: 16px;
}

.cpai-company-logo-frame img {
  display: block;
  width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cpai-company-logo-frame span {
  color: var(--primary);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.12;
  text-align: center;
}

.cpai-company-kicker,
.cpai-company-section-kicker,
.cpai-company-facts-title {
  margin: 0;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.cpai-company-kicker {
  display: inline-flex;
  max-width: 100%;
  margin-bottom: 12px;
  padding: 6px 10px;
  border: 1px solid rgba(0, 78, 124, 0.14);
  border-radius: 999px;
  background: rgba(0, 78, 124, 0.055);
}

.cpai-company-hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.35rem, 4vw, 3.65rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.cpai-company-tagline {
  max-width: 62ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.62;
}

.cpai-company-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.cpai-company-actions .btn {
  min-height: 46px;
  padding: 11px 18px;
}

.cpai-company-facts {
  display: grid;
  gap: 12px;
  align-self: stretch;
  padding: 2px 0 2px 24px;
  border-left: 1px solid var(--line);
}

.cpai-company-facts-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
}

.cpai-company-fact {
  display: grid;
  gap: 5px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(65, 71, 79, 0.13);
}

.cpai-company-fact:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.cpai-company-fact dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.cpai-company-fact dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.45;
}

.cpai-company-body {
  padding: 48px 0 0;
}

.cpai-company-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(300px, 360px);
  gap: 42px;
  align-items: start;
  justify-content: space-between;
}

.cpai-company-about {
  min-width: 0;
}

.cpai-company-section-kicker {
  margin-bottom: 18px;
}

.cpai-company-prose {
  max-width: 68ch;
  color: var(--ink);
  font-size: 1.03rem;
  line-height: 1.78;
}

.cpai-company-prose > *:first-child {
  margin-top: 0;
}

.cpai-company-prose > * + * {
  margin-top: 1.15em;
}

.cpai-company-prose > *:last-child {
  margin-bottom: 0;
}

.cpai-company-empty {
  margin: 0;
  color: var(--muted);
}

.cpai-company-side {
  display: grid;
  gap: 16px;
  position: sticky;
  top: calc(var(--header-h) + 22px);
}

.cpai-company-list-section {
  padding: 22px;
  border: 1px solid rgba(229, 231, 235, 0.92);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}

.cpai-company-list-section h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.28;
}

.cpai-company-chip-list,
.cpai-company-line-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cpai-company-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cpai-company-chip-list li {
  border: 1px solid rgba(0, 78, 124, 0.14);
  border-radius: 999px;
  background: var(--surface);
  color: var(--primary);
  padding: 7px 10px;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
}

.cpai-company-line-list {
  display: grid;
  gap: 12px;
}

.cpai-company-line-list li {
  position: relative;
  color: var(--ink);
  line-height: 1.48;
  padding-left: 18px;
}

.cpai-company-line-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

@media (max-width: 980px) {
  .cpai-company-hero-grid,
  .cpai-company-body-grid {
    grid-template-columns: 1fr;
  }

  .cpai-company-facts {
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .cpai-company-facts-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 26px;
  }

  .cpai-company-fact:nth-child(4),
  .cpai-company-fact:nth-child(5) {
    grid-column: 1 / -1;
  }

  .cpai-company-side {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cpai-company-profile {
    padding-bottom: 38px;
  }

  .cpai-company-hero {
    padding: 28px 0 26px;
  }

  .cpai-company-hero-grid {
    gap: 24px;
  }

  .cpai-company-identity {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }

  .cpai-company-logo-frame {
    width: 88px;
    padding: 11px;
  }

  .cpai-company-kicker {
    margin-bottom: 10px;
    padding: 5px 8px;
    font-size: 0.66rem;
  }

  .cpai-company-hero h1 {
    font-size: clamp(2rem, 11vw, 2.45rem);
  }

  .cpai-company-tagline {
    margin-top: 10px;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .cpai-company-actions {
    gap: 8px;
    margin-top: 16px;
  }

  .cpai-company-actions .btn {
    flex: 1 1 150px;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
  }

  .cpai-company-facts {
    gap: 8px;
    padding-top: 16px;
  }

  .cpai-company-facts-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
  }

  .cpai-company-fact:nth-child(3),
  .cpai-company-fact:nth-child(4),
  .cpai-company-fact:nth-child(5) {
    grid-column: 1 / -1;
  }

  .cpai-company-fact {
    padding: 9px 0;
  }

  .cpai-company-fact dt {
    font-size: 0.66rem;
  }

  .cpai-company-fact dd {
    font-size: 0.91rem;
    line-height: 1.42;
  }

  .cpai-company-body {
    padding-top: 34px;
  }

  .cpai-company-body-grid {
    gap: 28px;
  }

  .cpai-company-prose {
    font-size: 1rem;
    line-height: 1.68;
  }

  .cpai-company-side {
    grid-template-columns: 1fr;
  }

  .cpai-company-list-section {
    padding: 18px;
  }
}

@media (max-width: 360px) {
  .cpai-company-identity {
    grid-template-columns: 1fr;
  }
}
