/* ───────────────────────────────────────────────────────────────────
   KONG · COMPARISON CLUSTER — shared template stylesheet
   Linked by every /compare/kong-vs-[competitor] page.
   Built on the existing site's blog component vocabulary (nav, footer,
   post-body, tables, CTA, author card) plus the new patterns the
   comparison spec calls for (intl callout, choose-grid, at-a-glance
   Kong highlight, decision table, cross-link cards).
   ─────────────────────────────────────────────────────────────────── */

:root {
  --ink: #1a0a2e;
  --ink-85: rgba(26, 10, 46, 0.88);
  --ink-70: rgba(26, 10, 46, 0.72);
  --ink-60: rgba(26, 10, 46, 0.6);
  --ink-45: rgba(26, 10, 46, 0.45);
  --purple: #3B0F5E;
  --purple-soft: rgba(59, 15, 94, 0.08);
  --purple-softer: rgba(59, 15, 94, 0.04);
  --gold: #F5C842;
  --gold-deep: #c89414;
  --green: #1f7a45;
  --cream-1: #faf7f2;
  --cream-2: #f7f4ee;
  --line: rgba(26, 10, 46, 0.08);
  --line-strong: rgba(26, 10, 46, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
body {
  background:
    radial-gradient(ellipse 1200px 600px at 50% -10%, rgba(245, 200, 66, 0.10) 0%, transparent 60%),
    linear-gradient(180deg, var(--cream-1) 0%, var(--cream-2) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* ── Nav (matches site) ──────────────────────────────────────────── */
.kong-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 40px;
  max-width: 1280px; margin: 0 auto;
  position: relative; z-index: 10;
}
.kong-nav-left { display: flex; align-items: center; gap: 28px; }
.kong-nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px; color: var(--ink);
  text-decoration: none;
}
.kong-nav-logo img { width: 32px; height: 32px; }
.kong-nav-right { display: flex; gap: 24px; align-items: center; }
.kong-nav-items { display: flex; gap: 26px; align-items: center; }
.kong-nav-item {
  font-size: 14px; font-weight: 500; color: rgba(26, 10, 46, 0.65);
  cursor: pointer; transition: color 0.2s;
  text-decoration: none;
}
.kong-nav-item:hover { color: var(--ink); }
.kong-nav-item.active { color: var(--ink); font-weight: 600; }
.kong-nav-cta {
  background: var(--purple); color: white;
  font-size: 14px; font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(59, 15, 94, 0.18);
}
.kong-nav-cta:hover { transform: translateY(-1px); background: #4d1378; box-shadow: 0 4px 14px rgba(59, 15, 94, 0.28); }
.kong-nav-burger {
  display: none; background: none; border: none; padding: 8px;
  width: 40px; height: 40px;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; cursor: pointer; border-radius: 8px;
}
.kong-nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}
.kong-nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.kong-nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.kong-nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.kong-mobile-menu {
  display: none; position: absolute;
  top: 100%; left: 12px; right: 12px;
  background: white; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: 0 18px 40px rgba(26, 10, 46, 0.12);
  padding: 12px; flex-direction: column; gap: 4px; z-index: 50;
}
.kong-mobile-menu[data-open="true"] { display: flex; }
.kong-mobile-item {
  display: block; padding: 12px 14px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px; font-weight: 500; color: var(--ink);
  text-decoration: none; border-radius: 10px;
}
.kong-mobile-item:hover { background: rgba(26, 10, 46, 0.04); }
.kong-mobile-cta {
  display: block; margin-top: 6px; padding: 13px 14px;
  background: var(--purple); color: white;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px; font-weight: 600;
  text-decoration: none; text-align: center; border-radius: 12px;
}
@media (max-width: 760px) {
  .kong-nav-right { display: none; }
  .kong-nav-burger { display: flex; }
}

/* ── Article shell ───────────────────────────────────────────────── */
.post-shell { max-width: 1240px; margin: 0 auto; padding: 0 40px; }

/* ── Hero / header ───────────────────────────────────────────────── */
.post-hero { max-width: 820px; margin: 0 auto; padding: 28px 0 12px; }
.post-breadcrumb {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px; color: var(--ink-60);
  margin-bottom: 26px;
  display: flex; flex-wrap: wrap; width: fit-content;
  align-items: center; gap: 8px;
}
.post-breadcrumb a { color: var(--ink-60); text-decoration: none; transition: color 0.2s; }
.post-breadcrumb a:hover { color: var(--purple); }
.post-breadcrumb .sep { color: var(--ink-45); font-size: 14px; line-height: 1; }
.post-breadcrumb .current { color: var(--ink); font-weight: 600; }

.post-eyebrow {
  display: inline-block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--purple); background: var(--purple-soft);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
}
.post-title {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 50px; font-weight: 700;
  line-height: 1.08; letter-spacing: -1.3px;
  color: var(--ink); text-wrap: balance; margin-bottom: 26px;
}
.post-meta {
  display: flex; align-items: center; gap: 14px;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.post-meta-avatar {
  width: 48px; height: 48px; border-radius: 50%; overflow: hidden;
  background: linear-gradient(160deg, #c79be0 0%, #5b1a8e 60%, #3B0F5E 100%);
  flex-shrink: 0;
}
.post-meta-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-meta-text { display: flex; flex-direction: column; gap: 2px; }
.post-meta-name {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600; font-size: 14.5px; color: var(--ink);
}
.post-meta-name a { color: inherit; text-decoration: none; }
.post-meta-sub {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13.5px; color: var(--ink-60);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.post-meta-sub .dot {
  width: 3px; height: 3px; background: var(--ink-45);
  border-radius: 50%; display: inline-block;
}

/* ── Body column ─────────────────────────────────────────────────── */
.post-body {
  max-width: 760px; margin: 0 auto;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink-85); padding: 26px 0 80px;
}
.post-body > * + * { margin-top: 1.25em; }
.post-body p { font-size: 18px; line-height: 1.75; text-wrap: pretty; margin-bottom: 1.15em; }
.post-body p strong, .post-body li strong { color: var(--ink); font-weight: 600; }
.post-body h2 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 32px; font-weight: 700; line-height: 1.22;
  letter-spacing: -0.6px; color: var(--ink);
  margin-top: 64px; text-wrap: balance;
  scroll-margin-top: 24px;
}
.post-body h3 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 21px; font-weight: 700; line-height: 1.3;
  color: var(--ink); margin-top: 44px; letter-spacing: -0.2px;
}
.post-body h4 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 17px; font-weight: 700; line-height: 1.35;
  color: var(--ink); margin-top: 32px; letter-spacing: -0.1px;
}
.post-body h2 + *, .post-body h3 + *, .post-body h4 + * { margin-top: 16px; }
.post-body ul, .post-body ol { padding-left: 24px; }
.post-body li { font-size: 18px; line-height: 1.72; margin-bottom: 10px; text-wrap: pretty; }
.post-body li::marker { color: var(--ink-45); }
.post-body ol > li::marker { color: var(--purple); font-weight: 600; }
.post-body li:last-child { margin-bottom: 0; }
.post-body a {
  color: var(--purple); text-decoration: underline;
  text-decoration-thickness: 1.5px; text-underline-offset: 3px;
  transition: color 0.2s;
}
.post-body a:hover { color: var(--ink); text-decoration-color: var(--ink); }
.post-body em { font-style: italic; }
.section-note { font-size: 14px !important; font-style: italic; color: var(--ink-45); }

