/* =============================================================
   TECHISTUFF — SITE STYLESHEET
   Static prototype. Every colour, type size, radius, shadow and
   spacing value in this file comes from the token block below.
   Nothing downstream hardcodes a value.

   CONTENTS
   01  Design tokens
   02  Reset, base, typography helpers, layout
   03  Components: buttons, chips, badges, logos
   04  Site header, mega menu, mobile nav, search overlay
   05  Homepage hero shell
   06  Homepage sections
   07  Platform page
   08  Guides + footer
   09  Type scale + merge refinements
   10  Motion & reduced motion
   ============================================================= */


/* =============================================================
   01  DESIGN TOKENS  —  single source of truth
   ============================================================= */
/* Design tokens live in the TS-00 snippet, printed inline in <head>. */

/* =============================================================
   02  RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;          /* 17px */
  line-height: 1.65;
  font-feature-settings: "cv05" 1, "ss01" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  letter-spacing: -.022em;
  line-height: 1.18;
  margin: 0;
  font-weight: 700;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--blue-700); text-decoration: none; }
a:hover { color: var(--blue-800); }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

strong { font-weight: 650; color: var(--ink); }
em { font-style: italic; }

::selection { background: var(--blue-100); color: var(--blue-800); }

:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  background: var(--surface);
  color: var(--ink);
  padding: 12px 18px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  font-weight: 600;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 14px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.svg-sprite { display: none; }

/* Icon base — every sprite icon is stroke-drawn */
.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--xs { width: 15px; height: 15px; stroke-width: 1.8; }
.icon--sm { width: 17px; height: 17px; stroke-width: 1.7; }


/* =============================================================
   03  TYPOGRAPHY HELPERS
   ============================================================= */
.label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: 16px;
}
.eyebrow__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .14);
}
.eyebrow--light { color: var(--sky-400); }
.eyebrow--light .eyebrow__dot {
  background: var(--sky-400);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, .18);
}

.note {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.6;
}
.note--center { text-align: center; margin-top: 28px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--blue-700);
  white-space: nowrap;
}
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow--sm { font-size: .875rem; }

.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex: none;
  display: inline-block;
  background: var(--muted-2);
}
.dot--blue  { background: var(--blue-600); }
.dot--green { background: var(--green-500); }
.dot--amber { background: var(--amber-500); }

.avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--navy-950);
  color: #fff;
  font-family: var(--font-head);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .04em;
  flex: none;
}

.stretched::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}


/* =============================================================
   04  LAYOUT
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(56px, 6.2vw, 96px);
  border-top: 1px solid var(--line);
}
.section--white { background: var(--surface); }
.section--tight { padding-block: clamp(48px, 4.5vw, 72px); }
.section--dark {
  background: var(--navy-950);
  color: #E2E8F0;
  border-top-color: var(--navy-950);
  position: relative;
  overflow: hidden;
}
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 78%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 78%);
  pointer-events: none;
}
.section--dark > .container { position: relative; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(32px, 3.4vw, 48px);
}
.section-head__text { max-width: 640px; }
.section-head__aside { padding-bottom: 6px; }

.section-title {
  font-size: clamp(1.6rem, 1.15rem + 1.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.028em;
}
.section-lede {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.0625rem;
  max-width: 58ch;
}
.section-head--dark .section-title { color: #fff; }
.section-head--dark .section-lede { color: #94A3B8; }

@media (max-width: 720px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .section-head__aside { padding-bottom: 0; }
}


/* =============================================================
   05  COMPONENTS
   ============================================================= */

/* --- Buttons ------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -.005em;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.btn--primary {
  background: var(--blue-600);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn--primary:hover {
  background: var(--blue-700);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -8px rgba(37, 99, 235, .45);
}
.btn--primary:active { transform: translateY(0); }

.btn--secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-2);
  box-shadow: var(--shadow-xs);
}
.btn--secondary:hover {
  border-color: var(--blue-600);
  color: var(--blue-700);
  background: var(--blue-50);
}

.btn--ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--surface-2); color: var(--ink); }

.btn--sm { padding: 9px 15px; font-size: .875rem; }
.btn--lg { padding: 14px 26px; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

/* --- Chips (interactive) ------------------------------------ */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  font-size: .875rem;
  font-weight: 500;
  transition: border-color .18s var(--ease), color .18s var(--ease),
              background-color .18s var(--ease), box-shadow .18s var(--ease);
}
.chip:hover {
  border-color: var(--blue-600);
  color: var(--blue-700);
  background: var(--blue-50);
}
.chip--filter { font-weight: 550; }
.chip--filter.is-active {
  background: var(--navy-950);
  border-color: var(--navy-950);
  color: #fff;
}
.chip--filter.is-active:hover { background: var(--navy-900); color: #fff; }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.chip-row .chip { max-width: 100%; }

/* --- Tags (static labels) ----------------------------------- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--r-xs);
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.45;
  white-space: nowrap;
}
.tag--demo {
  background: var(--amber-50);
  border-color: var(--amber-100);
  color: var(--amber-600);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 3px 7px;
  vertical-align: middle;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}
.tag-row--sm .tag { font-size: .75rem; padding: 3px 8px; }

/* --- Badges ------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: var(--r-xs);
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}
.badge--green { background: var(--green-50); border-color: var(--green-100); color: var(--green-600); }
.badge--blue  { background: var(--blue-50);  border-color: var(--blue-100);  color: var(--blue-700); }
.badge--amber { background: var(--amber-50); border-color: var(--amber-100); color: var(--amber-600); }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }

/* --- Tone icons --------------------------------------------- */
.tone-icon {
  width: 42px; height: 42px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  flex: none;
}
.tone-icon--lg { width: 52px; height: 52px; border-radius: 14px; }
.tone-icon--lg .icon { width: 24px; height: 24px; }
.tone-icon[data-tone="blue"]  { background: var(--blue-50);  border-color: var(--blue-100);  color: var(--blue-600); }
.tone-icon[data-tone="green"] { background: var(--green-50); border-color: var(--green-100); color: var(--green-600); }
.tone-icon[data-tone="amber"] { background: var(--amber-50); border-color: var(--amber-100); color: var(--amber-600); }
.tone-icon[data-tone="navy"]  { background: #F1F5F9;         border-color: var(--line);      color: var(--navy-950); }
.tone-icon[data-tone="sky"]   { background: var(--sky-50);   border-color: #BAE6FD;          color: #0284C7; }

/* --- Platform logo tile ------------------------------------- */
.plogo {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  flex: none;
  overflow: hidden;
}
.plogo__img { width: 22px; height: 22px; object-fit: contain; }
.plogo__fallback {
  display: none;
  font-family: var(--font-head);
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--blue-700);
}
.plogo[data-failed] { background: var(--blue-50); border-color: var(--blue-100); }
.plogo[data-failed] .plogo__fallback { display: block; }
/* When no <img> is provided at all, the lettermark is the logo */
.plogo:not(:has(.plogo__img)) { background: var(--blue-50); border-color: var(--blue-100); }
.plogo:not(:has(.plogo__img)) .plogo__fallback { display: block; }

.plogo--xs { width: 28px; height: 28px; border-radius: 8px; }
.plogo--xs .plogo__img { width: 16px; height: 16px; }
.plogo--xs .plogo__fallback { font-size: .6875rem; }
.plogo--sm { width: 34px; height: 34px; border-radius: 9px; }
.plogo--sm .plogo__img { width: 18px; height: 18px; }
.plogo--lg { width: 48px; height: 48px; border-radius: 13px; }
.plogo--lg .plogo__img { width: 26px; height: 26px; }
.plogo--lg .plogo__fallback { font-size: 1rem; }
.plogo--xl { width: 64px; height: 64px; border-radius: 16px; }
.plogo--xl .plogo__img { width: 34px; height: 34px; }
.plogo--xl .plogo__fallback { font-size: 1.375rem; }

.logo-stack { display: inline-flex; }
.logo-stack .plogo + .plogo { margin-left: -10px; }

/* --- Callouts ----------------------------------------------- */
.callout {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: clamp(20px, 2.4vw, 28px);
}
.callout--amber {
  background: linear-gradient(180deg, #FFFCF3 0%, var(--surface) 62%);
  border-color: var(--amber-100);
}
.callout--neutral { background: var(--surface-2); border-color: var(--line); }
.callout__head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 16px;
  color: var(--amber-600);
}
.callout__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.015em;
}
.callout__list { display: grid; gap: 14px; }
.callout__list li {
  position: relative;
  padding-left: 22px;
  font-size: 1rem;
  color: var(--ink-2);
  line-height: 1.6;
}
.callout__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--amber-500);
}
.callout--neutral .callout__list li::before { background: var(--line-2); }
.callout__list--tight { gap: 11px; }
.callout__list strong { display: block; margin-bottom: 2px; }


/* =============================================================
   06  SITE HEADER / NAV / SEARCH
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
          backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .22s var(--ease), border-color .22s var(--ease), background-color .22s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .96);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .04), 0 8px 24px -18px rgba(15, 23, 42, .35);
}
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-950);
  flex: none;
}
.brand:hover { color: var(--navy-950); }
.brand__mark { width: 30px; height: 30px; color: var(--blue-700); display: block; }
.brand__mark svg { width: 100%; height: 100%; border-radius: 8px; }
.brand__name {
  font-family: var(--font-head);
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--navy-950);
}
.brand__name-alt { color: var(--blue-600); }
.brand:hover .brand__name-alt { color: var(--blue-700); }

/* Primary nav */
.nav { margin-inline: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 13px;
  border-radius: var(--r-sm);
  font-size: .9375rem;
  font-weight: 550;
  color: var(--ink-2);
  transition: color .16s var(--ease), background-color .16s var(--ease);
}
.nav__link:hover { color: var(--blue-700); background: var(--blue-50); }
.nav__caret { transition: transform .2s var(--ease); opacity: .65; }
.nav__item.is-open > .nav__link { color: var(--blue-700); background: var(--blue-50); }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }

.nav__panel {
  position: absolute;
  top: calc(100% + 12px);
  left: -8px;
  z-index: 60;
  min-width: 300px;
  animation: panel-in .18s var(--ease);
}
.nav__panel--wide { left: 50%; transform: translateX(-50%); min-width: 720px; }
.nav__panel-inner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px;
}
.nav__panel::before {           /* hover bridge */
  content: "";
  position: absolute;
  top: -14px; left: 0; right: 0;
  height: 14px;
}
@keyframes panel-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav__panel--wide { animation: none; }

.quicklist { margin-top: 12px; display: grid; gap: 2px; }
.quicklist a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 500;
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.quicklist a:hover { background: var(--blue-50); color: var(--blue-700); }
.quicklist__meta { font-size: .8125rem; color: var(--muted); font-weight: 500; }

/* Mega menu */
.mega {
  display: grid;
  grid-template-columns: 1fr 1fr 236px;
  gap: 6px 20px;
}
.mega__item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: var(--r-md);
  color: var(--ink);
  transition: background-color .16s var(--ease);
}
.mega__item:hover { background: var(--blue-50); color: var(--ink); }
.mega__item .tone-icon { width: 36px; height: 36px; border-radius: 10px; }
.mega__item .tone-icon .icon { width: 18px; height: 18px; }
.mega__name { display: block; font-weight: 600; font-size: .9375rem; letter-spacing: -.01em; }
.mega__desc { display: block; font-size: .8125rem; color: var(--muted); line-height: 1.5; margin-top: 2px; }
.mega__promo {
  grid-row: 1 / span 3;
  grid-column: 3;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mega__promo-text { font-size: .875rem; color: var(--muted); line-height: 1.55; }
.mega__promo .link-arrow { margin-top: auto; font-size: .875rem; }

/* Header actions */
.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.icon-btn {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  color: var(--ink-2);
  transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.icon-btn:hover { background: var(--surface-2); color: var(--ink); border-color: var(--line); }
.icon-btn--sm { width: 32px; height: 32px; }
.icon-btn--menu { display: none; }

/* Header responsive */
@media (max-width: 1000px) {
  .nav { display: none; }
  .icon-btn--menu { display: grid; }
  .header__cta { display: none; }
}
@media (max-width: 480px) {
  :root { --header-h: 60px; }
  .brand__name { font-size: 1.0625rem; }
}

/* --- Mobile navigation -------------------------------------- */
.mobile-nav { position: fixed; inset: 0; z-index: 120; }
.mobile-nav__scrim {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, .5);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  animation: fade-in .2s var(--ease);
}
.mobile-nav__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(380px, 90vw);
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  padding: 18px 20px 24px;
  overflow-y: auto;
  animation: slide-in .26s var(--ease);
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-in { from { transform: translateX(18px); opacity: .4; } to { transform: none; opacity: 1; } }

.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.brand--static { cursor: default; }

.mobile-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
  font-size: .9375rem;
  text-align: left;
  transition: border-color .16s var(--ease), background-color .16s var(--ease);
}
.mobile-search:hover { border-color: var(--line-2); background: var(--surface); }

