/* Acquisition / authority article pages — readable dark theme aligned with marketing chrome */
:root {
  --bg: #05060f;
  --panel: #0d1022;
  --line: rgba(139, 124, 246, 0.22);
  --text: #eef0fb;
  --muted: #b6bcd4;
  --violet: #a78bfa;
  --cyan: #67e8f9;
  --max: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 80% 0, rgba(99, 102, 241, 0.16), transparent 65%),
    var(--bg);
  line-height: 1.7;
  font-size: 17px;
  color: var(--text);
}

a {
  color: var(--cyan);
}

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.hero {
  padding: 48px 0 56px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  font: 600 0.75rem "JetBrains Mono", "DM Mono", ui-monospace, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 12px;
}

h1,
h2,
h3 {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  max-width: 36rem;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 42rem;
  margin: 0;
  line-height: 1.65;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
}

.btn:hover {
  text-decoration: none;
}

.primary {
  background: linear-gradient(100deg, #8b5cf6, #22d3ee);
  color: #070918;
}

.ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
}

main section {
  padding: 2.75rem 0;
  border-bottom: 1px solid rgba(139, 124, 246, 0.12);
}

main section p {
  color: var(--muted);
  margin: 0 0 1rem;
  max-width: 46rem;
}

main section p.kimss-bluf {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0.35rem 0 1.1rem;
  max-width: 46rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.card {
  background: linear-gradient(160deg, rgba(20, 24, 53, 0.9), rgba(10, 12, 28, 0.9));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

.card h3 {
  margin: 0 0 8px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

code,
pre {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.code {
  background: #090b17;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  overflow: auto;
  color: #d6dcff;
}

.note {
  border-left: 3px solid var(--violet);
  padding: 4px 0 4px 18px;
  color: var(--muted);
}

/* Comparison tables on authority / vs pages */
.kimss-compare-wrap {
  overflow-x: auto;
  margin: 1.25rem 0 1.5rem;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.kimss-compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.925rem;
  min-width: 560px;
}

.kimss-compare th,
.kimss-compare td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(139, 124, 246, 0.14);
  vertical-align: top;
  color: var(--muted);
}

.kimss-compare thead th {
  background: rgba(99, 102, 241, 0.12);
  color: var(--text);
  font-weight: 650;
  font-size: 0.85rem;
}

.kimss-compare tbody th {
  color: var(--text);
  font-weight: 600;
  width: 28%;
  background: rgba(13, 16, 34, 0.6);
}

.kimss-compare tbody tr:last-child th,
.kimss-compare tbody tr:last-child td {
  border-bottom: none;
}

.kimss-compare .col-kimss {
  color: var(--text);
}

.kimss-compare-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 1.25rem 0 1.5rem;
}

.kimss-compare-cards .card a {
  color: var(--cyan);
  font-weight: 650;
  text-decoration: none;
}

.kimss-compare-cards .card a:hover {
  text-decoration: underline;
}

.entry {
  margin-bottom: 24px;
}

.entry time,
.tags {
  color: var(--muted);
  font: 500 13px "JetBrains Mono", monospace;
}

.entry-body {
  white-space: pre-wrap;
  color: #d7daf0;
}

.empty {
  color: var(--muted);
}

.kimss-last-updated {
  color: var(--muted);
  font-size: 0.875rem;
}

/* Related resources layout lives in kimss-seo.css; theme tokens for dark acquisition pages. */
.kimss-related-links {
  max-width: var(--max);
  border-top-color: rgba(139, 124, 246, 0.14);
}

.kimss-related-links h2 {
  color: var(--text);
}

.kimss-related-links a {
  color: var(--cyan);
  background: linear-gradient(160deg, rgba(20, 24, 53, 0.92), rgba(10, 12, 28, 0.92));
  border-color: var(--line);
}

.kimss-related-links a::before {
  color: var(--violet);
}

.kimss-related-links a:hover,
.kimss-related-links a:focus-visible {
  color: #a5f3fc;
  border-color: rgba(103, 232, 249, 0.4);
  background: rgba(99, 102, 241, 0.14);
}

.kimss-breadcrumbs {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem clamp(1.25rem, 5vw, 3rem) 0;
  color: var(--muted);
}

.kimss-breadcrumbs a {
  color: var(--muted);
}

.kimss-breadcrumbs [aria-current="page"] {
  color: var(--text);
}

/* Footer — matches marketing compact footer feel */
.acq-footer {
  margin-top: 2rem;
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--line);
  background: #07091a;
  color: var(--muted);
}

.acq-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem 1.5rem;
}

.acq-footer-heading {
  color: var(--text);
  font-weight: 650;
  font-size: 0.95rem;
  margin: 0 0 0.85rem;
}

.acq-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.acq-footer-links li {
  margin-bottom: 0.45rem;
}

.acq-footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.925rem;
}

.acq-footer-links a:hover {
  color: var(--cyan);
  text-decoration: none;
}

.acq-footer-brand p {
  margin: 0.5rem 0 0;
  max-width: 22rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}

.acq-footer-logo {
  font-family: "DM Mono", "JetBrains Mono", ui-monospace, monospace;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  color: var(--violet);
  text-decoration: none;
}

.acq-footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding: 1.25rem clamp(1.25rem, 5vw, 3rem) 0;
  border-top: 1px solid rgba(139, 124, 246, 0.14);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.acq-footer-bottom a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1rem;
}

.acq-footer-bottom a:hover {
  color: var(--cyan);
}

@media (max-width: 700px) {
  .hero {
    padding-top: 28px;
  }
  main section {
    padding: 2rem 0;
  }
  body {
    font-size: 16px;
  }
}