/* ── Lead / opening verdict emphasis ─────────────────────────────── */
.post-body p.lead {
  font-size: 20px; line-height: 1.6; color: var(--ink);
}

/* ── "For operators outside Malaysia" callout (new pattern) ──────── */
.intl-callout {
  background: var(--purple-soft);
  border-left: 4px solid var(--purple);
  border-radius: 4px 12px 12px 4px;
  padding: 20px 24px;
  margin: 30px 0;
}
.intl-callout p {
  font-size: 16px !important; line-height: 1.65 !important;
  color: var(--ink-85); margin: 0 !important;
}
.intl-callout p strong { color: var(--purple); font-weight: 700; }

/* ── TL;DR — two parallel "Choose X if" lists (new pattern) ──────── */
.choose-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin: 28px 0 12px;
}
.choose-card {
  border-radius: 16px; padding: 26px 26px 22px;
  border: 1px solid var(--line); background: white;
}
.choose-card.kong {
  border-color: rgba(59, 15, 94, 0.22);
  background: linear-gradient(180deg, rgba(59, 15, 94, 0.05), white 72%);
}
.choose-card h3 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 18px !important; font-weight: 700;
  margin: 0 0 16px !important; letter-spacing: -0.2px;
  display: flex; align-items: center; gap: 9px;
}
.choose-card h3 .ti { font-size: 20px; }
.choose-card.comp h3 { color: var(--ink); }
.choose-card.comp h3 .ti { color: var(--ink-60); }
.choose-card.kong h3 { color: var(--purple); }
.choose-card.kong h3 .ti { color: var(--purple); }
.choose-card ul { list-style: none; padding: 0 !important; margin: 0 !important; }
.choose-card li {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15.5px !important; line-height: 1.55;
  color: var(--ink-85); padding: 12px 0 12px 26px;
  border-top: 1px solid var(--line); margin: 0 !important; position: relative;
}
.choose-card li:first-child { border-top: none; padding-top: 2px; }
.choose-card li::before {
  content: ''; position: absolute; left: 2px; top: 18px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--ink-45);
}
.choose-card li:first-child::before { top: 8px; }
.choose-card.kong li::before { background: var(--gold); }