.mobile-nav__body { margin-top: 22px; flex: 1; }
.m-acc { border-bottom: 1px solid var(--line); }
.m-acc__h { margin: 0; font-size: inherit; }
.m-acc__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 2px;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
}
.m-acc__caret { color: var(--muted); transition: transform .22s var(--ease); }
.m-acc__btn[aria-expanded="true"] .m-acc__caret { transform: rotate(180deg); color: var(--blue-600); }
.m-acc__panel { padding-bottom: 10px; }
.m-acc__panel ul { display: grid; gap: 2px; }
.m-acc__panel a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-size: .9375rem;
}
.m-acc__panel a:hover { background: var(--blue-50); color: var(--blue-700); }

.m-link {
  display: block;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
}
.m-link:hover { color: var(--blue-700); }
.mobile-nav__foot { margin-top: 24px; }

/* --- Search overlay ----------------------------------------- */
.search-overlay { position: fixed; inset: 0; z-index: 130; }
.search-overlay__scrim {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, .48);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  animation: fade-in .2s var(--ease);
}
.search-modal {
  position: relative;
  width: min(680px, calc(100% - 32px));
  margin: min(12vh, 110px) auto 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modal-in .22s var(--ease);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(-10px) scale(.99); }
  to   { opacity: 1; transform: none; }
}
.search-modal__form {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 16px 20px;
  border-bottom: 1px solid var(--line);
}
.search-modal__icon { color: var(--muted); }
.search-modal__input {
  flex: 1;
  border: 0;
  background: none;
  font-size: 1.0625rem;
  padding: 4px 0;
  min-width: 0;
}
.search-modal__input:focus { outline: none; }
.search-modal__input::placeholder { color: var(--muted-2); }
.search-modal__kbd {
  font-family: var(--font-body);
  font-size: .6875rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 3px 6px;
}
.search-modal__body { padding: 18px 20px 20px; }
.search-modal__label { margin-bottom: 12px; }
.search-results { display: grid; gap: 4px; }

.sresult {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  color: var(--ink);
  transition: background-color .14s var(--ease);
}
.sresult:hover, .sresult:focus-visible { background: var(--blue-50); color: var(--ink); }
.sresult__name { font-weight: 600; font-size: .9375rem; display: block; }
.sresult__meta { font-size: .8125rem; color: var(--muted); display: block; }
.sresult__go { margin-left: auto; color: var(--muted); }
.sresult:hover .sresult__go { color: var(--blue-600); }
.sresult-empty { padding: 12px; color: var(--muted); font-size: .9375rem; }

.search-modal__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: .8125rem;
  color: var(--muted);
}
@media (max-width: 560px) {
  .search-modal { margin-top: 8vh; }
  .search-modal__kbd { display: none; }
  .search-modal__foot { flex-direction: column; align-items: flex-start; gap: 8px; }
}

body.is-locked { overflow: hidden; }


/* =============================================================
   07  HOMEPAGE — HERO
   ============================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F9FF 52%, var(--bg) 100%);
  padding-block: clamp(48px, 5.6vw, 86px) clamp(56px, 6vw, 96px);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(37, 99, 235, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37, 99, 235, .07) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse 74% 60% at 68% 22%, #000 5%, transparent 72%);
          mask-image: radial-gradient(ellipse 74% 60% at 68% 22%, #000 5%, transparent 72%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(40px, 4.4vw, 64px);
}
.hero__title {
  font-size: clamp(2.1rem, 1.25rem + 3.1vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -.036em;
  line-height: 1.08;
}
.hero__lede {
  margin-top: 20px;
  font-size: clamp(1rem, .96rem + .22vw, 1.125rem);
  color: var(--muted);
  max-width: 56ch;
}

.hero-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 8px 8px 8px 16px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  max-width: 640px;
}
.hero-search:focus-within {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12), var(--shadow-md);
}
.hero-search.is-pulse { border-color: var(--blue-600); }
.hero-search__icon { color: var(--muted); flex: none; }
.hero-search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font-size: 1rem;
  padding: 10px 0;
}
.hero-search__input:focus { outline: none; }
.hero-search__input::placeholder { color: var(--muted-2); }
.hero-search__btn { padding-inline: 20px; height: 44px; }
.hero-search__btn-icon { display: none; }

.hero__popular {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.hero__popular-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__popular .chip { background: rgba(255, 255, 255, .8); }

/* --- Hero visual composition -------------------------------- */
.hero__visual { position: relative; justify-self: end; width: 100%; max-width: 520px; }
.hero__visual::before {          /* soft brand glow */
  content: "";
  position: absolute;
  inset: -14% -10% -18% -6%;
  background: radial-gradient(60% 55% at 55% 45%, rgba(37, 99, 235, .16), transparent 72%);
  filter: blur(6px);
  pointer-events: none;
}
.disc-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 20px;
}
.disc-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.disc-card__count { font-size: .8125rem; color: var(--muted); }
.disc-list { display: grid; gap: 6px; padding-block: 10px; }
.disc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.disc-row:first-child { background: var(--blue-50); border-color: var(--blue-100); }
.disc-row__body { min-width: 0; flex: 1; }
.disc-row__name { display: block; font-weight: 600; font-size: .9375rem; letter-spacing: -.01em; }
.disc-row__meta { display: block; font-size: .75rem; color: var(--muted); }
.disc-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: .875rem;
  font-weight: 600;
  color: var(--blue-700);
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}
.float-card--top { top: -26px; right: -14px; animation: float-a 7s ease-in-out infinite; }
.float-card--bottom { bottom: -34px; left: -36px; animation: float-b 8.5s ease-in-out infinite; }
.float-card__name { display: block; font-weight: 600; font-size: .875rem; line-height: 1.3; }
.float-card__meta { display: block; font-size: .75rem; color: var(--muted); }
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .16);
  margin-left: 4px;
}
@keyframes float-a {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
@keyframes float-b {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(7px); }
}

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__visual { justify-self: center; max-width: 480px; margin-top: 8px; }
  .hero__title { max-width: 18ch; }
  .hero-search { max-width: none; }
}
@media (max-width: 620px) {
  .hero { padding-block: 36px 56px; }
  .hero__title { max-width: none; }
  .hero-search { padding: 6px 6px 6px 14px; border-radius: 12px; }
  .hero-search__btn { padding-inline: 0; width: 44px; }
  .hero-search__btn-text { display: none; }
  .hero-search__btn-icon { display: block; }
  .float-card--top { right: -4px; top: -20px; }
  .float-card--bottom { left: -4px; bottom: -20px; }
  .hero__visual { max-width: 100%; }
  /* The floating card would sit over this row on narrow screens */
  .disc-card__foot { display: none; }
  .disc-card { padding-bottom: 14px; }
}
@media (max-width: 400px) {
  .float-card--top { display: none; }
}


/* =============================================================

/* =============================================================
   06b  PLATFORM PAGE — sticky subnav (carried from prototype B)
   ============================================================= */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 60;
  background: rgba(255, 255, 255, .93);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
          backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.subnav__inner {
  display: flex;
  gap: 4px;
  height: var(--subnav-h);
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav__link {
  padding: 7px 13px;
  border-radius: var(--r-sm);
  font-size: .875rem;
  font-weight: 550;
  color: var(--muted);
  white-space: nowrap;
  transition: color .16s var(--ease), background-color .16s var(--ease);
}
.subnav__link:hover { color: var(--blue-700); background: var(--blue-50); }
.subnav__link.is-active { color: var(--blue-700); background: var(--blue-50); font-weight: 600; }

/* --- Layout ------------------------------------------------- */

/* =============================================================
   06c  MOBILE STICKY CTA
   ============================================================= */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -18px rgba(15, 23, 42, .5);
  animation: cta-in .24s var(--ease);
}
@keyframes cta-in { from { transform: translateY(100%); } to { transform: none; } }
.mobile-cta__info { display: flex; align-items: center; gap: 11px; min-width: 0; }
.mobile-cta__name { display: block; font-weight: 700; font-size: .9375rem; letter-spacing: -.015em; }
.mobile-cta__price { display: block; font-size: .75rem; color: var(--muted); }
@media (max-width: 1080px) {
  .mobile-cta { display: flex; }
  .mobile-cta[hidden] { display: none; }
  body.has-mobile-cta { padding-bottom: 72px; }
}


/* =============================================================

/* =============================================================
   06d / 07  HOMEPAGE SECTIONS + PLATFORM PAGE (carried from prototype A)
   ============================================================= */

