/* Artra company profile — extends blog_post_modern.css (.bp-* tokens).
   Dark theme, Geist font, cyan accent, no purple. CSP-clean. */

/* ───────── hero adjustments ───────── */
.cp-hero { padding-bottom: 40px; }

.cp-hero-head {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 16px 0 18px;
  flex-wrap: wrap;
}
.cp-hero-head h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 480;
  margin: 0;
  color: var(--bp-fg);
}

.cp-logo {
  width: 84px;
  height: 84px;
  border-radius: 18px;
  background: var(--bp-bg-1);
  border: 1px solid var(--bp-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 12px 28px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.04);
}
.cp-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  display: block;
}
.cp-logo-initial {
  font-family: "Geist", sans-serif;
  font-size: 36px;
  font-weight: 500;
  color: var(--bp-fg);
  letter-spacing: -0.02em;
}

/* Stat chips under hero subtitle */
.cp-stat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 28px;
}
.cp-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bp-bg-1);
  border: 1px solid var(--bp-line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--bp-fg-2);
}
.cp-chip-label {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bp-fg-4);
}
.cp-chip-value {
  color: var(--bp-fg);
  font-weight: 500;
}

.cp-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

/* ───────── two-column layout ───────── */
.cp-layout {
  max-width: var(--bp-maxw);
  margin: 0 auto;
  padding: 32px var(--bp-pad) 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
}
@media (max-width: 900px) {
  .cp-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

.cp-main { min-width: 0; }

.cp-section {
  background: var(--bp-bg-1);
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}
.cp-section h2 {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--bp-fg);
  margin: 0 0 16px;
}
.cp-section p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--bp-fg-2);
  margin: 0 0 16px;
}
.cp-section p:last-child { margin-bottom: 0; }

/* ───────── FAQ accordion ───────── */
.cp-faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cp-faq-item {
  border-top: 1px solid var(--bp-line);
  padding: 18px 0;
}
.cp-faq-item:first-child { border-top: none; padding-top: 4px; }
.cp-faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 17px;
  font-weight: 500;
  color: var(--bp-fg);
  line-height: 1.4;
  padding: 4px 0;
  transition: color .15s ease;
}
.cp-faq-item summary::-webkit-details-marker { display: none; }
.cp-faq-item summary::after {
  content: "+";
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 20px;
  color: var(--bp-fg-4);
  font-weight: 300;
  line-height: 1;
  transition: transform .2s ease, color .15s ease;
}
.cp-faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--bp-accent);
}
.cp-faq-item summary:hover { color: var(--bp-accent); }
.cp-faq-item p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--bp-fg-2);
  margin: 12px 0 0;
}
.cp-faq-item a {
  color: var(--bp-fg);
  text-decoration: underline;
  text-decoration-color: var(--bp-fg-4);
  text-underline-offset: 3px;
}
.cp-faq-item a:hover { color: var(--bp-accent); text-decoration-color: var(--bp-accent); }

/* ───────── right sidebar cards ───────── */
.cp-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 901px) {
  .cp-aside { position: sticky; top: 100px; align-self: start; }
}

.cp-card {
  background: var(--bp-bg-1);
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  padding: 22px 24px;
}
.cp-card-eyebrow {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bp-fg-3);
  margin: 0 0 16px;
}

/* Definition list */
.cp-dl { margin: 0; padding: 0; }
.cp-dl-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--bp-line);
}
.cp-dl-row:first-child { border-top: none; padding-top: 0; }
.cp-dl-row dt {
  font-size: 13px;
  color: var(--bp-fg-3);
  font-weight: 400;
  margin: 0;
  flex-shrink: 0;
}
.cp-dl-row dd {
  font-size: 14px;
  color: var(--bp-fg);
  margin: 0;
  text-align: right;
  word-break: break-word;
  min-width: 0;
}
.cp-dl-row dd a {
  color: var(--bp-fg);
  text-decoration: underline;
  text-decoration-color: var(--bp-fg-4);
  text-underline-offset: 2px;
}
.cp-dl-row dd a:hover { color: var(--bp-accent); text-decoration-color: var(--bp-accent); }

/* Social icon row */
.cp-social { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bp-line-2);
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  color: var(--bp-fg-2);
  transition: color .15s ease, border-color .15s ease, transform .15s ease;
}
.cp-social a:hover {
  color: var(--bp-fg);
  border-color: var(--bp-fg-2);
  transform: translateY(-1px);
  text-decoration: none;
}
.cp-social svg { width: 16px; height: 16px; fill: currentColor; }

/* Technology tags */
.cp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cp-tag {
  display: inline-block;
  padding: 6px 10px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--bp-fg-2);
  background: var(--bp-bg-2);
  border: 1px solid var(--bp-line);
  border-radius: 6px;
}