/* ── Tables — one shared treatment for all comparison tables ─────── */
.table-wrap {
  margin: 28px 0 14px;
  border: 1px solid var(--line); border-radius: 14px;
  overflow-x: auto; background: white; -webkit-overflow-scrolling: touch;
}
table.cmp {
  width: 100%; border-collapse: collapse;
  font-family: 'Inter', system-ui, sans-serif; font-size: 15px;
}
/* Non-stacking tables (numeric/pricing) scroll horizontally on narrow
   screens instead of cramming — the swipe hint tells the reader. */
table.cmp:not(.stack) { min-width: 560px; }
table.cmp thead th {
  position: sticky; top: 0; z-index: 3;
  background: var(--purple); color: white;
  text-align: left; font-weight: 600; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: 0.6px;
  padding: 14px 18px; white-space: nowrap; vertical-align: bottom;
}
table.cmp thead th.col-kong { background: #4d1378; box-shadow: inset 0 -3px 0 var(--gold); }
table.cmp tbody td {
  padding: 14px 18px; border-top: 1px solid var(--line);
  color: var(--ink-70); line-height: 1.55; vertical-align: top;
}
table.cmp tbody th[scope="row"], table.cmp tbody td:first-child {
  text-align: left; color: var(--ink);
  font-family: 'Poppins', system-ui, sans-serif; font-weight: 700;
  font-size: 14.5px; padding: 14px 18px; border-top: 1px solid var(--line);
  vertical-align: top; line-height: 1.4;
}
table.cmp tbody tr:nth-child(even) { background: rgba(26, 10, 46, 0.025); }
table.cmp tbody tr:first-child td, table.cmp tbody tr:first-child th { border-top: none; }
/* Kong column emphasis */
table.cmp td.col-kong, table.cmp th[scope="row"].col-kong {
  background: rgba(245, 200, 66, 0.06);
  box-shadow: inset 3px 0 0 var(--gold);
  color: var(--ink-85);
}
table.cmp tbody tr:nth-child(even) td.col-kong { background: rgba(245, 200, 66, 0.11); }
/* Subtle gold check marking a Kong advantage cell */
table.cmp td.win { color: var(--ink); font-weight: 600; }
table.cmp td.win::before {
  content: '\002713'; color: var(--gold-deep); font-weight: 700;
  margin-right: 8px; font-size: 13px;
}
.table-foot {
  font-size: 13px !important; font-style: italic;
  color: var(--ink-45); margin: 4px 0 8px !important; line-height: 1.55;
}
.swipe-hint {
  display: none; font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px; color: var(--ink-45); margin: -6px 0 14px;
  align-items: center; gap: 6px;
}
.swipe-hint .ti { font-size: 15px; }

/* Numeric tables read better with tabular figures */
table.cmp.numeric td { font-variant-numeric: tabular-nums; }

/* ── Wins tables — generous spacing for long cells ───────────────── */
.wins-head {
  display: flex; align-items: center; gap: 10px;
  margin-top: 56px;
}
.wins-head .badge {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.wins-head.comp .badge { color: var(--ink-70); background: rgba(26, 10, 46, 0.06); }
.wins-head.kong .badge { color: var(--green); background: rgba(31, 122, 69, 0.10); }
.wins-head h2 { margin: 0 !important; }
table.cmp.wins td { padding: 18px 18px; }
table.cmp.wins td:first-child, table.cmp.wins th[scope="row"] { padding: 18px 18px; }

/* ── Decision tree (3-col table; center pick column) ─────────────── */
table.cmp.decision td.choose {
  text-align: center; white-space: nowrap; vertical-align: middle;
}
.pick {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700; font-size: 14px; color: var(--purple);
  background: var(--purple-soft); border: 1px solid rgba(59, 15, 94, 0.16);
  border-radius: 999px; padding: 7px 15px; white-space: nowrap;
}
.pick.kong { background: var(--purple); color: white; border-color: var(--purple); }
table.cmp.decision tr.kong-row td { background: rgba(245, 200, 66, 0.05); }
table.cmp.decision tr.kong-row:nth-child(even) td { background: rgba(245, 200, 66, 0.10); }

/* ── Pull-quote (sans, per spec "no serifs") ─────────────────────── */
.pull-quote {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 23px; font-weight: 500; line-height: 1.45;
  color: var(--ink); margin: 36px 0;
  padding: 6px 0 6px 24px; border-left: 3px solid var(--gold);
  text-wrap: balance;
}
.pull-quote .attribution {
  display: block; font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500; font-size: 14px; color: var(--ink-60); margin-top: 12px;
}

/* ── FAQ accordions (matches site) ───────────────────────────────── */
.faq-accordion { margin: 28px 0; border-top: 1px solid var(--line); }
.faq-accordion details { border-bottom: 1px solid var(--line); }
.faq-accordion summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 18px; padding: 22px 4px;
  font-family: 'Poppins', system-ui, sans-serif; font-weight: 600;
  font-size: 18px; line-height: 1.4; color: var(--ink); transition: color 0.2s;
}
.faq-accordion summary::-webkit-details-marker { display: none; }
.faq-accordion summary:hover { color: var(--purple); }
.faq-accordion summary .faq-icon {
  flex-shrink: 0; position: relative; width: 28px; height: 28px;
  border-radius: 50%; border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center; color: var(--purple);
  transition: transform 0.25s, background 0.2s, border-color 0.2s;
}
.faq-accordion summary .faq-icon::before,
.faq-accordion summary .faq-icon::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  background: currentColor; border-radius: 2px;
}
.faq-accordion summary .faq-icon::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }
.faq-accordion summary .faq-icon::after { width: 2px; height: 12px; transform: translate(-50%, -50%); }
.faq-accordion details[open] summary .faq-icon { transform: rotate(45deg); background: var(--purple); color: white; border-color: var(--purple); }
.faq-accordion .faq-answer { padding: 0 4px 24px; }
.faq-accordion .faq-answer p { font-size: 16.5px !important; line-height: 1.7 !important; color: var(--ink-85); margin: 0 0 12px !important; }
.faq-accordion .faq-answer p:last-child { margin-bottom: 0 !important; }