body.nav-open, body.overlay-open { overflow: hidden; }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 22px; border: 1px solid transparent; border-radius: 9px; font-size: 14px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 18px rgba(37,99,235,.2); }
.button-primary:hover { background: var(--blue-dark); box-shadow: 0 12px 24px rgba(37,99,235,.25); }
.button-secondary { border-color: var(--border-strong); background: #fff; color: var(--text); }
.button-secondary:hover { border-color: var(--blue); color: var(--blue); }
.button-small { min-height: 42px; padding: 0 17px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--blue-dark); font-size: 14px; font-weight: 700; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.kicker { display: block; margin-bottom: 13px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.kicker-light { color: #7dd3fc; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.hero-orb-one { width: 420px; height: 420px; right: -160px; top: -180px; background: rgba(56,189,248,.12); }
.hero-orb-two { width: 320px; height: 320px; left: 40%; bottom: -260px; background: rgba(37,99,235,.12); }
.platform-stack { position: relative; height: 460px; }
.stack-backdrop { position: absolute; inset: 38px 22px 40px 28px; border: 1px solid #bfdbfe; border-radius: 35px; background: rgba(255,255,255,.48); transform: rotate(4deg); box-shadow: var(--cx-shadow-lg); }
.stack-card { position: absolute; border: 1px solid rgba(203,213,225,.9); background: rgba(255,255,255,.95); box-shadow: var(--cx-shadow-lg); backdrop-filter: blur(10px); }
.stack-card-main { z-index: 3; inset: 82px 35px 72px 45px; padding: 27px; border-radius: 22px; }
.stack-topline, .stack-meta { display: flex; align-items: center; justify-content: space-between; }
.mini-label { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.status-dot { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-dark); font-size: 11px; font-weight: 700; }
.status-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.stack-platform { display: flex; align-items: center; gap: 15px; margin-top: 36px; }
.logo-shell { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 12px; background: var(--page); box-shadow: 0 1px 2px rgba(15,23,42,.025); }
.logo-shell img { max-width: 64%; max-height: 64%; }
.logo-shell.logo-fallback::after { content: attr(data-fallback); color: var(--fallback-color, var(--blue)); font-family: Manrope, sans-serif; font-size: 12px; font-weight: 800; letter-spacing: -.03em; }
.logo-lg.logo-fallback::after, .platform-title-row .logo-fallback::after { font-size: 16px; }
.logo-canva { background: #effcfd; }
.stack-platform strong, .stack-card > div > strong { display: block; font-family: Manrope, sans-serif; font-size: 21px; }
.stack-platform div span, .stack-card > div > span { display: block; color: var(--muted); font-size: 12px; }
.stack-card-main > p { margin: 24px 0 28px; color: #475569; font-size: 14px; }
.stack-meta { padding-top: 20px; border-top: 1px solid var(--border); }
.stack-meta span { padding: 7px 10px; border-radius: 6px; background: var(--blue-50); color: var(--blue-dark); font-size: 10px; font-weight: 700; }
.stack-meta b { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; }
.stack-card-left, .stack-card-right { z-index: 4; display: flex; align-items: center; gap: 11px; padding: 12px 15px; border-radius: 14px; }
.stack-card-left { left: 0; top: 35px; transform: rotate(-4deg); }
.stack-card-right { right: 0; top: 158px; transform: rotate(3deg); }
.stack-card-left .logo-shell, .stack-card-right .logo-shell { width: 38px; height: 38px; border-radius: 10px; }
.stack-card-left strong, .stack-card-right strong { font-size: 13px !important; }
.stack-card-bottom { z-index: 5; right: 12px; bottom: 19px; display: flex; align-items: center; gap: 12px; max-width: 300px; padding: 13px 16px; border-radius: 14px; }
.stack-card-bottom > span { color: #475569; font-size: 11px; line-height: 1.4; }
.stack-card-bottom > span strong { display: block; color: var(--text); }
.avatar-row { display: flex; }
.avatar-row .logo-shell { width: 34px; height: 34px; margin-left: -8px; border-radius: 50%; }
.avatar-row .logo-shell:first-child { margin-left: 0; }
.stack-note { position: absolute; z-index: 6; left: 12px; bottom: 50px; display: flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid #a7f3d0; border-radius: 10px; background: #ecfdf5; color: #047857; box-shadow: var(--cx-shadow-sm); font-size: 11px; font-weight: 700; }
.stack-note span { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #10b981; color: #fff; }

/* Shared sections */
.trust-strip { position: relative; z-index: 2; border-bottom: 1px solid var(--border); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); padding: 29px 0; }
.trust-grid > div { display: flex; align-items: center; justify-content: center; gap: 15px; border-right: 1px solid var(--border); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid strong { font-family: Manrope, sans-serif; font-size: 22px; letter-spacing: -.03em; }
.trust-grid span { color: var(--muted); font-size: 11px; line-height: 1.45; }
.section-heading { margin-bottom: 46px; }
.section-heading h2 { font-size: clamp(34px,4vw,48px); }
.section-heading p { max-width: 580px; margin-top: 12px; color: var(--muted); font-size: 16px; }
.split-heading, .heading-with-action { display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.split-heading p { max-width: 430px; margin-bottom: 5px; }
.heading-with-action .text-link { flex: 0 0 auto; margin-bottom: 8px; }

/* Categories */
.categories-section { background: #fff; }
.category-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 18px; }
.category-card { position: relative; min-height: 320px; grid-column: span 2; display: flex; flex-direction: column; overflow: hidden; padding: 27px; border: 1px solid var(--border-card); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-card); transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.category-card:hover { z-index: 2; border-color: #b9d3f7; background: #fbfdff; box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.category-featured { grid-column: span 3; min-height: 360px; background: linear-gradient(150deg,#eff6ff,#fff 75%); }
.category-grid .category-card:nth-child(2) { grid-column: span 3; min-height: 360px; }
.category-wide { grid-column: span 2; }
.category-index { position: absolute; right: 23px; top: 20px; color: #cbd5e1; font-family: Manrope, sans-serif; font-size: 12px; font-weight: 800; }
.category-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 34px; border-radius: 13px; background: #dbeafe; color: var(--blue); font-size: 22px; }
.icon-orange { background: #fff7ed; color: #ea580c; }.icon-cyan { background: #ecfeff; color: #0891b2; }.icon-pink { background: #fdf2f8; color: #db2777; }.icon-green { background: #ecfdf5; color: #059669; }
.category-card h3 { font-size: 22px; }
.category-card p { margin-top: 10px; color: var(--muted); font-size: 13px; }
.category-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 21px; }
.category-tags span { padding: 5px 8px; border: 1px solid var(--border); border-radius: 5px; background: #fff; color: #64748b; font-size: 10px; font-weight: 600; }
.category-foot { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: auto; padding-top: 22px; }
.category-foot small { color: #94a3b8; font-size: 10px; }
.category-foot > span { color: var(--blue-dark); font-size: 11px; font-weight: 700; }
.category-foot b { display: inline-block; margin-left: 4px; transition: transform .2s; }
.category-card:hover .category-foot b { transform: translateX(4px); }

/* Platform cards */
.platforms-section { background: var(--page); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: -17px 0 28px; }
.filter-bar button { padding: 8px 13px; border: 1px solid var(--border); border-radius: 7px; background: #fff; color: var(--muted); font-size: 11px; font-weight: 700; cursor: pointer; }
.filter-bar button:hover, .filter-bar button.active { border-color: var(--navy); background: var(--navy); color: #fff; }
.platform-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.platform-card { position: relative; min-height: 354px; display: flex; flex-direction: column; padding: 26px; overflow: hidden; border: 1px solid var(--border-card); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-card); transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, opacity 180ms ease; }
.platform-card:hover { border-color: #b9d3f7; box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.platform-card[hidden] { display: none; }
.card-badge { position: absolute; right: -31px; top: 18px; width: 115px; padding: 5px 0; background: var(--blue); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-align: center; text-transform: uppercase; transform: rotate(45deg); }
.badge-dark { background: var(--navy); }
.platform-card-head { display: flex; align-items: center; gap: 13px; }
.logo-lg { width: 54px; height: 54px; border-radius: 14px; }
.platform-card-head h3 { font-size: 19px; }
.platform-card-head div > span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.circle-link { width: 34px; height: 34px; display: grid; place-items: center; margin-left: auto; border: 1px solid var(--border); border-radius: 50%; color: var(--blue); font-size: 15px; transition: background .2s, color .2s, transform .2s; }
.circle-link:hover { background: var(--blue); color: #fff; transform: rotate(8deg); }
.platform-card > p { margin-top: 23px; color: #475569; font-size: 13px; line-height: 1.7; }
.platform-facts { display: grid; grid-template-columns: 1.25fr .85fr; margin: 22px 0 0; padding: 15px 0; border-top: 1px solid var(--border-card); border-bottom: 1px solid var(--border-card); }
.platform-facts div + div { padding-left: 15px; border-left: 1px solid var(--border-card); }
.platform-facts dt { color: #94a3b8; font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.platform-facts dd { margin: 4px 0 0; color: #334155; font-size: 11px; font-weight: 600; }
.platform-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; }
.platform-card-foot > div { display: flex; gap: 5px; }
.platform-card-foot > div span { padding: 4px 7px; border-radius: 4px; background: #f1f5f9; color: #64748b; font-size: 9px; font-weight: 600; }
.platform-card-foot > a { color: var(--blue-dark); font-size: 10px; font-weight: 800; transition: color 180ms ease; }
.platform-card-foot > a:hover { color: var(--blue); }

/* Use cases */
.use-case-section { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.use-case-section::after { content: ""; position: absolute; width: 460px; height: 460px; left: -250px; bottom: -320px; border: 80px solid rgba(56,189,248,.08); border-radius: 50%; }
.use-case-layout { position: relative; z-index: 1; display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; }
.use-case-copy { align-self: center; }
.use-case-copy h2 { max-width: 420px; font-size: clamp(38px,4vw,52px); }
.use-case-copy p { max-width: 410px; margin-top: 18px; color: #94a3b8; }
.use-case-copy a { display: inline-flex; gap: 9px; margin-top: 32px; color: #7dd3fc; font-size: 13px; font-weight: 700; }
.use-case-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #273449; }
.use-case-list a { min-height: 86px; display: grid; grid-template-columns: 30px 1fr auto 18px; align-items: center; gap: 12px; padding: 0 17px 0 4px; border-bottom: 1px solid #273449; color: #e2e8f0; font-family: Manrope, sans-serif; font-size: 14px; font-weight: 700; transition: background .2s, padding .2s; }
.use-case-list a:nth-child(odd) { border-right: 1px solid #273449; }
.use-case-list a:hover { padding-left: 12px; background: rgba(37,99,235,.12); color: #fff; }
.use-case-list a > span { color: #52647e; font: 600 10px Inter, sans-serif; }
.use-case-list a b { color: #64748b; font: 500 9px Inter, sans-serif; }
.use-case-list a i { color: #38bdf8; font-style: normal; transition: transform .2s; }
.use-case-list a:hover i { transform: translateX(4px); }

/* Editorial cards */
.decision-section { background: #fff; }
.editorial-grid { display: grid; grid-template-columns: 1.3fr .85fr .85fr; gap: 20px; }
.editorial-card { min-height: 390px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border-card); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-card); transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.editorial-card:hover { border-color: #cbd9e9; box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.editorial-lead { display: grid; grid-template-rows: 175px 1fr; background: #f8fbff; }
.article-visual { position: relative; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg,#dbeafe,#eff6ff); }
.article-visual::after { content: ""; position: absolute; width: 240px; height: 240px; border: 1px solid rgba(37,99,235,.18); border-radius: 50%; }
.visual-node { position: absolute; z-index: 2; width: 68px; height: 68px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: var(--cx-shadow-sm); }
.visual-node img { width: 34px; height: 34px; }.node-one { left: 23%; }.node-two { right: 23%; }
.automation-visual i { position: absolute; width: 34%; height: 1px; background: repeating-linear-gradient(90deg,var(--blue) 0 5px,transparent 5px 9px); }
.automation-visual b { z-index: 3; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font: 800 9px Inter; }
.article-content { display: flex; flex: 1; flex-direction: column; padding: 25px; }
.article-type { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.article-content h3 { margin-top: 10px; font-size: 20px; line-height: 1.35; letter-spacing: -.025em; }
.editorial-lead .article-content h3 { font-size: 23px; }
.article-content > p { margin-top: 12px; color: var(--muted); font-size: 12px; }
.article-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 22px; color: #94a3b8; font-size: 10px; }
.article-meta a { color: var(--blue); font-weight: 800; }
.article-logo-row { height: 128px; display: flex; align-items: center; justify-content: space-between; padding: 25px; background: #f8fafc; }
.article-logo-row img { width: 48px; height: 48px; object-fit: contain; }
.article-logo-row .remote-logo-fallback { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 12px; background: #fff; color: var(--blue); font: 800 12px Manrope, sans-serif; }
.article-logo-row > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-size: 11px; font-weight: 800; }
.editorial-dark { border-color: var(--navy); background: var(--navy); color: #fff; }
.editorial-dark .article-logo-row { background: #172033; }
.editorial-dark .article-content > p { color: #94a3b8; }
.editorial-dark .article-type, .editorial-dark .article-meta a { color: #7dd3fc; }
.editorial-dark .price-glyph { background: #fff; color: var(--navy); font-family: Manrope; font-size: 20px; }

/* Updates */
.recent-section { background: var(--page); }
.updates-table { overflow: hidden; border: 1px solid var(--border-card); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-card); }
.updates-row { display: grid; grid-template-columns: 1.25fr 1fr 1.15fr .7fr 30px; align-items: center; min-height: 78px; padding: 0 24px; border-bottom: 1px solid var(--border); color: #475569; font-size: 12px; transition: background .2s; }
.updates-row:last-child { border-bottom: 0; }
.updates-row:not(.updates-header):hover { background: #f8fbff; }
.updates-header { min-height: 45px; background: #f8fafc; color: #94a3b8; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.update-platform { display: flex; align-items: center; gap: 12px; color: var(--text); }
.update-platform .logo-shell { width: 38px; height: 38px; border-radius: 9px; box-shadow: none; }
.updates-row time { color: var(--muted); }
.updates-row > b { color: var(--blue); font-size: 16px; transition: transform .2s; }
.updates-row:hover > b { transform: translateX(4px); }
.demo-note { margin-top: 11px; color: #94a3b8; font-size: 10px; }

/* Methodology */
.methodology-section { border-block: 1px solid var(--border); background: #fff; }
.methodology-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.methodology-intro h2 { max-width: 470px; font-size: clamp(38px,4vw,52px); }
.methodology-intro > p { max-width: 470px; margin: 20px 0 28px; color: var(--muted); }
.principles-list { border-top: 1px solid var(--border); }
.principles-list article { display: grid; grid-template-columns: 45px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.principles-list article > span { color: var(--blue); font-size: 10px; font-weight: 800; }
.principles-list h3 { font-size: 17px; }
.principles-list p { margin-top: 7px; color: var(--muted); font-size: 12px; }

/* Final CTA and footer */
.final-cta-section { padding: 0 0 92px; background: var(--page); }
.final-cta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 50px; overflow: hidden; padding: 48px 55px; border: 1px solid #bfdbfe; border-radius: var(--radius-lg); background: linear-gradient(120deg,#eff6ff,#fff); box-shadow: var(--shadow-card); }
.final-cta::after { content: ""; position: absolute; width: 220px; height: 220px; right: -100px; top: -150px; border: 45px solid rgba(37,99,235,.08); border-radius: 50%; }
.final-cta h2 { font-size: 34px; }
.final-cta p { margin-top: 8px; color: var(--muted); }
.final-cta > div:last-child { z-index: 1; flex: 0 0 auto; display: flex; gap: 10px; }

/* Platform page */
.platform-page { background: var(--page); }
.platform-hero { padding: 30px 0 62px; border-bottom: 1px solid var(--border); background: linear-gradient(150deg,#fff 25%,#f4f8ff); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 42px; color: #94a3b8; font-size: 11px; }
.breadcrumbs a:hover { color: var(--blue); }.breadcrumbs b { color: #cbd5e1; font-weight: 400; }
.platform-hero-grid { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 80px; }
.platform-title-row { display: flex; align-items: center; gap: 18px; }
.platform-title-row .logo-shell { width: 72px; height: 72px; border-radius: 18px; }
.platform-title-row h1 { font-size: 52px; }
.platform-title-row p { color: var(--muted); font-size: 11px; }
.category-label { display: inline-flex; margin-bottom: 8px; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.platform-tagline { max-width: 670px; margin-top: 25px; font-family: Manrope,sans-serif; font-size: 25px; font-weight: 700; line-height: 1.35; letter-spacing: -.03em; }
.platform-intro { max-width: 690px; margin-top: 15px; color: var(--muted); font-size: 14px; }
.hero-decision { display: grid; grid-template-columns: 1.3fr .7fr; gap: 12px; margin-top: 26px; }
.decision-field { padding: 15px 17px; border: 1px solid var(--border-card); border-radius: 10px; background: rgba(255,255,255,.94); box-shadow: var(--shadow-card); }
.decision-field span { display: block; color: #94a3b8; font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.decision-field strong { display: block; margin-top: 4px; font-size: 12px; }
.platform-badges { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.platform-badges span { padding: 6px 9px; border: 1px solid #bfdbfe; border-radius: 6px; background: var(--blue-50); color: var(--blue-dark); font-size: 9px; font-weight: 700; }
.platform-hero-actions { display: flex; gap: 10px; margin-top: 25px; }
.affiliate-note { max-width: 600px; display: flex; gap: 8px; margin-top: 14px; color: #94a3b8; font-size: 9px; line-height: 1.5; }
.affiliate-note svg { width: 14px; height: 14px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; }
.interface-window { overflow: hidden; border: 1px solid #cbd5e1; border-radius: 16px; background: #fff; box-shadow: 0 30px 70px rgba(15,23,42,.16); transform: perspective(1200px) rotateY(-3deg) rotateX(1deg); }
.interface-label { display: flex; align-items: center; justify-content: space-between; padding: 8px 13px; background: #f1f5f9; color: #64748b; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.browser-bar { height: 35px; display: flex; align-items: center; gap: 5px; padding: 0 12px; border-bottom: 1px solid var(--border); }
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: #cbd5e1; }.browser-bar i:first-child{background:#fb7185}.browser-bar i:nth-child(2){background:#fbbf24}.browser-bar i:nth-child(3){background:#34d399}
.mock-dashboard { min-height: 335px; display: grid; grid-template-columns: 95px 1fr; }
.mock-sidebar { padding: 17px 10px; background: #131a2b; }.mock-sidebar strong { display: block; margin-bottom: 22px; color: #fff; font: 800 10px Manrope; }.mock-sidebar span { display: block; height: 6px; margin: 12px 0; border-radius: 4px; background: #334155; }.mock-sidebar span:nth-child(3){width:70%}.mock-sidebar span:nth-child(5){width:80%}
.mock-main { padding: 21px; background: #f8fafc; }.mock-main h3 { font-size: 16px; }.mock-main > p { color: #94a3b8; font-size: 8px; }
.mock-stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 18px; }.mock-stat { padding: 10px; border: 1px solid var(--border); border-radius: 7px; background:#fff; }.mock-stat span { color:#94a3b8;font-size:7px}.mock-stat strong{display:block;margin-top:2px;font-size:13px}
.mock-chart { position: relative; height: 120px; margin-top: 10px; overflow: hidden; border: 1px solid var(--border); border-radius: 7px; background: repeating-linear-gradient(0deg,#fff 0 23px,#e2e8f0 24px); }.mock-chart svg { position:absolute; inset:18px 12px; width:calc(100% - 24px);height:calc(100% - 36px);fill:none;stroke:#ff642d;stroke-width:3; }
.mock-list { display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:9px}.mock-list span { height:36px;border:1px solid var(--border);border-radius:6px;background:#fff; }
.quick-panel-wrap { position: relative; z-index: 2; margin-top: -1px; border-bottom: 1px solid var(--border-card); background: #fff; box-shadow: var(--shadow-card); }
.quick-panel { display: grid; grid-template-columns: repeat(6,1fr); }
.quick-panel div { min-height: 98px; display: flex; flex-direction: column; justify-content: center; padding: 18px; border-right: 1px solid var(--border); }
.quick-panel div:last-child { border-right: 0; }.quick-panel span { color:#94a3b8;font-size:8px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.quick-panel strong { margin-top:7px;font-size:11px;line-height:1.45}
.platform-content-wrap { display: grid; grid-template-columns: minmax(0,1fr) 305px; align-items: start; gap: 72px; padding-block: 72px 110px; }
.platform-article { min-width: 0; }
.article-toc { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 55px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.article-toc a { padding: 6px 9px; border-radius: 5px; background:#f1f5f9;color:#64748b;font-size:9px;font-weight:700}.article-toc a:hover{background:var(--blue-50);color:var(--blue)}
.content-section { padding: 0 0 58px; scroll-margin-top: 95px; }
.content-section + .content-section { padding-top: 58px; border-top: 1px solid var(--border); }
.content-section h2 { font-size: 32px; }
.content-section > p, .content-prose p { margin-top: 17px; color:#475569;font-size:14px;line-height:1.85}.content-section > p:first-of-type { font-size:16px;color:#334155}
.section-label { display:flex;align-items:center;gap:8px;margin-bottom:11px;color:var(--blue);font-size:9px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.section-label::before{content:"";width:18px;height:2px;background:var(--blue)}
.feature-grid { display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:28px}.feature-card { display:grid;grid-template-columns:38px 1fr;gap:14px;padding:19px;border:1px solid var(--border-card);border-radius:11px;background:#fff;box-shadow:var(--shadow-card)}.feature-card > span { width:38px;height:38px;display:grid;place-items:center;border-radius:9px;background:var(--blue-50);color:var(--blue);font-size:17px}.feature-card h3{font-size:14px}.feature-card p{margin-top:5px;color:var(--muted);font-size:10px;line-height:1.6}
.use-case-rows { margin-top:27px;border-top:1px solid var(--border)}.use-case-row { display:grid;grid-template-columns:38px 1fr 1.2fr;gap:17px;align-items:center;padding:20px 4px;border-bottom:1px solid var(--border)}.use-case-row > span{color:#cbd5e1;font:800 10px Manrope}.use-case-row h3{font-size:14px}.use-case-row p{color:var(--muted);font-size:11px}
.pricing-notice { display:flex;gap:10px;margin-top:22px;padding:13px 15px;border:1px solid #bfdbfe;border-radius:9px;background:var(--blue-50);color:#1e40af;font-size:10px}.pricing-notice strong{white-space:nowrap}
.pricing-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}.price-card { position:relative;display:flex;flex-direction:column;padding:20px;border:1px solid var(--border-card);border-radius:12px;background:#fff;box-shadow:var(--shadow-card)}.price-card.featured { border-color:#93c5fd;box-shadow:var(--shadow-card)}.price-card .popular { position:absolute;right:12px;top:12px;color:var(--blue);font-size:8px;font-weight:800;text-transform:uppercase}.price-card h3{font-size:16px}.price { margin-top:15px;font:800 25px Manrope;letter-spacing:-.04em}.price small{font:500 9px Inter;color:var(--muted)}.price-card > span{color:#94a3b8;font-size:8px}.price-card > p{min-height:46px;margin-top:15px;color:var(--muted);font-size:10px}.price-limit { margin-top:16px;padding-top:13px;border-top:1px solid var(--border);color:#92400e;font-size:9px}.price-card .button { min-height:38px;margin-top:17px;padding:0 10px;font-size:10px}
.limitations-box { padding:27px;border:1px solid #f5d478;border-radius:13px;background:#fffbeb;box-shadow:var(--shadow-card)}.limitations-box .section-label{color:#b45309}.limitations-box .section-label::before{background:#f59e0b}.limitations-box h2{color:#78350f}.limitations-list{display:grid;grid-template-columns:1fr 1fr;gap:0 28px;margin:22px 0 0;padding:0;list-style:none}.limitations-list li{position:relative;padding:14px 0 14px 20px;border-top:1px solid #fde68a;color:#78350f;font-size:11px}.limitations-list li::before{content:"";position:absolute;left:1px;top:21px;width:6px;height:6px;border:2px solid #f59e0b;border-radius:50%}
.audience-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:25px}.audience-card{padding:20px;border-left:3px solid var(--blue);background:#f8fafc}.audience-card span{color:var(--blue);font:800 9px Manrope}.audience-card h3{margin-top:12px;font-size:14px}.audience-card p{margin-top:7px;color:var(--muted);font-size:10px}
.alternative-note { margin-top:25px;padding:22px;border:1px solid var(--border);border-radius:11px;background:#f8fafc}.alternative-note h3{font-size:16px}.alternative-note p{margin-top:9px;color:var(--muted);font-size:11px}
.pros-cons { display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:25px}.pros-cons > div { padding:22px;border:1px solid var(--border-card);border-radius:12px;background:#fff;box-shadow:var(--shadow-card)}.pros-cons h3{display:flex;align-items:center;gap:9px;font-size:15px}.pros-cons h3 span { width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#ecfdf5;color:#059669;font:800 13px Inter}.pros-cons .cons h3 span{background:#fff7ed;color:#d97706}.pros-cons ul { margin:16px 0 0;padding:0;list-style:none}.pros-cons li { position:relative;padding:10px 0 10px 17px;border-top:1px solid var(--border);color:#475569;font-size:10px}.pros-cons li::before{content:"";position:absolute;left:0;top:16px;width:5px;height:5px;border-radius:50%;background:#10b981}.pros-cons .cons li::before{background:#f59e0b}
.integration-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:24px}.integration-card { display:flex;align-items:center;gap:9px;padding:13px;border:1px solid var(--border);border-radius:9px;font-size:10px;font-weight:700}.integration-card img{width:24px;height:24px;object-fit:contain}
.alternatives-grid { display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:24px}.alternative-card { display:grid;grid-template-columns:45px 1fr auto;align-items:center;gap:12px;padding:16px;border:1px solid var(--border-card);border-radius:10px;background:#fff;box-shadow:var(--shadow-card);transition:border-color 180ms ease,transform 180ms ease,box-shadow 180ms ease}.alternative-card:hover{border-color:#b9d3f7;box-shadow:var(--shadow-card-hover);transform:translateY(-2px)}.alternative-card .logo-shell{width:45px;height:45px}.alternative-card h3{font-size:13px}.alternative-card p{margin-top:3px;color:var(--muted);font-size:9px}.alternative-card > span{color:var(--blue)}
.related-list { margin-top:24px;border-top:1px solid var(--border)}.related-list a { display:grid;grid-template-columns:100px 1fr auto;align-items:center;gap:15px;padding:17px 0;border-bottom:1px solid var(--border)}.related-list a > span:first-child{color:var(--blue);font-size:8px;font-weight:800;text-transform:uppercase}.related-list strong{font:700 12px Manrope}.related-list a > span:last-child{color:var(--blue)}
.conclusion-panel { padding:33px;border-radius:15px;background:var(--navy);color:#fff}.conclusion-panel .section-label{color:#7dd3fc}.conclusion-panel .section-label::before{background:#38bdf8}.conclusion-panel h2{font-size:33px}.conclusion-panel p{margin-top:16px;color:#cbd5e1;font-size:13px}.conclusion-panel .verdict-line{display:flex;align-items:center;gap:10px;margin-top:24px;padding-top:20px;border-top:1px solid #334155;color:#7dd3fc;font-size:10px;font-weight:700}.verdict-line span{width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:rgba(56,189,248,.12)}
.sources-box { border:1px solid var(--border-card);border-radius:11px;background:#fff;box-shadow:var(--shadow-card)}.sources-toggle { width:100%;display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border:0;background:transparent;text-align:left;cursor:pointer}.sources-toggle strong{font:700 14px Manrope}.sources-toggle span{color:var(--blue);font-size:18px;transition:transform .2s}.sources-toggle[aria-expanded="true"] span{transform:rotate(45deg)}.sources-content { padding:0 20px 20px}.sources-content[hidden]{display:none}.sources-content ul{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}.sources-content a{display:inline-flex;padding:7px 10px;border:1px solid var(--border);border-radius:6px;color:var(--blue);font-size:9px;font-weight:700}.sources-content p{margin-top:14px;color:var(--muted);font-size:9px}
.faq-list { margin-top:24px;border-top:1px solid var(--border)}.faq-item{border-bottom:1px solid var(--border)}.faq-question{width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 0;border:0;background:transparent;text-align:left;font:700 13px Manrope;cursor:pointer}.faq-question span{width:24px;height:24px;display:grid;place-items:center;border:1px solid var(--border);border-radius:50%;color:var(--blue);font:400 16px Inter;transition:transform .2s}.faq-question[aria-expanded="true"] span{transform:rotate(45deg)}.faq-answer{padding:0 36px 20px 0;color:var(--muted);font-size:11px}.faq-answer[hidden]{display:none}
.platform-sidebar { position: sticky; top: calc(var(--header-height) + 24px); padding:22px;border:1px solid var(--border-card);border-radius:14px;background:#fff;box-shadow:var(--shadow-card)}.sidebar-title{display:flex;align-items:center;gap:12px;padding-bottom:18px;border-bottom:1px solid var(--border)}.sidebar-title .logo-shell{width:48px;height:48px}.sidebar-title h2{font-size:18px}.sidebar-title span{color:var(--muted);font-size:9px}.sidebar-facts{margin:0}.sidebar-facts div{padding:15px 0;border-bottom:1px solid var(--border)}.sidebar-facts dt{color:#94a3b8;font-size:8px;font-weight:800;text-transform:uppercase}.sidebar-facts dd{margin:4px 0 0;font-size:11px;font-weight:600}.platform-sidebar .button{width:100%;min-height:44px;margin-top:18px;font-size:11px}.sidebar-official{display:block;margin-top:12px;color:var(--blue);font-size:9px;font-weight:700;text-align:center}.sidebar-verified{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:17px;color:#94a3b8;font-size:8px}.sidebar-verified span{width:6px;height:6px;border-radius:50%;background:var(--green)}

@media (max-width: 900px) {.platform-stack{width:min(520px,100%);margin:0 auto;transform:none}
  .trust-grid { grid-template-columns:repeat(2,1fr);gap:0}.trust-grid>div{padding:18px;border-bottom:1px solid var(--border)}.trust-grid>div:nth-child(2){border-right:0}.trust-grid>div:nth-child(n+3){border-bottom:0}
  .category-card,.category-featured,.category-grid .category-card:nth-child(2),.category-wide{grid-column:span 3;min-height:325px}
  .platform-grid { grid-template-columns:repeat(2,1fr)}
  .use-case-layout { grid-template-columns:1fr;gap:50px}.use-case-copy p{max-width:600px}
  .editorial-grid { grid-template-columns:1fr 1fr}.editorial-lead{grid-column:span 2}
  .methodology-layout { grid-template-columns:1fr;gap:55px}
  .platform-hero-grid { grid-template-columns:1fr;gap:55px}.platform-hero-copy{max-width:720px}.interface-window{width:min(650px,100%);margin:auto;transform:none}
  .platform-content-wrap{grid-template-columns:1fr;padding-block:60px 90px}.platform-sidebar{position:static;display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.sidebar-title{grid-column:span 2}.sidebar-facts{display:grid;grid-template-columns:1fr 1fr;grid-column:span 2}.sidebar-facts div:nth-child(odd){margin-right:12px}.platform-sidebar .button,.sidebar-official,.sidebar-verified{grid-column:span 2}

}

@media (max-width: 680px) {.section-heading{margin-bottom:34px}.section-heading h2{font-size:34px}.split-heading,.heading-with-action{display:block}.split-heading p{margin-top:15px}.heading-with-action .text-link{margin-top:20px}
  .platform-stack{height:385px;transform:scale(.88);transform-origin:center top;margin-bottom:-45px}.stack-card-main{inset:68px 16px 65px 24px}.stack-card-left{left:-8px}.stack-card-right{right:-10px}.stack-card-bottom{right:-4px}.stack-note{left:1px}
  .trust-grid>div{justify-content:flex-start;padding:17px 8px}.trust-grid strong{font-size:18px}.trust-grid span{font-size:9px}
  .category-grid{grid-template-columns:1fr}.category-card,.category-featured,.category-grid .category-card:nth-child(2),.category-wide{grid-column:1;min-height:300px}
  .filter-bar{overflow:auto;flex-wrap:nowrap;padding-bottom:5px}.filter-bar button{flex:0 0 auto}.platform-grid{grid-template-columns:1fr}.platform-card{min-height:340px}
  .use-case-list{grid-template-columns:1fr}.use-case-list a:nth-child(odd){border-right:0}.use-case-list a{grid-template-columns:26px 1fr auto 15px;padding-right:4px}.use-case-list a b{display:none}
  .editorial-grid{grid-template-columns:1fr}.editorial-lead{grid-column:auto}.editorial-card{min-height:360px}
  .updates-table{border-radius:12px}.updates-header{display:none}.updates-row{position:relative;grid-template-columns:1fr auto;gap:4px;min-height:102px;padding:17px}.updates-row>span:nth-child(2){display:none}.updates-row>span:nth-child(3){grid-column:1;color:var(--muted);font-size:10px}.updates-row time{position:absolute;right:17px;top:22px}.updates-row>b{position:absolute;right:17px;bottom:20px}
  .final-cta-section{padding-bottom:70px}.final-cta{display:block;padding:36px 24px}.final-cta h2{font-size:29px}.final-cta>div:last-child{display:grid;margin-top:26px}.final-cta .button{width:100%}
  .platform-hero{padding-top:22px}.breadcrumbs{margin-bottom:30px}.platform-title-row .logo-shell{width:62px;height:62px}.platform-title-row h1{font-size:40px}.platform-tagline{font-size:21px}.hero-decision{grid-template-columns:1fr}.platform-hero-actions{display:grid}.platform-hero-actions .button{width:100%}
  .mock-dashboard{grid-template-columns:68px 1fr;min-height:280px}.mock-main{padding:13px}.mock-stat-row{gap:4px}.mock-stat{padding:7px}.mock-stat strong{font-size:10px}.mock-chart{height:98px}
  .quick-panel{grid-template-columns:repeat(2,1fr)}.quick-panel div{border-bottom:1px solid var(--border)!important}.quick-panel div:nth-child(even){border-right:0}.quick-panel div:nth-child(n+5){border-bottom:0!important}
  .platform-content-wrap{padding-top:45px}.article-toc{overflow:auto;flex-wrap:nowrap}.article-toc a{flex:0 0 auto}.content-section{padding-bottom:45px}.content-section+.content-section{padding-top:45px}.content-section h2{font-size:28px}
  .feature-grid,.pricing-grid,.limitations-list,.audience-grid,.pros-cons,.alternatives-grid{grid-template-columns:1fr}.use-case-row{grid-template-columns:28px 1fr}.use-case-row p{grid-column:2}.pricing-grid{gap:14px}.price-card>p{min-height:auto}.integration-grid{grid-template-columns:1fr 1fr}.related-list a{grid-template-columns:75px 1fr}.related-list a>span:last-child{display:none}.conclusion-panel{padding:26px 21px}.platform-sidebar{display:block}.sidebar-title{grid-column:auto}.sidebar-facts{display:block}.sidebar-facts div:nth-child(odd){margin-right:0}

}

@media (max-width: 390px) {.platform-stack{transform:scale(.8);width:112%;margin-left:-6%;margin-bottom:-75px}.trust-grid strong{font-size:16px}.trust-grid>div{gap:8px}.category-card{padding:23px}.article-visual .node-one{left:15%}.article-visual .node-two{right:15%}

}
/* =============================================================
   15  HOMEPAGE — GUIDES
   ============================================================= */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.guide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.guide-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-md);
}
.guide-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #E8EFFB 0%, #DCE7F8 55%, #EEF4FE 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.guide-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.guide-card:hover .guide-card__media img { transform: scale(1.035); }
.guide-card__media[data-failed] {
  background-image:
    linear-gradient(135deg, #E8EFFB 0%, #DCE7F8 55%, #EEF4FE 100%),
    linear-gradient(to right, rgba(37, 99, 235, .1) 1px, transparent 1px);
  background-size: auto, 22px 22px;
}
.guide-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  flex: 1;
}
.guide-card__cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--blue-700);
}
.guide-card__date {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  white-space: nowrap;
}
.guide-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.022em;
  line-height: 1.32;
}
.guide-card__title a { color: var(--ink); }
.guide-card:hover .guide-card__title a { color: var(--blue-700); }
.guide-card__excerpt { font-size: .875rem; color: var(--muted); line-height: 1.6; }
.guide-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: .8125rem;
  color: var(--muted);
}

@media (max-width: 1140px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  {
  .guide-grid { grid-template-columns: 1fr; gap: 18px; }
  .guide-card__media { aspect-ratio: 16 / 8; }
}


/* =============================================================/* =============================================================
   17  SITE FOOTER
   ============================================================= */
.site-footer {
  background: var(--navy-950);
  color: #94A3B8;
  padding-block: clamp(48px, 5vw, 72px) 28px;
  border-top: 1px solid var(--navy-950);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 80px);
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__mark { color: var(--blue-600); }
.footer__statement {
  margin-top: 18px;
  font-size: .9375rem;
  line-height: 1.65;
  color: #94A3B8;
  max-width: 42ch;
}
.footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  font-size: .8125rem;
  font-weight: 500;
  color: #CBD5E1;
}
.footer__badge .icon { color: var(--sky-400); }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer__heading {
  font-family: var(--font-head);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer__col ul { display: grid; gap: 11px; }
.footer__col a {
  color: #94A3B8;
  font-size: .9375rem;
  transition: color .16s var(--ease);
}
.footer__col a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-top: 24px;
  font-size: .8125rem;
  color: #7C8CA5;
}
.footer__note { max-width: 62ch; line-height: 1.6; }

@media (max-width: 940px) {
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
  .footer__bottom { flex-direction: column; gap: 12px; }
}
@media (max-width: 420px) {
  .footer__cols { gap: 26px 16px; }
}


/* =============================================================/* =============================================================
   09  TYPE SCALE + MERGE REFINEMENTS
   Everything above is inherited from the two source prototypes.
   This block applies one consistent type scale across both and
   adds the surface treatments agreed in the design review.
   Nothing here introduces a new colour or size that is not a token.
   ============================================================= */

/* ---- Base reading sizes ------------------------------------ */
body { font-size: var(--fs-body); line-height: var(--lh-body); }

h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
h2 { line-height: var(--lh-heading); }

/* Section headings, both systems */
.section-heading h2,
.section-head__title,
.methodology-intro h2,
.use-case-copy h2,
.content-section h2,
.conclusion-panel h2,
.final-cta h2 { font-size: var(--fs-h2); line-height: var(--lh-heading); }

.section-heading { margin-bottom: clamp(2rem, 3vw, 2.875rem); }
.section-heading p { font-size: var(--fs-lede); color: var(--muted); max-width: 62ch; }

.kicker { font-size: var(--fs-kicker); letter-spacing: .1em; margin-bottom: .875rem; }
.text-link { font-size: var(--fs-sm); }
.button { font-size: var(--fs-sm); }
.demo-note { font-size: var(--fs-xs); }

/* =============================================================
   HOMEPAGE — HERO composition (carried-over stack, resized)
   ============================================================= */
.hero__grid > .platform-stack { justify-self: end; width: 100%; max-width: 520px; }

.stack-platform strong,
.stack-card > div > strong { font-size: 1.3125rem; }
.stack-platform div span,
.stack-card > div > span { font-size: var(--fs-sm); }
.stack-card-main > p { font-size: var(--fs-body); line-height: 1.7; }
.stack-meta span { font-size: var(--fs-xs); }
.stack-card-left strong,
.stack-card-right strong { font-size: 1rem !important; }
.stack-card-bottom > span { font-size: var(--fs-sm); }
.stack-note { font-size: var(--fs-xs); }
.mini-label,
.status-dot { font-size: var(--fs-xs); }

/* Hero composition — layered stack retuned for the hero grid's right column */
.hero__grid > .platform-stack { height: 470px; max-width: 540px; }
.hero__grid .stack-backdrop { inset: 40px 16px 54px 42px; border-radius: 30px; }

.hero__grid .stack-card-main { inset: 60px 44px 92px 64px; padding: 24px 26px; }
.hero__grid .stack-card-main > p { max-width: 66%; margin: 20px 0 24px; }

.hero__grid .stack-card-left,
.hero__grid .stack-card-right { padding: 10px 13px; gap: 10px; }
.hero__grid .stack-card-left .logo-shell,
.hero__grid .stack-card-right .logo-shell { width: 32px; height: 32px; }
.hero__grid .stack-card-left strong,
.hero__grid .stack-card-right strong { font-size: .875rem !important; }
.hero__grid .stack-card-left > div > span,
.hero__grid .stack-card-right > div > span { font-size: var(--fs-xs); }

.hero__grid .stack-card-left { left: 0; top: 20px; }
.hero__grid .stack-card-right { right: 0; top: 204px; }

.hero__grid .stack-card-bottom { right: 0; bottom: 0; max-width: 244px; padding: 12px 14px; }
.hero__grid .stack-card-bottom > span { font-size: var(--fs-xs); }
.hero__grid .avatar-row .logo-shell { width: 30px; height: 30px; }
.hero__grid .stack-note { left: 0; bottom: 20px; font-size: var(--fs-xs); }

@media (max-width: 1180px) {
  .hero__grid > .platform-stack { max-width: 470px; height: 440px; }
  .hero__grid .stack-card-main { inset: 56px 38px 86px 54px; }
  .hero__grid .stack-card-right { top: 178px; }
  .hero__grid .stack-card-bottom { max-width: 220px; }
}

@media (max-width: 980px) {
  .hero__grid > .platform-stack { display: none; }
}

/* =============================================================
   HOMEPAGE — TRUST STRIP  (larger figures, per review)
   ============================================================= */
.trust-strip { background: var(--surface); border-block: 1px solid var(--line); }
.trust-grid { padding: 2.5rem 0; }
.trust-grid > div {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: .5rem;
  padding-inline: 1.25rem;
  text-align: center;
}
.trust-grid strong {
  font-size: clamp(1.625rem, 2.2vw, 2rem);
  line-height: 1.1;
  color: var(--ink);
  text-wrap: balance;
}
.trust-grid span { font-size: var(--fs-sm); line-height: 1.5; }
.trust-grid span br { display: none; }

@media (max-width: 860px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid > div:nth-child(2n) { border-right: 0; }
  .trust-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; }
  .trust-grid > div:nth-child(n+3) { padding-top: 1.5rem; }
}

/* =============================================================
   HOMEPAGE — CATEGORIES  (lifted off the page, per review)
   ============================================================= */
.categories-section { background: var(--bg); }

.category-card {
  border-color: var(--border-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.category-card:hover {
  border-color: #B9D3F7;
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}
.category-featured { background: linear-gradient(150deg, var(--blue-50), var(--surface) 72%); }

.category-card h3 { font-size: 1.3125rem; }
.category-card p { font-size: var(--fs-sm); line-height: 1.6; margin-top: .75rem; }
.category-index { font-size: var(--fs-xs); }
.category-tags span { font-size: var(--fs-xs); padding: .3125rem .5625rem; }
.category-foot small { font-size: var(--fs-xs); }
.category-foot > span { font-size: var(--fs-sm); }
.category-icon { width: 46px; height: 46px; }

/* =============================================================
   HOMEPAGE — PLATFORM CARDS
   ============================================================= */
.platform-card { border-color: var(--border-card); box-shadow: var(--shadow-card); }
.platform-card:hover { border-color: #B9D3F7; box-shadow: var(--shadow-card-hover); }
.platform-card-head h3 { font-size: 1.1875rem; }
.platform-card-head div > span { font-size: var(--fs-xs); margin-top: .25rem; }
.platform-card > p { font-size: var(--fs-sm); line-height: 1.68; }
.platform-facts dt { font-size: var(--fs-xs); letter-spacing: .07em; }
.platform-facts dd { font-size: var(--fs-sm); }
.platform-card-foot > div span { font-size: var(--fs-xs); padding: .3125rem .5rem; }
.platform-card-foot > a { font-size: var(--fs-sm); }
.card-badge { font-size: var(--fs-xs); }
.filter-bar button { font-size: var(--fs-sm); }

/* =============================================================
   HOMEPAGE — USE CASES (dark band)
   ============================================================= */
.use-case-list a { font-size: 1.0625rem; min-height: 5.75rem; }
.use-case-list a > span { font-size: var(--fs-xs); }
.use-case-list a b { font-size: var(--fs-xs); font-weight: 500; }
.use-case-copy > p { font-size: var(--fs-lede); }
.use-case-copy a { font-size: var(--fs-sm); }

/* =============================================================
   HOMEPAGE — EDITORIAL / ANALYSIS
   ============================================================= */
.editorial-card { border-color: var(--border-card); box-shadow: var(--shadow-card); }
.editorial-card:hover { box-shadow: var(--shadow-card-hover); }
.article-type { font-size: var(--fs-xs); letter-spacing: .09em; }
.article-content h3 { font-size: 1.1875rem; line-height: 1.3; }
.editorial-lead .article-content h3 { font-size: 1.4375rem; }
.article-content p { font-size: var(--fs-sm); line-height: 1.65; margin-top: .625rem; }
.article-meta { font-size: var(--fs-xs); }

/* =============================================================
   HOMEPAGE — RECENTLY UPDATED  (highlighted, per review)
   ============================================================= */
.recent-section .updates-table {
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.updates-row { min-height: 5rem; font-size: var(--fs-sm); padding-inline: 1.5rem; }
.updates-header {
  min-height: 3.25rem;
  background: var(--blue-50);
  border-bottom: 1px solid var(--blue-100);
  color: var(--blue-800);
  font-size: var(--fs-xs);
  letter-spacing: .08em;
}
.updates-row:not(.updates-header):hover { background: var(--sky-50); }
.update-platform strong { font-size: var(--fs-body); }

/* Verified date reads as a status, not a timestamp */
.updates-row time {
  justify-self: start;
  width: -moz-fit-content;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: .4375rem;
  padding: .3125rem .625rem;
  border: 1px solid var(--green-100);
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-600);
  font-size: var(--fs-xs);
  font-weight: 700;
}
.updates-row time::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-500);
}
.updates-header time { all: unset; font: inherit; }

/* =============================================================
   HOMEPAGE — EDITORIAL STANDARD / PRINCIPLES
   ============================================================= */
.methodology-intro > p { font-size: var(--fs-lede); }
.principles-list article { padding: 1.625rem 0; gap: 1.5rem; }
.principles-list article > span { font-size: var(--fs-xs); }
.principles-list h3 { font-size: 1.1875rem; }
.principles-list p { font-size: var(--fs-sm); line-height: 1.65; margin-top: .5rem; }

/* -------------------------------------------------------------
   Dark surfaces — headings inherit their surface colour.
   The shared h1-h4 colour rule would otherwise render these
   navy on navy.
   ------------------------------------------------------------- */
.use-case-section h2,
.use-case-section h3,
.editorial-dark h2,
.editorial-dark h3,
.conclusion-panel h2,
.conclusion-panel h3 { color: #fff; }

/* =============================================================
   HOMEPAGE — CLOSING STRIP  (newsletter + CTA, per review)
   ============================================================= */
.closing-strip { padding-bottom: clamp(4rem, 6vw, 5.75rem); background: var(--bg); }

.closing-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  overflow: hidden;
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--blue-50), var(--surface) 70%);
  box-shadow: var(--shadow-card);
}
.closing-grid::after {
  content: "";
  position: absolute;
  right: -100px; top: -150px;
  width: 220px; height: 220px;
  border: 45px solid rgba(37, 99, 235, .08);
  border-radius: 50%;
  pointer-events: none;
}
.closing-pane { position: relative; z-index: 1; padding: clamp(2rem, 3vw, 2.875rem) clamp(1.75rem, 3vw, 3rem); }
.closing-pane + .closing-pane { border-left: 1px solid #BFDBFE; }
.closing-pane h2 { font-size: 1.75rem; }
.closing-pane > p { margin-top: .625rem; color: var(--muted); font-size: var(--fs-body); }
.closing-actions { display: flex; flex-wrap: wrap; gap: .625rem; margin-top: 1.75rem; }
.closing-note {
  display: flex; align-items: center; gap: .5rem;
  margin-top: 1.25rem;
  color: var(--muted-2);
  font-size: var(--fs-xs);
}

/* Fluent Forms container. The real form is injected here in WordPress;
   these rules style Fluent Forms' own markup so it inherits the system. */
.newsletter-form,
.newsletter-form .ff-el-group { margin: 1.5rem 0 0; }
.newsletter-form .ff-el-input--label { display: none; }
.newsletter-form .ff-el-form-control,
.newsletter-input {
  width: 100%;
  height: 3.25rem;
  padding: 0 1rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: var(--fs-body);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.newsletter-form .ff-el-form-control:focus,
.newsletter-input:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}
.newsletter-form .ff-btn-submit,
.newsletter-submit {
  min-height: 3.25rem;
  width: 100%;
  margin-top: .625rem;
  border: 0;
  border-radius: var(--r-md);
  background: var(--blue-600);
  color: #fff;
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-blue);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.newsletter-form .ff-btn-submit:hover,
.newsletter-submit:hover { background: var(--blue-700); transform: translateY(-1px); }

@media (min-width: 640px) {
  .newsletter-row { display: grid; grid-template-columns: 1fr auto; gap: .625rem; }
  .newsletter-submit { margin-top: 0; width: auto; padding-inline: 1.75rem; }
}

@media (max-width: 860px) {
  .closing-grid { grid-template-columns: 1fr; }
  .closing-pane + .closing-pane { border-left: 0; border-top: 1px solid #BFDBFE; }
}

/* =============================================================
   PLATFORM PAGE — hero and quick panel
   ============================================================= */
.platform-hero { padding: 1.75rem 0 clamp(2.5rem, 4vw, 3.875rem); }
.platform-tagline { font-size: clamp(1.375rem, 2vw, 1.625rem); line-height: 1.32; }
.platform-intro { font-size: var(--fs-prose); line-height: var(--lh-prose); }
.breadcrumbs { font-size: var(--fs-sm); }
.platform-title-row h1 { font-size: clamp(2rem, 3.4vw, 2.75rem); }
.platform-title-row .category-label { font-size: var(--fs-sm); }
.platform-title-row p { font-size: var(--fs-sm); }
.decision-field span { font-size: var(--fs-xs); letter-spacing: .07em; }
.decision-field strong { font-size: var(--fs-body); margin-top: .375rem; }
.platform-badges span { font-size: var(--fs-xs); padding: .375rem .625rem; }
.affiliate-note { font-size: var(--fs-xs); line-height: 1.55; max-width: 62ch; }

.quick-panel div { min-height: 6.25rem; }
.quick-panel span { font-size: var(--fs-xs); letter-spacing: .07em; }
.quick-panel strong { font-size: var(--fs-sm); margin-top: .5rem; line-height: 1.4; }

@media (max-width: 1000px) {
  .quick-panel { grid-template-columns: repeat(3, 1fr); }
  .quick-panel div:nth-child(3n) { border-right: 0; }
  .quick-panel div:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .quick-panel { grid-template-columns: repeat(2, 1fr); }
  .quick-panel div:nth-child(3n) { border-right: 1px solid var(--line); }
  .quick-panel div:nth-child(2n) { border-right: 0; }
}

/* =============================================================
   PLATFORM PAGE — article body
   ============================================================= */
.content-section { padding-bottom: clamp(2.5rem, 4vw, 3.625rem); scroll-margin-top: calc(var(--header-h) + var(--subnav-h) + 20px); }
.content-section + .content-section { padding-top: clamp(2.5rem, 4vw, 3.625rem); }

.content-section > p,
.content-prose p {
  font-size: var(--fs-prose);
  line-height: var(--lh-prose);
  color: var(--ink-2);
  margin-top: 1.125rem;
}
.content-section > p:first-of-type { font-size: var(--fs-prose); color: var(--ink-2); }
.content-prose p:first-of-type { font-size: 1.1875rem; line-height: 1.68; color: var(--ink-2); }

.section-label { font-size: var(--fs-kicker); letter-spacing: .1em; margin-bottom: .75rem; }
.section-label::before { width: 22px; }

.feature-card h3 { font-size: var(--fs-h4); }
.feature-card p { font-size: var(--fs-sm); line-height: 1.62; margin-top: .4375rem; }
.feature-card > span { width: 42px; height: 42px; font-size: 1.125rem; }

.use-case-row { padding: 1.375rem .25rem; }
.use-case-row > span { font-size: var(--fs-xs); }
.use-case-row h3 { font-size: var(--fs-h4); }
.use-case-row p { font-size: var(--fs-sm); line-height: 1.6; }

.pricing-notice { font-size: var(--fs-sm); line-height: 1.55; padding: 1rem 1.125rem; }
.price-card h3 { font-size: 1.1875rem; }
.price-card .price { font-size: 2.25rem; }
.price-card .price small { font-size: var(--fs-sm); }
.price-card > span { font-size: var(--fs-xs); }
.price-card > p { font-size: var(--fs-sm); line-height: 1.6; min-height: 3.5rem; }
.price-limit { font-size: var(--fs-xs); line-height: 1.5; }
.price-card .button { min-height: 2.75rem; font-size: var(--fs-sm); }
.price-card .popular { font-size: var(--fs-xs); }

.limitations-box h2 { font-size: var(--fs-h2); }
.limitations-list li { font-size: var(--fs-sm); line-height: 1.6; padding: 1rem 0 1rem 1.375rem; }
.limitations-list li::before { top: 1.5rem; }

.audience-card h3 { font-size: var(--fs-h4); }
.audience-card p { font-size: var(--fs-sm); line-height: 1.6; }
.audience-card > span { font-size: var(--fs-xs); }
.alternative-note h3 { font-size: 1.1875rem; }
.alternative-note p { font-size: var(--fs-sm); line-height: 1.65; }

.pros-cons h3 { font-size: 1.0625rem; }
.pros-cons li { font-size: var(--fs-sm); line-height: 1.55; padding: .75rem 0 .75rem 1.25rem; }
.pros-cons li::before { top: 1.1875rem; }

.integration-card { font-size: var(--fs-sm); padding: .875rem 1rem; }
.alternative-card h3 { font-size: var(--fs-h4); }
.alternative-card p { font-size: var(--fs-sm); }

.related-list a { grid-template-columns: 118px 1fr auto; padding: 1.1875rem 0; }
.related-list a > span:first-child { font-size: var(--fs-xs); }
.related-list strong { font-size: var(--fs-body); line-height: 1.45; }

.conclusion-panel p { font-size: var(--fs-prose); line-height: 1.7; color: #CBD5E1; }
.conclusion-panel .verdict-line { font-size: var(--fs-sm); }

.sources-toggle strong { font-size: var(--fs-h4); }
.sources-content a { font-size: var(--fs-xs); padding: .5rem .75rem; }
.sources-content p { font-size: var(--fs-xs); line-height: 1.55; }

.faq-question { font-size: var(--fs-h4); padding-block: 1.25rem; }
.faq-answer { font-size: var(--fs-sm); line-height: 1.7; }

/* Sidebar */
.platform-sidebar { top: calc(var(--header-h) + var(--subnav-h) + 20px); }
.sidebar-title h2 { font-size: 1.1875rem; }
.sidebar-title span { font-size: var(--fs-xs); }
.sidebar-facts dt { font-size: var(--fs-xs); letter-spacing: .07em; }
.sidebar-facts dd { font-size: var(--fs-sm); }
.platform-sidebar .button { font-size: var(--fs-sm); min-height: 3rem; }
.sidebar-official { font-size: var(--fs-sm); }
.sidebar-verified { font-size: var(--fs-xs); }

/* TOC row above the article */
.article-toc { margin-bottom: 2.25rem; }
.article-toc a { font-size: var(--fs-xs); padding: .4375rem .6875rem; }

/* =============================================================
   PLATFORM PAGE — sticky subnav integration
   ============================================================= */
.subnav { top: var(--header-h); }
.subnav__inner { gap: 2px; }
.subnav__link { font-size: var(--fs-sm); padding: 7px 11px; }

/* The article TOC is redundant once the sticky subnav exists */
.platform-page .article-toc { display: none; }

@media (max-width: 900px) {
  .platform-content-wrap { grid-template-columns: 1fr; }
  .platform-sidebar { position: static; }
}

/* =============================================================
   MOBILE STICKY CTA
   ============================================================= */
@media (max-width: 900px) {
  .mobile-cta:not([hidden]) { display: flex; }
  body.has-mobile-cta { padding-bottom: 4.75rem; }
}
.platform-card.is-hidden { display: none; }
.filter-bar button.is-active,
.filter-bar button.active { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }

/* =============================================================
   SHARED — logo shells used by carried-over sections
   ============================================================= */
.logo-shell.logo-fallback::after { font-size: var(--fs-sm); }
/* =============================================================
   19  MOTION, REVEAL & REDUCED MOTION
   ============================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .float-card--top, .float-card--bottom { animation: none; }
}

/* -------------------------------------------------------------
   Category grid — column spans follow how many categories exist,
   so three or four categories lay out as deliberately as five.
   Row one is always a 50/50 pair.
   ------------------------------------------------------------- */
.category-grid { grid-auto-flow: dense; }

.category-grid .category-card,
.category-grid .category-featured,
.category-grid .category-wide { grid-column: span 2; }

.category-grid[data-count="1"] .category-card { grid-column: span 6; }

.category-grid[data-count="2"] .category-card { grid-column: span 3; min-height: 340px; }

.category-grid[data-count="3"] .category-card:nth-child(-n+2) { grid-column: span 3; min-height: 340px; }
.category-grid[data-count="3"] .category-card:nth-child(3)    { grid-column: span 6; min-height: 260px; }

.category-grid[data-count="4"] .category-card { grid-column: span 3; min-height: 320px; }

.category-grid[data-count="5"] .category-card:nth-child(-n+2) { grid-column: span 3; min-height: 360px; }
.category-grid[data-count="5"] .category-card:nth-child(n+3)  { grid-column: span 2; }

.category-grid[data-count="6"] .category-card { grid-column: span 2; }

/* The full-width card in a three-category grid reads better as a row */
.category-grid[data-count="3"] .category-card:nth-child(3) .category-tags { margin-top: auto; }

@media (max-width: 900px) {
  .category-grid,
  .category-grid[data-count] { grid-template-columns: 1fr; }
  .category-grid[data-count] .category-card { grid-column: span 1; min-height: 0; }
}

/* Platforms still awaiting a first verification date */
.updates-row time.is-pending {
  border-color: var(--line-2);
  background: var(--surface-2);
  color: var(--muted);
}
.updates-row time.is-pending::before { background: var(--muted-2); }

/* -------------------------------------------------------------
   Header alignment — logo left, navigation optically centred,
   actions right. A three column grid centres the nav against the
   page rather than against whatever the brand happens to be wide.
   ------------------------------------------------------------- */
.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.header__inner > .brand { justify-self: start; }
.header__inner > .nav { justify-self: center; margin-inline: 0; }
.header__inner > .header__actions { justify-self: end; }

@media (max-width: 1040px) {
  .header__inner { grid-template-columns: auto 1fr; }
  .header__inner > .nav { display: none; }
  .header__inner > .header__actions { justify-self: end; }
}

/* -------------------------------------------------------------
   Platform page inside the theme's content area.

   Kadence constrains its content column to a fixed width and
   derives it from a CSS variable. Our sections carry their own
   .container, so on this template that constraint has to be
   cleared at every level it is applied, including the variable.
   Without this the article column collapses and card text wraps
   one word per line.
   ------------------------------------------------------------- */
body.platform-page {
  --global-content-width: 100%;
  --content-width: 100%;
  --global-calc-content-width: 100%;
}

body.platform-page main,
body.platform-page #inner-wrap,
body.platform-page .site-container,
body.platform-page .content-container,
body.platform-page .content-area,
body.platform-page .site-main,
body.platform-page .content-wrap,
body.platform-page .entry-content-wrap,
body.platform-page .entry-content,
body.platform-page .single-entry,
body.platform-page article.entry,
body.platform-page .entry.content-bg {
  display: block;
  max-width: 100% !important;
  width: 100% !important;
  padding-inline: 0 !important;
  margin-inline: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.platform-page .entry-content > * { max-width: none; margin-block: 0; }

body.platform-page .entry-header,
body.platform-page .page-title,
body.platform-page .entry-title,
body.platform-page .page-hero-section,
body.platform-page .primary-sidebar,
body.platform-page .entry-meta,
body.platform-page .entry-footer { display: none; }

/* Grid children must be allowed to shrink, or a nested grid inherits a
   min-content floor and every column collapses to one word per line. */
.platform-content-wrap > *,
.feature-grid > *,
.use-case-rows > *,
.alternatives-grid > *,
.pricing-grid > *,
.audience-grid > *,
.integration-grid > *,
.related-list > *,
.pros-cons > * { min-width: 0; }

.feature-card > div,
.use-case-row > *,
.alternative-card > div,
.related-list a > * { min-width: 0; }

/* Real screenshot inside the browser frame */
.interface-window figure,
figure.interface-window { margin: 0; }
.interface-window img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
}

/* Limitations read better with the title emphasised inline */
.limitations-list li strong { display: block; margin-bottom: 3px; }

/* Integration cards render as links when a destination exists */
a.integration-card { transition: border-color .2s var(--ease), background .2s var(--ease); }
a.integration-card:hover { border-color: var(--blue-600); background: var(--blue-50); }
.integration-card .logo-shell { width: 26px; height: 26px; flex: none; }

/* =============================================================
   BUTTON SYSTEM — one definition for the whole site

   Two variants only. Both class families resolve to the same
   rules, so .btn and .button are interchangeable and nothing
   drifts between the header, the homepage and platform pages.

     primary    solid blue, white text
     secondary  transparent, bordered, dark text

   Sizes: default, --sm, --lg, --block.
   ============================================================= */
.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 2.875rem;
  padding: 0 1.375rem;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.005em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}

.btn--primary,
.button-primary {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn--primary:hover,
.button-primary:hover {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: #fff;
  box-shadow: 0 12px 24px -8px rgba(37, 99, 235, .45);
  transform: translateY(-1px);
}

.btn--secondary,
.btn--ghost,
.button-secondary {
  background: var(--surface);
  border-color: var(--line-2);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}
.btn--secondary:hover,
.btn--ghost:hover,
.button-secondary:hover {
  border-color: var(--blue-600);
  color: var(--blue-700);
  background: var(--blue-50);
  transform: translateY(-1px);
}

.btn:active,
.button:active { transform: translateY(0); }

.btn:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
}

.btn--sm,
.button-small { min-height: 2.375rem; padding: 0 1rem; font-size: var(--fs-xs); }
.btn--lg { min-height: 3.25rem; padding: 0 1.75rem; font-size: var(--fs-body); }
.btn--block { display: flex; width: 100%; }

/* Contextual sizing only. Colour and behaviour never change. */
.price-card .button,
.platform-sidebar .button { width: 100%; margin-top: 1rem; }
.platform-sidebar .button { min-height: 3rem; }


/* =============================================================
   PLATFORM CARDS — whole card clickable

   One stretched link rather than three separate links to the
   same page. Better for screen readers and avoids three
   identical internal links on every card.
   ============================================================= */
.platform-card { position: relative; }
.platform-card .stretched::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.platform-card .circle-link,
.platform-card .platform-card-foot > a { pointer-events: none; }
.platform-card:hover .circle-link { background: var(--blue-700); }
.platform-card:hover .platform-card-foot > a { color: var(--blue-700); }
.platform-card .card-badge { z-index: 2; }


/* =============================================================
   INTEGRATIONS — static badges, no links
   ============================================================= */
.integration-card {
  cursor: default;
  background: var(--surface);
  border-color: var(--line);
}
.integration-card:hover { border-color: var(--line); background: var(--surface); }
.integration-card .logo-shell { width: 24px; height: 24px; flex: none; }


/* =============================================================
   STICKY SIDEBAR — never taller than the viewport
   ============================================================= */
.platform-sidebar {
  max-height: calc(100vh - var(--header-h) - var(--subnav-h) - 2.5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.platform-sidebar::-webkit-scrollbar { width: 6px; }
.platform-sidebar::-webkit-scrollbar-thumb { border-radius: 3px; background: var(--line-2); }

@media (max-width: 900px) {
  .platform-sidebar { max-height: none; overflow: visible; }
}


/* =============================================================
   RECENTLY ADDED TABLE
   Four columns, no verification language. Scan and click.
   ============================================================= */
.recent-section .updates-table { box-shadow: var(--shadow-card); border-color: var(--border-card); }

.updates-row {
  grid-template-columns: 1.15fr .85fr 1.4fr .7fr 24px;
  min-height: 4.5rem;
}
.updates-row .recent-best { color: var(--muted); }
.updates-row .recent-price { font-weight: 700; color: var(--ink); }

.recent-foot {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

@media (max-width: 860px) {
  .updates-row { grid-template-columns: 1.3fr 1fr 20px; }
  .updates-row .recent-best,
  .updates-header .recent-best { display: none; }
}
@media (max-width: 560px) {
  .updates-row { grid-template-columns: 1fr auto 20px; }
  .updates-row > span:nth-child(2),
  .updates-header > span:nth-child(2) { display: none; }
}

/* Quick panel now carries five items, not six */
.quick-panel { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) {
  .quick-panel { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .quick-panel { grid-template-columns: repeat(2, 1fr); }
}

/* Static integration badges */
span.integration-card { display: inline-flex; }

/* =============================================================
   ARCHIVE — platform library and category hubs
   ============================================================= */
.archive-hero {
  padding: 2rem 0 clamp(2rem, 3vw, 2.75rem);
  background: linear-gradient(180deg, var(--blue-50), var(--bg) 78%);
  border-bottom: 1px solid var(--line);
}
.archive-hero h1 { font-size: clamp(2rem, 3.4vw, 2.875rem); margin-top: .375rem; }
.archive-hero__intro { max-width: 68ch; margin-top: .875rem; }
.archive-hero__intro p { font-size: var(--fs-lede); color: var(--muted); line-height: 1.6; }
.archive-hero .breadcrumbs { margin-bottom: 1.25rem; }

.archive-body { padding: clamp(2rem, 3vw, 2.75rem) 0 clamp(4rem, 6vw, 5.5rem); }

/* ---- Filter panel ---- */
.pfilters {
  padding: 1.25rem;
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.pfilters__search {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .75rem;
  padding-bottom: 1.125rem;
  border-bottom: 1px solid var(--line);
}
.pfilters__search .icon { color: var(--muted-2); }
.pfilters__search input {
  height: 3rem;
  border: 0;
  background: none;
  font: inherit;
  font-size: var(--fs-body);
  color: var(--ink);
}
.pfilters__search input:focus { outline: none; }
.pfilters__search input::placeholder { color: var(--muted-2); }

.pfilters__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .75rem;
  padding-top: 1.125rem;
  align-items: end;
}

.pfilter { display: grid; gap: .375rem; }
.pfilter > span {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
}
.pfilter select {
  width: 100%;
  height: 2.75rem;
  padding: 0 2rem 0 .875rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .625rem center;
  background-size: 16px;
  appearance: none;
  font: inherit;
  font-size: var(--fs-sm);
  color: var(--ink);
  cursor: pointer;
}
.pfilter select:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 1px; }
.pfilters__apply { height: 2.75rem; min-height: 2.75rem; }

.pfilters__active {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-top: 1.125rem;
  padding-top: 1.125rem;
  border-top: 1px solid var(--line);
}
.pfilters__active-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: .4375rem;
  padding: .375rem .6875rem;
  border: 1px solid var(--blue-100);
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-800);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-decoration: none;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.chip:hover { border-color: var(--blue-600); background: var(--blue-100); }
.chip span { font-size: 1rem; line-height: 1; opacity: .6; }
.pfilters__clear {
  margin-left: auto;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--muted);
  text-decoration: underline;
}
.pfilters__clear:hover { color: var(--blue-700); }

/* ---- Count + grid ---- */
.archive-count {
  margin: 1.75rem 0 1.25rem;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.archive-count strong { color: var(--ink); font-size: var(--fs-body); }
.archive-count span { color: var(--muted-2); }

.archive-page .platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 1040px) { .archive-page .platform-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px)  { .archive-page .platform-grid { grid-template-columns: 1fr; } }

/* ---- Empty state ---- */
.archive-empty {
  padding: clamp(3rem, 6vw, 4.5rem) 1.5rem;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-lg);
  background: var(--surface);
  text-align: center;
}
.archive-empty .icon { width: 40px; height: 40px; color: var(--muted-2); }
.archive-empty h2 { margin-top: 1rem; font-size: 1.375rem; }
.archive-empty p { margin: .5rem auto 1.5rem; max-width: 46ch; color: var(--muted); font-size: var(--fs-sm); }

/* ---- Pagination ---- */
.pagination { margin-top: 2.5rem; }
.pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .375rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 .75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  transition: border-color .18s var(--ease), color .18s var(--ease), background .18s var(--ease);
}
.pagination a:hover { border-color: var(--blue-600); color: var(--blue-700); background: var(--blue-50); }
.pagination .current {
  border-color: var(--blue-600);
  background: var(--blue-600);
  color: #fff;
}
.pagination .dots { border-color: transparent; background: none; }

/* ---- Hub extras ---- */
.archive-reading { padding-block: clamp(3rem, 5vw, 4.5rem); background: var(--surface); border-top: 1px solid var(--line); }
.archive-editorial { padding-block: clamp(3rem, 5vw, 4.5rem); }
.archive-editorial .content-prose { max-width: 72ch; }
.archive-faqs { padding-block: 0 clamp(4rem, 6vw, 5.5rem); }
.archive-faqs .faq-list { max-width: 78ch; margin-top: 1.5rem; }

@media (max-width: 720px) {
  .pfilters__search { grid-template-columns: auto 1fr; }
  .pfilters__search .button { grid-column: 1 / -1; width: 100%; }
  .pfilters__clear { margin-left: 0; }
}

/* =============================================================
   EDITORIAL — single article, blog archive, search, 404
   ============================================================= */

/* ---- Article hero ---- */
.article-hero { padding: 2rem 0 1.75rem; }
.article-hero .breadcrumbs { margin-bottom: 1.25rem; }
.article-hero h1 {
  max-width: 22ch;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.12;
  margin-top: .375rem;
}
.article-lede {
  max-width: 62ch;
  margin-top: 1rem;
  font-size: var(--fs-lede);
  line-height: 1.6;
  color: var(--muted);
}
.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .625rem;
  margin-top: 1.5rem;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.article-meta-row b { color: var(--muted-2); }
.article-meta-row .avatar {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: var(--fs-xs);
  font-weight: 800;
}

.article-figure { margin: 0 0 clamp(2rem, 4vw, 3rem); }
.article-figure img {
  width: 100%;
  height: clamp(240px, 34vw, 440px);
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}

/* ---- Three column reading layout ---- */
.article-wrap {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 280px;
  align-items: start;
  gap: 3rem;
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
}
.article-wrap > .article-body { grid-column: 2; }

.article-toc-rail {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  grid-column: 1;
}
.article-toc-rail nav { display: grid; gap: 2px; margin-top: .625rem; }
.article-toc-rail .subnav__link {
  display: block;
  padding: .4375rem .625rem;
  border-left: 2px solid var(--line);
  border-radius: 0 var(--r-xs) var(--r-xs) 0;
  font-size: var(--fs-xs);
  line-height: 1.4;
  color: var(--muted);
}
.article-toc-rail .subnav__link:hover,
.article-toc-rail .subnav__link.is-active {
  border-left-color: var(--blue-600);
  background: var(--blue-50);
  color: var(--blue-700);
  font-weight: 600;
}

.article-body { max-width: 72ch; }
.article-body h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.5rem, 2.2vw, 1.875rem);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.article-body h3 { margin-top: 1.75rem; font-size: 1.1875rem; }
.article-body p { margin-top: 1.125rem; font-size: var(--fs-prose); line-height: var(--lh-prose); color: var(--ink-2); }
.article-body ul,
.article-body ol { margin: 1.125rem 0 0 1.25rem; }
.article-body li { margin-top: .5rem; font-size: var(--fs-prose); line-height: 1.65; color: var(--ink-2); }
.article-body img { max-width: 100%; height: auto; border-radius: var(--r-md); }
.article-body a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 2px; }
.article-body blockquote {
  margin: 1.75rem 0;
  padding: 1rem 1.375rem;
  border-left: 3px solid var(--blue-600);
  background: var(--blue-50);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.article-body blockquote p { margin: 0; color: var(--ink); }
.article-body .affiliate-note { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }

/* ---- Right rail ---- */
.article-rail {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  grid-column: 3;
  display: grid;
  gap: 1rem;
}
.rail-card {
  padding: 1.125rem;
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.rail-card--quiet { background: var(--surface-2); box-shadow: none; }
.rail-card .label { margin-bottom: .75rem; }

.rail-platform {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 14px;
  align-items: center;
  gap: .75rem;
  padding: .625rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.rail-platform:first-of-type { border-top: 0; }
.rail-platform strong { display: block; font-size: var(--fs-sm); }
.rail-platform em { display: block; font-style: normal; font-size: var(--fs-xs); color: var(--muted); }
.rail-platform b { color: var(--muted-2); }
.rail-platform:hover strong { color: var(--blue-700); }
.rail-platform:hover b { color: var(--blue-600); }

.rail-links { margin: 0; padding: 0; list-style: none; }
.rail-links li { padding: .5rem 0; border-top: 1px solid var(--line); }
.rail-links li:first-child { border-top: 0; }
.rail-links a { font-size: var(--fs-sm); line-height: 1.45; color: var(--ink-2); }
.rail-links a:hover { color: var(--blue-700); }
.rail-empty { font-size: var(--fs-sm); color: var(--muted); }

.article-related { padding-block: clamp(3rem, 5vw, 4.5rem); background: var(--surface); border-top: 1px solid var(--line); }

@media (max-width: 1180px) {
  .article-wrap { grid-template-columns: minmax(0, 1fr) 280px; }
  .article-toc-rail { display: none; }
  .article-wrap > .article-body { grid-column: 1; }
  .article-rail { grid-column: 2; }
}
@media (max-width: 900px) {
  .article-wrap { grid-template-columns: 1fr; gap: 2.25rem; }
  .article-rail { position: static; grid-column: 1; }
}

/* ---- Blog archive ---- */
.topic-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.chip.is-active { border-color: var(--blue-600); background: var(--blue-600); color: #fff; }

.guide-grid--archive { grid-template-columns: repeat(3, 1fr); }
.guide-card--lead { grid-column: span 3; }
.guide-card--lead { display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; }
.guide-card--lead .guide-card__media { height: 100%; min-height: 300px; }
.guide-card--lead .guide-card__body { padding: clamp(1.5rem, 3vw, 2.25rem); align-self: center; }
.guide-card--lead .guide-card__title { font-size: clamp(1.375rem, 2.2vw, 1.75rem); }

@media (max-width: 1040px) {
  .guide-grid--archive { grid-template-columns: repeat(2, 1fr); }
  .guide-card--lead { grid-column: span 2; }
}
@media (max-width: 720px) {
  .guide-grid--archive { grid-template-columns: 1fr; }
  .guide-card--lead { grid-column: span 1; grid-template-columns: 1fr; }
  .guide-card--lead .guide-card__media { min-height: 200px; }
}

/* ---- Search results ---- */
.pfilters--search { max-width: 640px; margin-top: 1.75rem; }
.pfilters--search .pfilters__search { padding-bottom: 0; border-bottom: 0; }

.search-results-list {
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.sresult-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto 16px;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.sresult-row:first-child { border-top: 0; }
.sresult-row:hover { background: var(--blue-50); }
.sresult-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--muted);
}
.sresult-kind {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue-700);
}
.sresult-text strong { display: block; margin-top: .125rem; font-size: var(--fs-body); }
.sresult-desc { display: block; margin-top: .1875rem; font-size: var(--fs-sm); color: var(--muted); }
.sresult-price { font-size: var(--fs-sm); font-weight: 700; white-space: nowrap; }
.sresult-row b { color: var(--muted-2); }

@media (max-width: 620px) {
  .sresult-row { grid-template-columns: 36px minmax(0, 1fr) 14px; }
  .sresult-price { display: none; }
}

/* ---- 404 ---- */
.error-page .archive-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.error-page .label { margin-bottom: .5rem; }