/* ── Closing CTA (matches site post-cta) ─────────────────────────── */
.post-after { max-width: 820px; margin: 0 auto; padding: 0 0 80px; }
.post-cta-lead { font-size: 18px !important; line-height: 1.7; color: var(--ink-85); margin: 0 0 24px !important; }
.post-cta {
  position: relative;
  background: linear-gradient(135deg, #1a0a2e 0%, #3B0F5E 100%);
  color: white; border-radius: 22px;
  padding: 44px 44px 38px; overflow: hidden; text-align: left;
}
.post-cta::before {
  content: ''; position: absolute; top: -100px; right: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(245, 200, 66, 0.18) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.post-cta-eyebrow {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase;
  font-weight: 700; color: rgba(255, 255, 255, 0.6);
  margin-bottom: 14px; position: relative;
}
.post-cta h2 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 30px; font-weight: 700; line-height: 1.2;
  letter-spacing: -0.5px; margin-bottom: 14px;
  text-wrap: balance; position: relative; max-width: 560px;
}
.post-cta > p {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, 0.78);
  margin-bottom: 26px; position: relative; max-width: 560px;
}
.post-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.post-cta-primary {
  background: var(--gold); color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif; font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 999px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.15s, box-shadow 0.2s;
}
.post-cta-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(245, 200, 66, 0.35); }
.post-cta-secondary {
  background: rgba(255, 255, 255, 0.10); color: white;
  font-family: 'Inter', system-ui, sans-serif; font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 999px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.2s, border-color 0.2s;
}
.post-cta-secondary:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.30); }
.post-cta-note {
  position: relative; margin-top: 22px; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.72);
  max-width: 560px;
}
.post-cta-note a { color: var(--gold); text-decoration: none; font-weight: 600; }
.post-cta-note a:hover { text-decoration: underline; }

/* ── Author bio block ────────────────────────────────────────────── */
.post-author-card {
  display: grid; grid-template-columns: 84px 1fr; gap: 22px; align-items: center;
  background: white; border: 1px solid var(--line); border-radius: 18px;
  padding: 22px 26px; margin: 56px 0 40px;
}
.post-author-avatar {
  width: 84px; height: 84px; border-radius: 50%; overflow: hidden;
  background: linear-gradient(160deg, #c79be0 0%, #5b1a8e 60%, #3B0F5E 100%);
}
.post-author-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-author-text h4 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase;
  font-weight: 700; color: var(--ink-60); margin-bottom: 6px;
}
.post-author-name {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 19px; font-weight: 700; color: var(--ink);
  letter-spacing: -0.2px; margin-bottom: 6px;
}
.post-author-bio {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14.5px; line-height: 1.6; color: var(--ink-70);
}
.post-author-bio a { color: var(--purple); text-decoration: none; font-weight: 600; }
.post-author-bio a:hover { text-decoration: underline; }

/* ── "Compare Kong to other platforms" cross-link block ──────────── */
.compare-other { margin: 0 0 16px; }
.compare-other h3 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase;
  font-weight: 700; color: var(--ink-60); margin-bottom: 16px;
}
.compare-other-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.compare-other-card {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: white; border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.compare-other-card:hover {
  transform: translateY(-2px); border-color: rgba(59, 15, 94, 0.22);
  box-shadow: 0 8px 22px rgba(26, 10, 46, 0.07);
}
.compare-other-card .label {
  font-family: 'Poppins', system-ui, sans-serif; font-weight: 700;
  font-size: 15.5px; color: var(--ink); letter-spacing: -0.2px; line-height: 1.2;
}
.compare-other-card .label small {
  display: block; font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500; font-size: 12.5px; color: var(--ink-60); margin-top: 3px; letter-spacing: 0;
}
.compare-other-card .ti { font-size: 17px; color: var(--purple); flex-shrink: 0; }
.compare-roundup {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Inter', system-ui, sans-serif; font-size: 15px;
  color: var(--ink-70); margin-top: 18px;
}
.compare-roundup .ti { color: var(--purple); font-size: 18px; }
.compare-roundup a { color: var(--purple); text-decoration: none; font-weight: 600; }
.compare-roundup a:hover { text-decoration: underline; }

/* ── Footer (matches site) ───────────────────────────────────────── */
.kong-footer { background: white; border-top: 1px solid var(--line); padding: 60px 40px 30px; }
.kong-footer-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 48px; align-items: start;
}
.kong-footer-brand h3 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 17px; font-weight: 600; color: var(--ink); margin: 0 0 14px;
}
.kong-footer-subscribe {
  display: flex; align-items: center; gap: 8px;
  background: var(--cream-1); border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 5px 5px 18px; max-width: 360px;
}
.kong-footer-subscribe input {
  background: transparent; border: none; outline: none; flex: 1;
  font-family: 'Inter', system-ui, sans-serif; font-size: 14px;
  color: var(--ink); padding: 8px 4px;
}
.kong-footer-subscribe input::placeholder { color: var(--ink-45); }
.kong-footer-subscribe button {
  background: var(--purple); color: white; border: none;
  font-family: 'Inter', system-ui, sans-serif; font-size: 13.5px; font-weight: 600;
  padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: background 0.2s;
}
.kong-footer-subscribe button:hover { background: #4d1378; }
.kong-footer-col h4 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11.5px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--ink-60); margin: 0 0 14px;
}
.kong-footer-col ul { list-style: none; margin: 0; padding: 0; }
.kong-footer-col li { margin-bottom: 10px; }
.kong-footer-col a {
  font-family: 'Inter', system-ui, sans-serif; font-size: 14px;
  color: var(--ink-70); text-decoration: none; transition: color 0.2s;
}
.kong-footer-col a:hover { color: var(--ink); }
.kong-footer-bottom {
  max-width: 1240px; margin: 48px auto 0; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: flex-end;
  font-family: 'Inter', system-ui, sans-serif; font-size: 12px;
  color: var(--ink-45); line-height: 1.7;
}
.kong-footer-legal { display: flex; flex-direction: column; gap: 2px; }
.kong-footer-socials { display: flex; gap: 10px; }
.kong-footer-socials a {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-60); text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.kong-footer-socials a:hover { color: var(--purple); border-color: var(--purple); }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .kong-nav-items { gap: 16px; }
  .kong-nav { padding: 14px 20px; }
  .post-shell { padding: 0 22px; }
  .post-hero { padding: 18px 0 8px; }
  .post-title { font-size: 36px; letter-spacing: -0.8px; }
  .post-body { padding-top: 18px; }
  .post-body h2 { font-size: 26px; margin-top: 52px; }
  .post-body h3 { font-size: 19px; margin-top: 38px; }
  .post-body p, .post-body li { font-size: 17px; }
  .post-body p.lead { font-size: 18.5px; }
  .choose-grid { grid-template-columns: 1fr; }
  .wins-head { margin-top: 48px; }
  .compare-other-grid { grid-template-columns: repeat(2, 1fr); }
  .post-author-card { grid-template-columns: 64px 1fr; padding: 18px; gap: 16px; }
  .post-author-avatar { width: 64px; height: 64px; }
  .post-cta { padding: 32px 26px; }
  .post-cta h2 { font-size: 24px; }
  .kong-footer { padding: 50px 20px 24px; }
  .kong-footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .kong-footer-bottom { flex-direction: column; align-items: flex-start; margin-top: 36px; gap: 16px; }
}

/* Stacked-card tables on phones (the at-a-glance + wins/decision tables
   are the ones the spec flags as most likely to break on narrow screens).
   Each <td> carries a data-label so the header survives the stack. */
@media (max-width: 760px) {
  .swipe-hint { display: flex; }
}
@media (max-width: 600px) {
  table.cmp.stack { font-size: 15px; }
  table.cmp.stack thead { display: none; }
  table.cmp.stack, table.cmp.stack tbody { display: block; }
  table.cmp.stack tr {
    display: block; background: white !important;
    border: 1px solid var(--line); border-radius: 14px;
    padding: 6px 16px 12px; margin-bottom: 14px;
  }
  table.cmp.stack tr.kong-row { box-shadow: inset 3px 0 0 var(--gold); }
  table.cmp.stack td, table.cmp.stack th[scope="row"] {
    display: block; border: none !important; box-shadow: none !important;
    background: transparent !important; padding: 10px 0 0 !important;
    white-space: normal !important; text-align: left !important;
  }
  table.cmp.stack th[scope="row"], table.cmp.stack td:first-child {
    font-size: 17px; padding-top: 12px !important;
    border-bottom: 1px solid var(--line) !important; padding-bottom: 10px !important;
  }
  table.cmp.stack td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 10.5px; font-weight: 700; letter-spacing: 0.8px;
    text-transform: uppercase; color: var(--purple); margin-bottom: 4px;
  }
  table.cmp.stack td.win::before {
    content: attr(data-label); color: var(--purple);
    margin-right: 0; font-size: 10.5px;
  }
  table.cmp.stack.decision td.choose { text-align: left; }
  table.cmp.stack td.col-kong { border-radius: 0; }
}

@media (max-width: 560px) {
  .post-title { font-size: 30px; }
  .post-body .intl-callout { padding: 18px 20px; }
  .pull-quote { font-size: 20px; padding-left: 18px; }
  .compare-other-grid { grid-template-columns: 1fr; }
  .post-cta h2 { font-size: 22px; }
  .faq-accordion summary { font-size: 16.5px; gap: 12px; }
}
