/* opt-one:base-reset */

/* Default styles for all elements */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Form controls don't inherit fonts by default — the browser's own stylesheet
   sets them (Chrome computes Arial). Inherit so they follow the site font. */
button, input, optgroup, select, textarea {
  font: inherit;
}

p {
  margin-top: 0;
  margin-bottom: 1em;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
}

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

picture {
  display: block;
}

/* ---------- Site header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(243 243 239 / 0.94);
  border-bottom: 1px solid var(--color-border);
}

@supports (backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px)) {
  .site-header {
    background: rgb(243 243 239 / 0.8);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}

.site-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-3) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text);
  text-decoration: none;
}

.site-logo-mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  flex: none;
}

.site-logo-pixel {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
}

.site-logo-text {
  font-weight: 600;
  font-size: var(--text-lg);
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  gap: var(--space-5);
  margin-right: auto;
}

.site-nav-link {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
}

.site-nav-link:hover {
  color: var(--color-text);
}

.site-header-cta {
  padding: 9px 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--color-dark-raised), var(--color-dark));
  box-shadow: var(--shadow-button);
  color: var(--color-on-dark);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
}

.site-header-cta:hover {
  background: var(--color-dark);
}

/* ---------- Shared bits ---------- */

.cms-mark {
  flex: none;
  display: block;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text-subtle);
  font-size: var(--text-xs);
}

.cms-mark-lg {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-lg);
  font-size: var(--text-3xl);
}

/* Logo shape from the CMS Platforms "Logo shape" field; empty or Square keeps the rounded square */
.cms-mark[data-shape="Circle"] {
  border-radius: 50%;
}

.dir-section-title {
  margin: 0 0 var(--space-1);
  font-size: var(--text-2xl);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  font-size: var(--text-sm);
}

.breadcrumb-link {
  color: var(--color-text-muted);
  text-decoration: none;
}

.breadcrumb-link:hover {
  color: var(--color-dark);
}

.breadcrumb-sep {
  color: var(--color-text-subtle);
}

.breadcrumb-current {
  color: var(--color-text);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.platform-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.platform-card[data-featured="true"],
.platform-card[data-featured=""] {
  border-color: var(--color-accent);
}

.platform-card-top {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.platform-card-heading {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.platform-card-name {
  font-weight: 500;
  font-size: var(--text-lg);
  letter-spacing: -0.01em;
}

.platform-card-category {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
}

.platform-card-score {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-gold-soft);
  font-weight: 700;
  font-size: var(--text-sm);
}

.platform-card-star {
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--color-gold);
}

.platform-card-badge {
  display: none;
  align-self: flex-start;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-on-dark);
  font-size: var(--text-xs);
  font-weight: 600;
}

.platform-card[data-featured="true"] .platform-card-badge,
.platform-card[data-featured=""] .platform-card-badge {
  display: inline-flex;
}

.platform-card-tagline {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.platform-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.platform-card-pricing {
	min-width: 0px;
	flex: 1 1 0%;
}

.platform-card-hosting {
	font-weight: 600;
}

/* ---------- Comparison article ---------- */

.article-hero {
  padding: var(--space-8) var(--space-5);
  background-color: var(--color-bg);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center top;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.article-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
}

.article-icon {
  flex: none;
  width: 24px;
  height: 24px;
}

.article-usecase,
.article-type {
  padding: 4px 12px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 500;
}

.article-title {
  max-width: 860px;
  margin: 0 auto var(--space-4);
  font-size: var(--text-4xl);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.article-lead {
  max-width: 640px;
  margin: 0 auto var(--space-5);
  font-size: var(--text-xl);
  line-height: 1.45;
  color: var(--color-text-muted);
}

.article-updated {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
}

.article-updated-date {
  color: var(--color-text-muted);
}

.article-layout {
  max-width: calc(var(--container) + var(--space-5) * 2);
  margin: 0 auto;
  padding: var(--space-8) var(--space-5);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: var(--space-7);
  align-items: start;
}

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

.verdict {
  margin-bottom: var(--space-7);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.verdict-label {
  margin: 0 0 var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-text-subtle);
}

.verdict-text {
  margin: 0 0 var(--space-4);
  font-size: var(--text-lg);
  line-height: 1.6;
}

.verdict-pick {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0;
  padding: 6px 6px 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  font-size: var(--text-sm);
}

.verdict-pick-label {
  color: var(--color-text-muted);
}

.verdict-pick-name {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-on-dark);
  font-weight: 700;
}

.ranking {
  margin-bottom: var(--space-7);
}

.ranking-title {
  margin: 0 0 var(--space-5);
  font-size: var(--text-2xl);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.ranking-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: rank;
  display: grid;
  gap: var(--space-3);
}

.ranking-item {
  counter-increment: rank;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: 0;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.ranking-item:first-child {
  border-color: var(--color-accent);
}

.ranking-number {
  flex: none;
  width: 36px;
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-text-subtle);
  letter-spacing: -0.03em;
}

.ranking-number::before {
  content: "#" counter(rank);
}

.ranking-item:first-child .ranking-number {
  color: var(--color-accent);
}

.ranking-body {
  flex: 1;
  min-width: 0;
}

.ranking-name {
  font-size: var(--text-lg);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-text);
  text-decoration: none;
}

.ranking-name:hover {
  color: var(--color-dark);
  text-decoration: underline;
}

.ranking-tagline {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.ranking-bestfor {
  margin: var(--space-1) 0 0;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.ranking-bestfor-label {
  font-weight: 600;
  color: var(--color-text);
}

.ranking-side {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-2);
}

.ranking-score {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-gold-soft);
  font-weight: 700;
  font-size: var(--text-sm);
}

.ranking-star {
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--color-gold);
}

.ranking-cta {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
}

.ranking-name-text {
  color: inherit;
}

.ranking-badge {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-accent-strong);
}

.ranking-badge:empty {
  display: none;
}

.ranking-score-max {
  font-weight: 400;
  color: var(--color-text-muted);
}

.ranking-score-max::before {
  content: "/ ";
}

/* Reviews replace the old ranking; the old list shows only when a comparison has no reviews yet */
.ranking:has(.ranking-list-reviews .ranking-item) .ranking-legacy {
  display: none;
}

/* ---------- Comparison: how we scored ---------- */

.method-box {
  margin-bottom: var(--space-7);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.method-box:has(.method-box-body:empty) {
  display: none;
}

.method-box-title {
  margin: 0 0 var(--space-3);
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.method-box-body {
  font-size: var(--text-md);
}

/* ---------- Comparison: reviews ---------- */

.review-list {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-7);
}

.review {
  scroll-margin-top: 96px;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.review-head {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.review-rank {
  flex: none;
  min-width: 40px;
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  line-height: 1.2;
  color: var(--color-accent);
  letter-spacing: -0.03em;
}

.review-rank::before {
  content: "#";
}

.review-logo {
  flex: none;
  width: 56px;
  height: 56px;
}

.review-heading {
  flex: 1;
  min-width: 0;
}

.review-badge {
  display: inline-block;
  margin-bottom: var(--space-2);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-accent-soft);
  color: var(--color-accent-strong);
  font-size: var(--text-xs);
  font-weight: 600;
}

.review-badge:empty {
  display: none;
}

.review-title {
  margin: 0;
  font-size: var(--text-xl);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.review-platform {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-1) 0 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.review-platform-name {
  font-weight: 600;
  color: var(--color-text);
}

.review-platform-tagline:empty {
  display: none;
}

.review-platform-tagline::before {
  content: "\00B7";
  margin-right: var(--space-2);
}

.review-score {
  flex: none;
  display: flex;
  align-items: baseline;
  gap: 2px;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  background: var(--color-gold-soft);
}

.review-score-value {
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.review-score-max {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.review-score-max::before {
  content: "/ ";
}

.review-author {
  display: none;
}

.review-summary {
  margin: 0 0 var(--space-5);
  font-size: var(--text-lg);
  line-height: 1.6;
}

.review-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin: 0 0 var(--space-5);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.review-fact {
  min-width: 0;
}

.review-fact:has(.review-fact-value:empty),
.review-fact:has(.review-fact-date:empty) {
  display: none;
}

.review-fact-label {
  margin: 0 0 2px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-text-subtle);
}

.review-fact-value {
  margin: 0;
  font-size: var(--text-sm);
}

.review-scores {
  margin-bottom: var(--space-5);
}

.review-scores:not(:has(.review-criterion-score:not(:empty))) {
  display: none;
}

.review-scores-title,
.review-pros-title,
.review-cons-title,
.profile-pros-title,
.profile-cons-title {
  margin: 0 0 var(--space-3);
  font-size: var(--text-sm);
  font-weight: 700;
}

.review-criteria {
  display: grid;
  gap: var(--space-2);
  margin: 0;
}

.review-criterion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: var(--space-4);
}

.review-criterion:has(.review-criterion-name:empty) {
  display: none;
}

.review-criterion-label {
  font-size: var(--text-sm);
}

.review-criterion-weight {
  margin-left: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
}

.review-criterion-weight:empty {
  display: none;
}

.review-criterion-weight::after {
  content: "%";
}

.review-criterion-value {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0;
}

.review-meter {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  min-width: 0;
  height: 8px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-surface-strong);
}

.review-meter::-webkit-meter-bar {
  height: 8px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-surface-strong);
}

.review-meter::-webkit-meter-optimum-value,
.review-meter::-webkit-meter-suboptimum-value,
.review-meter::-webkit-meter-even-less-good-value {
  border-radius: var(--radius-pill);
  background: var(--color-accent);
}

.review-meter::-moz-meter-bar {
  border-radius: var(--radius-pill);
  background: var(--color-accent);
}

.review-criterion-score {
  flex: none;
  min-width: 2.5em;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  text-align: right;
}

.review-proscons,
.profile-proscons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.review-pros,
.review-cons,
.profile-pros,
.profile-cons {
  padding: var(--space-4);
  border-radius: var(--radius-md);
}

.review-pros,
.profile-pros {
  background: var(--color-success-soft);
}

.review-cons,
.profile-cons {
  background: var(--color-gold-soft);
}

.review-pros:has(.review-pros-body:empty),
.review-cons:has(.review-cons-body:empty),
.profile-pros:has(.profile-pros-body:empty),
.profile-cons:has(.profile-cons-body:empty) {
  display: none;
}

.review-pros-title,
.profile-pros-title {
  color: var(--color-success);
}

.review-cons-title,
.profile-cons-title {
  color: var(--color-text);
}

.review-pros-body,
.review-cons-body,
.profile-pros-body,
.profile-cons-body {
  font-size: var(--text-sm);
  line-height: 1.6;
}

.review-pros-body > ul,
.review-cons-body > ul,
.profile-pros-body > ul,
.profile-cons-body > ul {
  margin: 0;
}

.review-pros-body > ul > li:last-child,
.review-cons-body > ul > li:last-child,
.profile-pros-body > ul > li:last-child,
.profile-cons-body > ul > li:last-child {
  margin-bottom: 0;
}

.review-body {
  margin-bottom: var(--space-4);
}

.review-body > :last-child {
  margin-bottom: 0;
}

.review-cta {
  display: inline-flex;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
}

.review-cta:hover {
  text-decoration: underline;
}

/* ---------- Comparison: FAQ ---------- */

.faq {
  margin-top: var(--space-7);
}

.faq:has(.faq-body:empty) {
  display: none;
}

.faq-title {
  margin: 0 0 var(--space-3);
  font-size: var(--text-2xl);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.faq-body > h3:first-child {
  margin-top: 0;
}

.article-aside {
  position: sticky;
  top: 88px;
  display: grid;
  gap: var(--space-5);
}

.aside-card {
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.aside-card-title {
  margin: 0 0 var(--space-3);
  font-size: var(--text-lg);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.aside-empty {
  margin: 0;
  color: var(--color-text-muted);
}

.aside-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-1);
}

.aside-item {
  margin: 0;
}

.aside-link {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-2);
  margin: 0 calc(var(--space-2) * -1);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: var(--text-sm);
  text-decoration: none;
}

.aside-link:hover {
  background: var(--color-bg);
  color: var(--color-dark);
}

.aside-link-icon {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

/* Article and profile prose (from the CMS content field) */

.rich-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text);
}

.rich-text h2 {
  margin: var(--space-7) 0 var(--space-3);
  font-size: var(--text-2xl);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.rich-text h3 {
  margin: var(--space-5) 0 var(--space-2);
  font-size: var(--text-lg);
  font-weight: 700;
}

.rich-text p {
  margin: 0 0 var(--space-4);
}

.rich-text ul,
.rich-text ol {
  margin: 0 0 var(--space-4);
  padding-left: 1.3em;
}

.rich-text li {
  margin-bottom: var(--space-2);
}

.rich-text a {
  color: var(--color-accent);
}

.rich-text strong {
  font-weight: 700;
}

.rich-text code {
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  background: var(--color-surface-strong);
  font-family: var(--font-mono);
  font-size: 0.85em;
}

.rich-text em {
  color: var(--color-text-muted);
}

.rich-text table {
  width: 100%;
  margin: 0 0 var(--space-5);
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: var(--text-sm);
}

.rich-text th,
.rich-text td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.rich-text th:first-child,
.rich-text td:first-child {
  text-align: left;
  font-weight: 600;
}

.rich-text thead th {
  background: var(--color-surface);
  font-weight: 700;
}

.rich-text tbody tr:last-child td {
  border-bottom: 0;
}

.rich-text tbody tr:nth-child(even) td {
  background: rgb(243 243 239 / 0.6);
}

.article-body > h2:first-child,
.profile-body > h2:first-child {
  margin-top: 0;
}

/* ---------- CMS profile ---------- */

.profile-hero {
  padding: var(--space-8) var(--space-5);
  background-color: var(--color-bg);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center top;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.profile-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}

.breadcrumb-center {
  justify-content: center;
}

.profile-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.profile-logo {
  box-shadow: var(--shadow-md);
}

.profile-head-body {
  min-width: 0;
}

.profile-title {
  margin: 0 0 var(--space-3);
  font-size: var(--text-4xl);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.profile-tagline {
  max-width: 600px;
  margin: 0 auto var(--space-4);
  font-size: var(--text-xl);
  line-height: 1.45;
  color: var(--color-text-muted);
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin: 0;
}

.profile-tag-list {
  display: contents;
}

.profile-tag {
  padding: 4px 12px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 500;
}

.profile-actions {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-2) var(--space-4);
}

.profile-score {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
  margin: 0;
}

.profile-score-value {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.profile-score-max {
  font-size: var(--text-md);
  color: var(--color-text-subtle);
}

.profile-score-label {
  margin: 0 var(--space-3) 0 0;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
}

.profile-visit {
  padding: 12px 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--color-dark-raised), var(--color-dark));
  box-shadow: var(--shadow-button);
  color: var(--color-on-dark);
  font-weight: 500;
  font-size: var(--text-sm);
  text-decoration: none;
}

.profile-visit:hover {
  background: var(--color-dark);
}

.profile-compare {
  position: relative;
}

.profile-compare-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 11px 20px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  color: var(--color-text);
  font-weight: 500;
  font-size: var(--text-sm);
  cursor: pointer;
  list-style: none;
}

.profile-compare-button::-webkit-details-marker {
  display: none;
}

.profile-compare-button:hover {
  background: var(--color-surface-strong);
}

.profile-compare-button:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

.profile-compare-menu {
  position: absolute;
  top: calc(100% + var(--space-2));
  right: 0;
  z-index: 10;
  width: max-content;
  min-width: 240px;
  max-width: min(360px, calc(100vw - 2 * var(--space-5)));
  margin: 0;
  padding: var(--space-2);
  list-style: none;
  text-align: left;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.profile-compare-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
}

.profile-compare-logo-wrap {
  flex: none;
  display: block;
}

.profile-compare-link:hover {
  background: var(--color-surface-strong);
  color: var(--color-dark);
}

.profile-compare-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-compare-name {
  min-width: 0;
}

.profile-layout {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-7) var(--space-5) var(--space-8);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--space-7);
  align-items: start;
}

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

.profile-summary {
  margin: 0 0 var(--space-6);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-xl);
  line-height: 1.5;
}

.profile-section {
  margin-bottom: var(--space-6);
}

.profile-section:has(.profile-body:empty),
.profile-notes:has(.profile-notes-body:empty) {
  display: none;
}

.profile-section-title {
  margin: 0 0 var(--space-3);
  font-size: var(--text-2xl);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.profile-body > :last-child,
.profile-notes-body > :last-child {
  margin-bottom: 0;
}

.profile-notes-body {
  font-size: var(--text-md);
  color: var(--color-text-muted);
}

.profile-aside {
  position: sticky;
  top: 88px;
  display: grid;
  gap: var(--space-5);
}

.facts {
  margin: 0;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.facts-row {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
}

.facts-row:has(.facts-value:empty) {
  display: none;
}

.facts-row:last-child {
  border-bottom: 0;
}

.facts-term {
  margin: 0 0 2px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-text-subtle);
}

.facts-value {
  margin: 0;
  font-size: var(--text-sm);
}

.profile-alts {
  padding: var(--space-8) var(--space-5);
  background: var(--color-surface);
}

.profile-alts-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: var(--space-5);
}

/* Pricing: plan cards on the platform profile */

.profile-pricing {
  padding: var(--space-8) var(--space-5);
  border-top: 1px solid var(--color-border);
  scroll-margin-top: 64px;
}

.profile-pricing:has(.plan-grid:empty) {
  display: none;
}

.profile-pricing-inner {
  max-width: var(--container);
  margin: 0 auto;
}

/* Columns follow the number of plans: 2 and 3 fill the row, 5 sit in one row, 6 split 3 + 3 */

.plan-grid {
  --plan-columns: 3;
  display: grid;
  grid-template-columns: repeat(var(--plan-columns), minmax(0, 1fr));
  gap: var(--space-4);
}

.plan-grid:has(> .plan-card:nth-child(2):last-child) {
  --plan-columns: 2;
}

/* A single plan: one wide card, details beside each other */

.plan-card:only-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  align-content: start;
  column-gap: var(--space-7);
}

.plan-card:only-child > * {
  grid-column: 1;
}

.plan-card:only-child > .plan-card-includes {
  grid-column: 2;
  grid-row: 1 / span 4;
}

.plan-card:only-child > .plan-card-extras {
  grid-column: 3;
  grid-row: 1 / span 4;
  align-self: start;
  margin-top: 0;
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.plan-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.plan-card-name {
  min-width: 0;
  margin: 0;
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.plan-card-charge {
  flex: none;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-accent-soft);
  color: var(--color-accent-strong);
  font-size: var(--text-xs);
  font-weight: 600;
}

.plan-card-charge:empty {
  display: none;
}

.plan-card[data-charge="Free"] .plan-card-charge {
  background: var(--color-success-soft);
  color: var(--color-success);
}

.plan-card[data-charge="Custom quote"] .plan-card-charge {
  background: var(--color-dark);
  color: var(--color-on-dark);
}

.plan-card[data-charge="Usage-based"] .plan-card-charge {
  background: var(--color-gold-soft);
  color: var(--color-text);
}

.plan-card-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-1) var(--space-2);
  margin: var(--space-1) 0 0;
}

.plan-card-amount {
  font-size: var(--text-3xl);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}

.plan-card-unit {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.plan-card-unit:empty,
.plan-card-billing:empty,
.plan-card-audience:empty {
  display: none;
}

.plan-card-billing {
  margin: calc(var(--space-2) * -1) 0 0;
  color: var(--color-text-subtle);
  font-size: var(--text-xs);
}

.plan-card-audience {
  margin: 0;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 500;
}

.plan-card-includes {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.plan-card-includes ul {
  margin: 0;
}

.plan-card-includes li {
  margin-bottom: var(--space-1);
}

.plan-card-includes > :last-child,
.plan-card-includes li:last-child {
  margin-bottom: 0;
}

.plan-card-extras {
  margin-top: auto;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-gold-soft);
}

.plan-card-extras:has(.plan-card-extras-body:empty) {
  display: none;
}

.plan-card-extras-title {
  margin: 0 0 2px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.plan-card-extras-body {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.5;
}

.plan-source-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-1) var(--space-2);
  margin: var(--space-4) 0 0;
  color: var(--color-text-subtle);
  font-size: var(--text-xs);
}

.plan-checked-label,
.plan-checked-date,
.plan-source-sep {
  color: var(--color-text-subtle);
}

.plan-checked-date:empty,
.plan-checked-date:empty ~ .plan-source-sep,
.plan-checked-label:has(+ .plan-checked-date:empty),
.plan-source-sep:has(+ .plan-source:not([href])) {
  display: none;
}

.plan-source {
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.plan-source:hover {
  color: var(--color-text);
}

.plan-source:not([href]),
.plan-source[href=""] {
  display: none;
}

/* Features: platform profile cards and the feature page's availability groups */

.profile-features:has(.feature-grid:empty) {
  display: none;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.feature-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.feature-card-name {
  min-width: 0;
  font-weight: 500;
  font-size: var(--text-md);
  letter-spacing: -0.01em;
}

.feature-card-note {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.feature-card-note:empty {
  display: none;
}

.feature-tier {
  flex: none;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-surface-strong);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: 600;
}

/* Availability colours: Free, Included, Tiered, Enterprise */

.feature-card[data-tier="Free"] .feature-tier,
.tier-group[data-tier="Free"] .feature-tier {
  background: var(--color-success-soft);
  color: var(--color-success);
}

.feature-card[data-tier="Included"] .feature-tier,
.tier-group[data-tier="Included"] .feature-tier {
  background: var(--color-accent-soft);
  color: var(--color-accent-strong);
}

.feature-card[data-tier="Tiered"] .feature-tier,
.tier-group[data-tier="Tiered"] .feature-tier {
  background: var(--color-gold-soft);
  color: var(--color-text);
}

.feature-card[data-tier="Enterprise"] .feature-tier,
.tier-group[data-tier="Enterprise"] .feature-tier {
  background: var(--color-dark);
  color: var(--color-on-dark);
}

.tier-group {
  margin-bottom: var(--space-6);
}

.tier-group:has(.tier-list:empty) {
  display: none;
}

.tier-group-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.tier-group-note {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.tier-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-3);
}

.tier-item {
  margin: 0;
}

.tier-link {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.tier-link-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.tier-link-name {
  font-weight: 600;
}

.tier-link-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.feature-guide {
  margin-top: var(--space-6);
}

.feature-guide:empty {
  display: none;
}

/* ---------- Site footer ---------- */

.site-footer {
  background: var(--color-dark);
  color: var(--color-on-dark-muted);
  border-top: 1px solid rgb(255 255 255 / 0.08);
}

.site-footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-8) var(--space-5) var(--space-6);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-7);
}

.site-logo-footer {
  color: var(--color-on-dark);
  margin-bottom: var(--space-3);
}

.site-footer-blurb {
  max-width: 340px;
  margin: 0;
  font-size: var(--text-sm);
}

.site-footer-heading {
  margin: 0 0 var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-on-dark);
}

.site-footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-2);
}

.site-footer-item {
  margin: 0;
}

.site-footer-link {
  color: var(--color-on-dark-muted);
  font-size: var(--text-sm);
  text-decoration: none;
}

.site-footer-link:hover {
  color: var(--color-on-dark);
}

.site-footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-5);
  border-top: 1px solid rgb(255 255 255 / 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3) var(--space-5);
}

.site-footer-legal {
  margin: 0;
  font-size: var(--text-xs);
  color: rgb(201 201 194 / 0.75);
}

.site-footer-notes {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-6) var(--space-5);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  border-top: 1px solid rgb(255 255 255 / 0.08);
}

.site-footer-note {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
}

.site-footer-note-link {
  color: var(--color-on-dark);
  font-size: var(--text-sm);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer-note-link:hover {
  color: var(--color-on-dark-muted);
}

.site-footer-copy {
  margin: 0;
  font-size: var(--text-xs);
  color: rgb(201 201 194 / 0.75);
}

.site-footer-copy-link {
	color: var(--color-on-dark-muted);
	font-size: var(--text-xs);
}

.site-footer-copy-link:hover {
  color: var(--color-on-dark);
}

.site-footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* ---------- Legal page ---------- */

.legal-body {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: var(--space-8) var(--space-5);
}

.legal-body > .rich-text:first-child > h2:first-child {
  margin-top: 0;
}

.legal-code {
  margin: 0 0 var(--space-4);
  padding: var(--space-4);
  overflow-x: auto;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* ---------- 404 ---------- */

.page-404 {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: Arial, sans-serif;
  color: #111827;
  padding: 24px;
}

.page-404-code {
  font-size: 96px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.04em;
  color: #000000;
}

.page-404-title {
  font-size: 28px;
  margin: 8px 0 12px;
  letter-spacing: -0.02em;
}

.page-404-message {
  font-size: 18px;
  color: #6b7280;
  margin: 0 0 28px;
}

.page-404-link {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 12px;
  background: #000000;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

/* ---------- Head-to-head comparison ---------- */

.vs-hero {
  padding: var(--space-8) var(--space-5) var(--space-8);
  background-color: var(--color-bg);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center top;
  text-align: center;
}

.vs-hero-inner {
  max-width: 960px;
  margin: 0 auto;
}

.vs-breadcrumb {
  justify-content: center;
}

.vs-title {
  margin: 0 0 var(--space-4);
  font-size: var(--text-4xl);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.vs-title-name {
  color: var(--color-text);
}

.vs-title-sep {
  color: var(--color-text-subtle);
  font-family: var(--font-mono);
  font-size: 0.5em;
  letter-spacing: 0;
  vertical-align: middle;
}

.vs-lead {
  max-width: 560px;
  margin: 0 auto var(--space-7);
  color: var(--color-text-muted);
  font-size: var(--text-lg);
}

.vs-duel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: var(--space-5);
}

.vs-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  height: 100%;
  padding: var(--space-6) var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.vs-head-logo {
  margin: 0 auto;
}

.vs-head-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  flex: 1;
}

.vs-head-name {
  margin: 0;
  font-size: var(--text-2xl);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.vs-head-tagline {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.vs-head-score {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
  margin: auto 0 0;
  padding-top: var(--space-2);
}

.vs-head-score-value {
  font-size: var(--text-3xl);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.vs-head-score-max {
  color: var(--color-text-subtle);
  font-size: var(--text-sm);
}

.vs-head-link {
  color: var(--color-accent);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
}

.vs-head-link:hover {
  color: var(--color-dark);
  text-decoration: underline;
}

.vs-duel-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	box-shadow: none;
	color: var(--color-on-dark);
	font-family: var(--font-mono);
	font-size: var(--text-md);
}

.vs-body {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-7) var(--space-5) var(--space-9);
}

.vs-jump {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.vs-jump-link {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
}

.vs-jump-link:hover {
  border-color: var(--color-dark);
  color: var(--color-dark);
}

.vs-block {
  margin-top: var(--space-8);
  scroll-margin-top: 80px;
}

.vs-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin: 0 0 var(--space-4);
  padding: 0;
  list-style: none;
}

.vs-legend-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.vs-legend-text {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* Availability colours, as on the profile feature cards */
.vs-legend-item[data-tier="Free"] .vs-tier,
.vs-fx-value[data-tier="Free"] .vs-tier {
  background: var(--color-success-soft);
  color: var(--color-success);
}

.vs-legend-item[data-tier="Included"] .vs-tier,
.vs-fx-value[data-tier="Included"] .vs-tier {
  background: var(--color-accent-soft);
  color: var(--color-accent-strong);
}

.vs-legend-item[data-tier="Tiered"] .vs-tier,
.vs-fx-value[data-tier="Tiered"] .vs-tier {
  background: var(--color-gold-soft);
  color: var(--color-text);
}

.vs-legend-item[data-tier="Enterprise"] .vs-tier,
.vs-fx-value[data-tier="Enterprise"] .vs-tier {
  background: var(--color-dark);
  color: var(--color-on-dark);
}

.vs-tier {
  display: inline-block;
}

/* At a glance: same card, sticky head and row lines as the feature table
   (.vs-fx), with fixed rows instead of CMS lists */
/* Each row is a real element on the card's columns (subgrid), so the line
   sits on the row and the last row drops it */
.vs-glance-row {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  border-bottom: 1px solid var(--color-border);
}

.vs-glance-row:last-child {
  border-bottom: 0;
}

.vs-glance-label {
  grid-column: 1;
  font-weight: 500;
}

.vs-cell-value {
  display: block;
}

/* An empty profile field reads as the same grey pill as a missing feature */
.vs-cell-value:empty::before {
  content: "Not listed";
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-surface-strong);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: 600;
}

.vs-cell-sub {
  display: block;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

.vs-cell-sub:empty {
  display: none;
}

.vs-note {
  margin: var(--space-4) 0 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.vs-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.vs-split-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.vs-split-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
}

.vs-split-name {
  min-width: 0;
  overflow-wrap: anywhere;
  margin: 0;
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.vs-plans {
  margin: 0;
  padding: 0;
  list-style: none;
}

.vs-plan {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--color-border);
}

.vs-plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.vs-plan-name {
  font-weight: 500;
}

.vs-plan-charge {
  flex: none;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-surface-strong);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: 600;
}

.vs-plan[data-charge="Free"] .vs-plan-charge {
  background: var(--color-success-soft);
  color: var(--color-success);
}

.vs-plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2);
}

.vs-plan-amount {
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.vs-plan-unit,
.vs-plan-audience {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.vs-plan-charge:empty,
.vs-plan-unit:empty,
.vs-plan-audience:empty {
  display: none;
}

.vs-split-empty {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* Feature table on comparison pages. Both platforms' entries share one grid and
   each lands in its feature's row (Features > Order). Every entry also drops a
   "Not listed" cell in the other column; the real entry sits above it (z-index),
   so the placeholder only shows when the other platform has no entry. Rows with
   no entries collapse to nothing. */
.vs-fx {
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  font-size: var(--text-sm);
}

.vs-fx-head,
.vs-fx-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
}

/* Sticks just under the site header (65px) while the table scrolls past */
.vs-fx-head {
  position: sticky;
  top: 64px;
  z-index: 5;
  align-items: center;
  padding: var(--space-5) var(--space-5) var(--space-4);
  border-bottom: 1px solid var(--color-border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--color-surface);
}

.vs-fx-head-label {
  color: var(--color-text-muted);
  font-weight: 500;
}

.vs-fx-head-platform {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
  padding-left: var(--space-4);
}

.vs-fx-head-name {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.vs-fx-grid {
  padding: 0 var(--space-5) var(--space-3);
}

/* Feature table: its rows are two lists' entries sharing a grid row, so there
   is no row element to style. A strip after the last row covers that row's
   line, the way each group heading covers the line of the row above it. */
.vs-fx-grid::after {
  content: "";
  grid-column: 1 / -1;
  grid-row: 211;
  height: 1px;
  margin-top: -1px;
  background: var(--color-surface);
  z-index: 3;
}

.vs-glance-grid::after {
  content: none;
}

.vs-fx-source,
.vs-fx-list,
.vs-fx-item {
  display: contents;
}

.vs-fx-list {
  list-style: none;
}

.vs-fx-group {
  grid-column: 1 / -1;
  z-index: 3;
  margin-top: -1px;
  padding: var(--space-6) 0 var(--space-2);
  border-bottom: 1px solid var(--color-text);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.vs-fx-cell {
  min-width: 0;
  overflow-wrap: anywhere;
  padding: var(--space-3) 0;
  background: var(--color-surface);
}

.vs-fx-item > .vs-fx-cell {
  border-bottom: 1px solid var(--color-border);
}

.vs-fx-item .vs-fx-cell:not([data-row]),
.vs-fx-item .vs-fx-cell[data-row=""],
.vs-fx-group:not([data-group]),
.vs-fx-group[data-group=""] {
  display: none;
}

.vs-fx-label {
  grid-column: 1;
  z-index: 1;
  color: var(--color-text);
  font-weight: 500;
  text-decoration: none;
}

.vs-fx-label:hover {
  color: var(--color-dark);
  text-decoration: underline;
}

.vs-fx-col-a {
  grid-column: 2;
}

.vs-fx-col-b {
  grid-column: 3;
}

.vs-fx-value {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-1);
  z-index: 2;
  padding-left: var(--space-4);
}

.vs-fx-missing {
  display: flex;
  align-items: flex-start;
  z-index: 1;
  padding-left: var(--space-4);
}

.vs-fx-missing-pill {
  display: inline-block;
}

.vs-fx-note {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

.vs-fx-note:empty {
  display: none;
}

.vs-fx-empty {
  margin-top: var(--space-4);
}

/* Group heading rows: the first number of each group's block of 30 */
.vs-fx-group[data-group="Editing"] { grid-row: 1; }
.vs-fx-group[data-group="Content and API"] { grid-row: 31; }
.vs-fx-group[data-group="Workflow and governance"] { grid-row: 61; }
.vs-fx-group[data-group="AI"] { grid-row: 91; }
.vs-fx-group[data-group="Hosting and delivery"] { grid-row: 121; }
.vs-fx-group[data-group="Extensibility"] { grid-row: 151; }
.vs-fx-group[data-group="Marketing and commerce"] { grid-row: 181; }

/* Feature rows: a feature's Order number is its row */
.vs-fx-cell[data-row="2"] { grid-row: 2; }
.vs-fx-cell[data-row="3"] { grid-row: 3; }
.vs-fx-cell[data-row="4"] { grid-row: 4; }
.vs-fx-cell[data-row="5"] { grid-row: 5; }
.vs-fx-cell[data-row="6"] { grid-row: 6; }
.vs-fx-cell[data-row="7"] { grid-row: 7; }
.vs-fx-cell[data-row="8"] { grid-row: 8; }
.vs-fx-cell[data-row="9"] { grid-row: 9; }
.vs-fx-cell[data-row="10"] { grid-row: 10; }
.vs-fx-cell[data-row="11"] { grid-row: 11; }
.vs-fx-cell[data-row="12"] { grid-row: 12; }
.vs-fx-cell[data-row="13"] { grid-row: 13; }
.vs-fx-cell[data-row="14"] { grid-row: 14; }
.vs-fx-cell[data-row="15"] { grid-row: 15; }
.vs-fx-cell[data-row="16"] { grid-row: 16; }
.vs-fx-cell[data-row="17"] { grid-row: 17; }
.vs-fx-cell[data-row="18"] { grid-row: 18; }
.vs-fx-cell[data-row="19"] { grid-row: 19; }
.vs-fx-cell[data-row="20"] { grid-row: 20; }
.vs-fx-cell[data-row="21"] { grid-row: 21; }
.vs-fx-cell[data-row="22"] { grid-row: 22; }
.vs-fx-cell[data-row="23"] { grid-row: 23; }
.vs-fx-cell[data-row="24"] { grid-row: 24; }
.vs-fx-cell[data-row="25"] { grid-row: 25; }
.vs-fx-cell[data-row="26"] { grid-row: 26; }
.vs-fx-cell[data-row="27"] { grid-row: 27; }
.vs-fx-cell[data-row="28"] { grid-row: 28; }
.vs-fx-cell[data-row="29"] { grid-row: 29; }
.vs-fx-cell[data-row="30"] { grid-row: 30; }
.vs-fx-cell[data-row="32"] { grid-row: 32; }
.vs-fx-cell[data-row="33"] { grid-row: 33; }
.vs-fx-cell[data-row="34"] { grid-row: 34; }
.vs-fx-cell[data-row="35"] { grid-row: 35; }
.vs-fx-cell[data-row="36"] { grid-row: 36; }
.vs-fx-cell[data-row="37"] { grid-row: 37; }
.vs-fx-cell[data-row="38"] { grid-row: 38; }
.vs-fx-cell[data-row="39"] { grid-row: 39; }
.vs-fx-cell[data-row="40"] { grid-row: 40; }
.vs-fx-cell[data-row="41"] { grid-row: 41; }
.vs-fx-cell[data-row="42"] { grid-row: 42; }
.vs-fx-cell[data-row="43"] { grid-row: 43; }
.vs-fx-cell[data-row="44"] { grid-row: 44; }
.vs-fx-cell[data-row="45"] { grid-row: 45; }
.vs-fx-cell[data-row="46"] { grid-row: 46; }
.vs-fx-cell[data-row="47"] { grid-row: 47; }
.vs-fx-cell[data-row="48"] { grid-row: 48; }
.vs-fx-cell[data-row="49"] { grid-row: 49; }
.vs-fx-cell[data-row="50"] { grid-row: 50; }
.vs-fx-cell[data-row="51"] { grid-row: 51; }
.vs-fx-cell[data-row="52"] { grid-row: 52; }
.vs-fx-cell[data-row="53"] { grid-row: 53; }
.vs-fx-cell[data-row="54"] { grid-row: 54; }
.vs-fx-cell[data-row="55"] { grid-row: 55; }
.vs-fx-cell[data-row="56"] { grid-row: 56; }
.vs-fx-cell[data-row="57"] { grid-row: 57; }
.vs-fx-cell[data-row="58"] { grid-row: 58; }
.vs-fx-cell[data-row="59"] { grid-row: 59; }
.vs-fx-cell[data-row="60"] { grid-row: 60; }
.vs-fx-cell[data-row="62"] { grid-row: 62; }
.vs-fx-cell[data-row="63"] { grid-row: 63; }
.vs-fx-cell[data-row="64"] { grid-row: 64; }
.vs-fx-cell[data-row="65"] { grid-row: 65; }
.vs-fx-cell[data-row="66"] { grid-row: 66; }
.vs-fx-cell[data-row="67"] { grid-row: 67; }
.vs-fx-cell[data-row="68"] { grid-row: 68; }
.vs-fx-cell[data-row="69"] { grid-row: 69; }
.vs-fx-cell[data-row="70"] { grid-row: 70; }
.vs-fx-cell[data-row="71"] { grid-row: 71; }
.vs-fx-cell[data-row="72"] { grid-row: 72; }
.vs-fx-cell[data-row="73"] { grid-row: 73; }
.vs-fx-cell[data-row="74"] { grid-row: 74; }
.vs-fx-cell[data-row="75"] { grid-row: 75; }
.vs-fx-cell[data-row="76"] { grid-row: 76; }
.vs-fx-cell[data-row="77"] { grid-row: 77; }
.vs-fx-cell[data-row="78"] { grid-row: 78; }
.vs-fx-cell[data-row="79"] { grid-row: 79; }
.vs-fx-cell[data-row="80"] { grid-row: 80; }
.vs-fx-cell[data-row="81"] { grid-row: 81; }
.vs-fx-cell[data-row="82"] { grid-row: 82; }
.vs-fx-cell[data-row="83"] { grid-row: 83; }
.vs-fx-cell[data-row="84"] { grid-row: 84; }
.vs-fx-cell[data-row="85"] { grid-row: 85; }
.vs-fx-cell[data-row="86"] { grid-row: 86; }
.vs-fx-cell[data-row="87"] { grid-row: 87; }
.vs-fx-cell[data-row="88"] { grid-row: 88; }
.vs-fx-cell[data-row="89"] { grid-row: 89; }
.vs-fx-cell[data-row="90"] { grid-row: 90; }
.vs-fx-cell[data-row="92"] { grid-row: 92; }
.vs-fx-cell[data-row="93"] { grid-row: 93; }
.vs-fx-cell[data-row="94"] { grid-row: 94; }
.vs-fx-cell[data-row="95"] { grid-row: 95; }
.vs-fx-cell[data-row="96"] { grid-row: 96; }
.vs-fx-cell[data-row="97"] { grid-row: 97; }
.vs-fx-cell[data-row="98"] { grid-row: 98; }
.vs-fx-cell[data-row="99"] { grid-row: 99; }
.vs-fx-cell[data-row="100"] { grid-row: 100; }
.vs-fx-cell[data-row="101"] { grid-row: 101; }
.vs-fx-cell[data-row="102"] { grid-row: 102; }
.vs-fx-cell[data-row="103"] { grid-row: 103; }
.vs-fx-cell[data-row="104"] { grid-row: 104; }
.vs-fx-cell[data-row="105"] { grid-row: 105; }
.vs-fx-cell[data-row="106"] { grid-row: 106; }
.vs-fx-cell[data-row="107"] { grid-row: 107; }
.vs-fx-cell[data-row="108"] { grid-row: 108; }
.vs-fx-cell[data-row="109"] { grid-row: 109; }
.vs-fx-cell[data-row="110"] { grid-row: 110; }
.vs-fx-cell[data-row="111"] { grid-row: 111; }
.vs-fx-cell[data-row="112"] { grid-row: 112; }
.vs-fx-cell[data-row="113"] { grid-row: 113; }
.vs-fx-cell[data-row="114"] { grid-row: 114; }
.vs-fx-cell[data-row="115"] { grid-row: 115; }
.vs-fx-cell[data-row="116"] { grid-row: 116; }
.vs-fx-cell[data-row="117"] { grid-row: 117; }
.vs-fx-cell[data-row="118"] { grid-row: 118; }
.vs-fx-cell[data-row="119"] { grid-row: 119; }
.vs-fx-cell[data-row="120"] { grid-row: 120; }
.vs-fx-cell[data-row="122"] { grid-row: 122; }
.vs-fx-cell[data-row="123"] { grid-row: 123; }
.vs-fx-cell[data-row="124"] { grid-row: 124; }
.vs-fx-cell[data-row="125"] { grid-row: 125; }
.vs-fx-cell[data-row="126"] { grid-row: 126; }
.vs-fx-cell[data-row="127"] { grid-row: 127; }
.vs-fx-cell[data-row="128"] { grid-row: 128; }
.vs-fx-cell[data-row="129"] { grid-row: 129; }
.vs-fx-cell[data-row="130"] { grid-row: 130; }
.vs-fx-cell[data-row="131"] { grid-row: 131; }
.vs-fx-cell[data-row="132"] { grid-row: 132; }
.vs-fx-cell[data-row="133"] { grid-row: 133; }
.vs-fx-cell[data-row="134"] { grid-row: 134; }
.vs-fx-cell[data-row="135"] { grid-row: 135; }
.vs-fx-cell[data-row="136"] { grid-row: 136; }
.vs-fx-cell[data-row="137"] { grid-row: 137; }
.vs-fx-cell[data-row="138"] { grid-row: 138; }
.vs-fx-cell[data-row="139"] { grid-row: 139; }
.vs-fx-cell[data-row="140"] { grid-row: 140; }
.vs-fx-cell[data-row="141"] { grid-row: 141; }
.vs-fx-cell[data-row="142"] { grid-row: 142; }
.vs-fx-cell[data-row="143"] { grid-row: 143; }
.vs-fx-cell[data-row="144"] { grid-row: 144; }
.vs-fx-cell[data-row="145"] { grid-row: 145; }
.vs-fx-cell[data-row="146"] { grid-row: 146; }
.vs-fx-cell[data-row="147"] { grid-row: 147; }
.vs-fx-cell[data-row="148"] { grid-row: 148; }
.vs-fx-cell[data-row="149"] { grid-row: 149; }
.vs-fx-cell[data-row="150"] { grid-row: 150; }
.vs-fx-cell[data-row="152"] { grid-row: 152; }
.vs-fx-cell[data-row="153"] { grid-row: 153; }
.vs-fx-cell[data-row="154"] { grid-row: 154; }
.vs-fx-cell[data-row="155"] { grid-row: 155; }
.vs-fx-cell[data-row="156"] { grid-row: 156; }
.vs-fx-cell[data-row="157"] { grid-row: 157; }
.vs-fx-cell[data-row="158"] { grid-row: 158; }
.vs-fx-cell[data-row="159"] { grid-row: 159; }
.vs-fx-cell[data-row="160"] { grid-row: 160; }
.vs-fx-cell[data-row="161"] { grid-row: 161; }
.vs-fx-cell[data-row="162"] { grid-row: 162; }
.vs-fx-cell[data-row="163"] { grid-row: 163; }
.vs-fx-cell[data-row="164"] { grid-row: 164; }
.vs-fx-cell[data-row="165"] { grid-row: 165; }
.vs-fx-cell[data-row="166"] { grid-row: 166; }
.vs-fx-cell[data-row="167"] { grid-row: 167; }
.vs-fx-cell[data-row="168"] { grid-row: 168; }
.vs-fx-cell[data-row="169"] { grid-row: 169; }
.vs-fx-cell[data-row="170"] { grid-row: 170; }
.vs-fx-cell[data-row="171"] { grid-row: 171; }
.vs-fx-cell[data-row="172"] { grid-row: 172; }
.vs-fx-cell[data-row="173"] { grid-row: 173; }
.vs-fx-cell[data-row="174"] { grid-row: 174; }
.vs-fx-cell[data-row="175"] { grid-row: 175; }
.vs-fx-cell[data-row="176"] { grid-row: 176; }
.vs-fx-cell[data-row="177"] { grid-row: 177; }
.vs-fx-cell[data-row="178"] { grid-row: 178; }
.vs-fx-cell[data-row="179"] { grid-row: 179; }
.vs-fx-cell[data-row="180"] { grid-row: 180; }
.vs-fx-cell[data-row="182"] { grid-row: 182; }
.vs-fx-cell[data-row="183"] { grid-row: 183; }
.vs-fx-cell[data-row="184"] { grid-row: 184; }
.vs-fx-cell[data-row="185"] { grid-row: 185; }
.vs-fx-cell[data-row="186"] { grid-row: 186; }
.vs-fx-cell[data-row="187"] { grid-row: 187; }
.vs-fx-cell[data-row="188"] { grid-row: 188; }
.vs-fx-cell[data-row="189"] { grid-row: 189; }
.vs-fx-cell[data-row="190"] { grid-row: 190; }
.vs-fx-cell[data-row="191"] { grid-row: 191; }
.vs-fx-cell[data-row="192"] { grid-row: 192; }
.vs-fx-cell[data-row="193"] { grid-row: 193; }
.vs-fx-cell[data-row="194"] { grid-row: 194; }
.vs-fx-cell[data-row="195"] { grid-row: 195; }
.vs-fx-cell[data-row="196"] { grid-row: 196; }
.vs-fx-cell[data-row="197"] { grid-row: 197; }
.vs-fx-cell[data-row="198"] { grid-row: 198; }
.vs-fx-cell[data-row="199"] { grid-row: 199; }
.vs-fx-cell[data-row="200"] { grid-row: 200; }
.vs-fx-cell[data-row="201"] { grid-row: 201; }
.vs-fx-cell[data-row="202"] { grid-row: 202; }
.vs-fx-cell[data-row="203"] { grid-row: 203; }
.vs-fx-cell[data-row="204"] { grid-row: 204; }
.vs-fx-cell[data-row="205"] { grid-row: 205; }
.vs-fx-cell[data-row="206"] { grid-row: 206; }
.vs-fx-cell[data-row="207"] { grid-row: 207; }
.vs-fx-cell[data-row="208"] { grid-row: 208; }
.vs-fx-cell[data-row="209"] { grid-row: 209; }
.vs-fx-cell[data-row="210"] { grid-row: 210; }

.vs-split-foot {
  margin: auto 0 0;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

.vs-split-sep {
  color: var(--color-text-subtle);
}

.vs-split-link {
  color: var(--color-accent);
}

.vs-pros,
.vs-cons {
  margin: 0;
}

.vs-disclaimer {
  margin-top: var(--space-7);
}

.vs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.vs-grid-item {
  display: flex;
}

.vs-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  text-decoration: none;
  transition: border-color var(--transition-default), box-shadow var(--transition-default);
}

.vs-card:hover {
  border-color: var(--color-dark);
  box-shadow: var(--shadow-md);
}

.vs-card-marks {
  display: flex;
}

.vs-card-mark {
  box-shadow: 0 0 0 3px var(--color-surface);
}

.vs-card-marks > picture + picture {
  margin-left: -10px;
}

.vs-card-title {
  font-size: var(--text-lg);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.vs-card-sep {
  color: var(--color-text-subtle);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 400;
}

.vs-card-scores {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.vs-index {
  padding: var(--space-8) var(--space-5) var(--space-9);
}

.vs-index-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.vs-index-lead {
  margin-bottom: 0;
}

/* Two-step platform picker in the Compare hero */
.vs-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
  align-items: end;
  gap: var(--space-3);
  max-width: 860px;
  margin: var(--space-6) auto 0;
  text-align: left;
}

.vs-picker-field {
  min-width: 0;
}

.vs-picker-label {
  display: block;
  margin: 0 0 var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.vs-combo {
  position: relative;
}

.vs-combo-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  color: var(--color-text-subtle);
  pointer-events: none;
}

.vs-combo-input {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 var(--space-4) 0 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  font: inherit;
  font-size: var(--text-md);
  color: var(--color-text);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--transition-default), box-shadow var(--transition-default);
}

.vs-combo-input::placeholder {
  color: var(--color-text-subtle);
  opacity: 1;
}

.vs-combo-input:focus {
  outline: 0;
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md), var(--shadow-focus);
}

.vs-combo-input:disabled {
  background: var(--color-bg);
  box-shadow: none;
  cursor: not-allowed;
}

.vs-combo-list {
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 320px;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: var(--space-2);
  list-style: none;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 60px rgb(58 58 56 / 0.16), var(--shadow-md);
}

.vs-combo-list[hidden] {
  display: none;
}

.vs-combo-option {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2);
  border-radius: var(--radius-md);
  cursor: pointer;
}

.vs-combo-option.is-active {
  background: var(--color-surface-strong);
}

.vs-combo-option-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vs-combo-option-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.vs-combo-option-name {
  overflow: hidden;
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-text);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.vs-combo-option-sub {
  font-size: var(--text-xs);
  line-height: 1.4;
  color: var(--color-text-muted);
}

.vs-combo-empty {
  padding: var(--space-3) var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.vs-picker-sep {
  display: flex;
  align-items: center;
  height: 52px;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-text-subtle);
}

.vs-picker-button {
  height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--color-dark-raised), var(--color-dark));
  box-shadow: var(--shadow-button);
  color: var(--color-on-dark);
  font: inherit;
  font-weight: 500;
  font-size: var(--text-md);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.vs-picker-button:hover {
  background: var(--color-dark);
}

.vs-picker-button:disabled {
  background: var(--color-dark);
  opacity: 0.4;
  cursor: not-allowed;
}

.vs-picker-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Tablet ---------- */

picture img {
	display: block;
}

.cms-mark-sm {
	width: 34px;
	height: 34px;
	border-radius: var(--radius-sm);
	font-size: var(--text-sm);
}

.dir-section-head {
	margin-bottom: var(--space-5);
}

.dir-section-note {
	margin: 0;
	color: var(--color-text-muted);
	font-size: var(--text-md);
}

.dir-hero {
	padding: var(--space-9) var(--space-5) var(--space-8);
	background-color: var(--color-bg);
	background-image:
	linear-gradient(var(--grid-line) 1px, transparent 1px),
	linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
	background-size: 80px 80px;
	background-position: center top;
	text-align: center;
}

.dir-hero-inner {
	max-width: 860px;
	margin: 0 auto;
}

.dir-hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	margin: 0 0 var(--space-5);
	font-family: var(--font-mono);
	font-size: var(--text-sm);
	font-weight: 400;
	color: var(--color-text-subtle);
}

.dir-hero-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--color-success);
	box-shadow: 0 0 0 4px var(--color-success-soft);
}

.dir-hero-title {
	margin: 0 0 var(--space-5);
	font-size: var(--text-5xl);
	line-height: 1.04;
	font-weight: 400;
	letter-spacing: -0.045em;
}

.dir-hero-lead {
	max-width: 600px;
	margin: 0 auto var(--space-7);
	font-size: var(--text-xl);
	line-height: 1.45;
	color: var(--color-text-muted);
}

.dir-hero-lead-tight {
	margin-bottom: var(--space-4);
}

.dir-search {
	position: relative;
	display: flex;
	align-items: center;
	max-width: 640px;
	margin: 0 auto;
	padding: 6px 6px 6px 52px;
	border-radius: var(--radius-lg);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-sm);
}

.dir-search:focus-within {
	border-color: var(--color-accent);
	box-shadow: var(--shadow-md), var(--shadow-focus);
}

.dir-search-label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.dir-search-icon {
	position: absolute;
	left: 20px;
	top: 50%;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	color: var(--color-text-subtle);
}

.dir-search-input {
	flex: 1;
	min-width: 0;
	padding: 12px 0;
	border: 0;
	outline: 0;
	background: transparent;
	font-size: var(--text-md);
	color: var(--color-text);
	-webkit-appearance: none;
	appearance: none;
}

.dir-search-input::-webkit-search-decoration, .dir-search-input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.dir-search-button {
	flex: none;
	padding: 12px 22px;
	border: 0;
	border-radius: var(--radius-md);
	background: linear-gradient(180deg, var(--color-dark-raised), var(--color-dark));
	box-shadow: var(--shadow-button);
	color: var(--color-on-dark);
	font-weight: 500;
	font-size: var(--text-md);
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.dir-search-button:hover {
	background: var(--color-dark);
}

/* Search popover under the home search field */
.dir-search-wrap {
	position: relative;
	z-index: 20;
	max-width: 640px;
	margin: 0 auto var(--space-6);
}

.search-pop {
	position: absolute;
	top: calc(100% + var(--space-2));
	left: 50%;
	width: min(880px, calc(100vw - var(--space-5) * 2));
	max-height: 70vh;
	max-height: min(70svh, 640px);
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: var(--space-5);
	border-radius: var(--radius-lg);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	box-shadow: 0 24px 60px rgb(58 58 56 / 0.16), var(--shadow-md);
	text-align: left;
	transform: translateX(-50%);
}

.search-pop[hidden],
.search-pop-group[hidden],
.search-pop-item[hidden],
.search-pop-none[hidden] {
	display: none;
}

.search-pop-results {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-5) var(--space-6);
}

.search-pop-group {
	min-width: 0;
}

.search-pop-group-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--space-3);
	margin: 0 0 var(--space-2);
	padding: 0 var(--space-2);
}

.search-pop-heading {
	margin: 0;
	font-family: var(--font-mono);
	font-size: var(--text-xs);
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-text-subtle);
}

.search-pop-all {
	font-size: var(--text-xs);
	color: var(--color-accent);
	text-decoration: none;
}

.search-pop-list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.search-pop-link {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	min-width: 0;
	padding: var(--space-2);
	border-radius: var(--radius-md);
	color: inherit;
	text-decoration: none;
}

.search-pop-link.is-active {
	background: var(--color-surface-strong);
}

.search-pop-link:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: -2px;
}

.search-pop-icon {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: var(--radius-sm);
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	color: var(--color-accent);
}

.search-pop-icon-img {
	display: block;
	width: 18px;
	height: 18px;
}

.search-pop-icon-svg {
	display: block;
	width: 16px;
	height: 16px;
}

.search-pop-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.search-pop-name {
	overflow: hidden;
	font-size: var(--text-sm);
	font-weight: 500;
	line-height: 1.35;
	color: var(--color-text);
	white-space: nowrap;
	text-overflow: ellipsis;
}

.search-pop-sub {
	overflow: hidden;
	font-size: var(--text-xs);
	line-height: 1.4;
	color: var(--color-text-muted);
	white-space: nowrap;
	text-overflow: ellipsis;
}

.search-pop-mark {
	padding: 0 1px;
	border-radius: 3px;
	background: var(--color-gold-soft);
	color: inherit;
}

.search-pop-none {
	margin: 0;
	padding: var(--space-5) var(--space-2);
	font-size: var(--text-sm);
	text-align: center;
	color: var(--color-text-muted);
}

.search-pop-none-query {
	font-weight: 500;
	color: var(--color-text);
}

.search-pop-foot {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2) var(--space-5);
	margin: var(--space-5) 0 0;
	padding: var(--space-4) var(--space-2) 0;
	border-top: 1px solid var(--color-border);
	font-size: var(--text-xs);
	color: var(--color-text-subtle);
}

.search-pop-hint {
	display: inline-flex;
	align-items: center;
	gap: var(--space-1);
}

.search-pop-key {
	padding: 1px 6px;
	border: 1px solid var(--color-border);
	border-radius: 4px;
	background: var(--color-bg);
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--color-text-muted);
}

.search-pop-hint-text {
	margin-left: 2px;
}

.search-pop-status {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.dir-chips-label {
	margin: 0 0 var(--space-3);
	font-family: var(--font-mono);
	font-size: var(--text-xs);
	font-weight: 400;
	color: var(--color-text-subtle);
}

.dir-chips-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.dir-chips-item {
	margin: 0;
}

.dir-chip {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	padding: 8px 14px;
	border-radius: var(--radius-md);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	color: var(--color-text);
	font-size: var(--text-sm);
	font-weight: 500;
	text-decoration: none;
	transition: border-color 0.15s, background-color 0.15s;
}

.dir-chip:hover {
	border-color: var(--color-text-subtle);
	background: #ffffff;
}

.dir-chip-emoji {
	font-size: var(--text-md);
	line-height: 1;
}

.dir-main {
	padding: var(--space-8) var(--space-5);
	border-top: 1px solid var(--color-border);
	scroll-margin-top: 64px;
}

.dir-main-inner {
	max-width: var(--container);
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: var(--space-7);
	align-items: start;
}

.compare-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: var(--space-3);
}

.compare-row {
	margin: 0;
}

.compare-row-link {
	display: flex;
	align-items: center;
	gap: var(--space-4);
	padding: var(--space-4) var(--space-5);
	border-radius: var(--radius-lg);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	color: var(--color-text);
	text-decoration: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.compare-row-link:hover {
	border-color: var(--color-text-subtle);
	box-shadow: var(--shadow-md);
}

.compare-row-icon {
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	border-radius: var(--radius-md);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--color-border);
	background-color: rgb(242, 242, 237);
}

.compare-row-body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-1);
}

.compare-row-title {
	font-weight: 500;
	font-size: var(--text-lg);
	letter-spacing: -0.01em;
}

.compare-row-excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	color: var(--color-text-muted);
	font-size: var(--text-sm);
}

.compare-row-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-2);
	margin-top: var(--space-1);
}

.compare-row-tag {
	padding: 2px 10px;
	border-radius: var(--radius-pill);
	background: var(--color-accent-soft);
	color: var(--color-accent-strong);
	font-size: var(--text-xs);
	font-weight: 600;
}

.compare-row-type {
	padding: 2px 10px;
	border-radius: var(--radius-pill);
	background: var(--color-surface);
	color: var(--color-text-muted);
	font-size: var(--text-xs);
	font-weight: 500;
}

.compare-row-winner {
	font-size: var(--text-xs);
	color: var(--color-text-muted);
}

.compare-row-winner-label {
	color: var(--color-text-subtle);
}

.compare-row-winner-name {
	font-weight: 600;
	color: var(--color-text);
}

.compare-row-date {
	flex: none;
	font-family: var(--font-mono);
	font-size: var(--text-xs);
	color: var(--color-text-subtle);
}

.compare-row-arrow {
	flex: none;
	width: 20px;
	height: 20px;
	color: var(--color-text-subtle);
}

.dir-empty {
	margin: var(--space-4) 0 0;
	padding: var(--space-5);
	border-radius: var(--radius-lg);
	background: var(--color-surface);
	color: var(--color-text-muted);
	text-align: center;
}

.feature-filter {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 240px;
	gap: var(--space-4);
	margin-bottom: var(--space-4);
}

.feature-filter-field {
	display: grid;
	gap: var(--space-2);
	min-width: 0;
}

.feature-filter-label {
	font-size: var(--text-sm);
	font-weight: 500;
	color: var(--color-text-muted);
}

.feature-filter-input,
.feature-filter-select {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	background-color: var(--color-surface);
	font-family: inherit;
	font-size: var(--text-md);
	color: var(--color-text);
	-webkit-appearance: none;
	appearance: none;
}

.feature-filter-select {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22%23666666%22%3E%3Cpath%20d%3D%22M213.66%2C101.66l-80%2C80a8%2C8%2C0%2C0%2C1-11.32%2C0l-80-80A8%2C8%2C0%2C0%2C1%2C53.66%2C90.34L128%2C164.69l74.34-74.35a8%2C8%2C0%2C0%2C1%2C11.32%2C11.32Z%22%2F%3E%3C%2Fsvg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 18px;
}

.feature-filter-input::-webkit-search-decoration,
.feature-filter-input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.feature-filter-input:focus-visible,
.feature-filter-select:focus-visible {
	outline: 0;
	border-color: var(--color-accent);
	box-shadow: var(--shadow-focus);
}

.feature-count {
	margin: 0 0 var(--space-4);
	font-family: var(--font-mono);
	font-size: var(--text-xs);
	color: var(--color-text-subtle);
}

.dir-side {
	position: sticky;
	top: 88px;
	display: grid;
	gap: var(--space-5);
}

.leaderboard {
	padding: var(--space-5);
	border-radius: var(--radius-lg);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
}

.leaderboard-head {
	margin-bottom: var(--space-3);
}

.leaderboard-title {
	margin: 0;
	font-size: var(--text-lg);
	font-weight: 500;
	letter-spacing: -0.01em;
}

.leaderboard-note {
	margin: 0;
	font-size: var(--text-sm);
	color: var(--color-text-muted);
}

.leaderboard-list {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: rank;
}

.leaderboard-item {
	margin: 0;
	counter-increment: rank;
}

.leaderboard-link {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	padding: var(--space-2);
	margin: 0 calc(var(--space-2) * -1);
	border-radius: var(--radius-md);
	color: var(--color-text);
	text-decoration: none;
}

.leaderboard-link:hover {
	background: var(--color-bg);
}

.leaderboard-rank {
	flex: none;
	width: 18px;
	font-family: var(--font-mono);
	font-size: var(--text-sm);
	font-weight: 400;
	color: var(--color-text-subtle);
	text-align: center;
}

.leaderboard-rank::before {
	content: counter(rank);
}

.leaderboard-item:nth-child(-n+3) .leaderboard-rank {
	color: var(--color-gold);
}

.leaderboard-body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.leaderboard-name {
	font-weight: 600;
	font-size: var(--text-sm);
}

.leaderboard-category {
	font-size: var(--text-xs);
	color: var(--color-text-subtle);
}

.leaderboard-score {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: var(--space-1);
	font-weight: 700;
	font-size: var(--text-sm);
}

.leaderboard-star {
	width: 14px;
	height: 14px;
	color: var(--color-gold);
}

.side-card {
	padding: var(--space-5);
	border-radius: var(--radius-lg);
	border: 1px dashed var(--color-border);
}

.side-card-title {
	margin: 0 0 var(--space-1);
	font-weight: 500;
}

.side-card-text {
	margin: 0 0 var(--space-3);
	font-size: var(--text-sm);
	color: var(--color-text-muted);
}

.side-card-link {
	font-size: var(--text-sm);
	font-weight: 600;
	color: var(--color-accent);
	text-decoration: none;
}

.dir-platforms {
	padding: var(--space-8) var(--space-5);
	background: var(--color-surface-strong);
	scroll-margin-top: 64px;
}

.dir-platforms-inner {
	max-width: var(--container);
	margin: 0 auto;
}

.dir-method {
	padding: var(--space-9) var(--space-5);
	background: var(--color-accent);
	color: var(--color-on-dark);
	scroll-margin-top: 64px;
}

.dir-method-inner {
	max-width: var(--container);
	margin: 0 auto;
}

.dir-method-head {
	max-width: 640px;
	margin-bottom: var(--space-7);
}

.dir-method-eyebrow {
	margin: 0 0 var(--space-3);
	font-family: var(--font-mono);
	font-size: var(--text-sm);
	font-weight: 400;
	color: rgb(255 255 255 / 0.9);
}

.dir-method-title {
	margin: 0 0 var(--space-3);
	font-size: var(--text-4xl);
	line-height: 1.05;
	font-weight: 400;
	letter-spacing: -0.04em;
}

.dir-method-lead {
	margin: 0;
	font-size: var(--text-lg);
	color: rgb(255 255 255 / 0.95);
}

.method-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--space-4);
	margin: 0;
	padding: 0;
	list-style: none;
}

.method-step {
	padding: var(--space-5);
	border-radius: var(--radius-lg);
	background: rgb(16 44 104 / 0.18);
	border: 1px solid rgb(255 255 255 / 0.28);
}

.method-step-number {
	display: block;
	margin-bottom: var(--space-4);
	font-family: var(--font-mono);
	font-size: var(--text-sm);
	font-weight: 400;
	color: rgb(255 255 255 / 0.9);
}

.method-step-title {
	margin: 0 0 var(--space-2);
	font-size: var(--text-lg);
	font-weight: 500;
}

.method-step-text {
	margin: 0;
	font-size: var(--text-sm);
	color: rgb(255 255 255 / 0.95);
}

.dir-hero-art {
	max-width: 1040px;
	margin: var(--space-8) auto 0;
	padding: 10px;
	border-radius: 22px;
	background: rgb(255 255 255 / 0.55);
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-md);
}

.dir-hero-art-media {
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: var(--radius-md);
}

.dir-hero-art-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	image-rendering: pixelated;
}

.dir-chip-icon {
	flex: none;
	width: 18px;
	height: 18px;
}

.compare-row-icon-img {
	width: 26px;
	height: 26px;
}

.profile-tag-link {
	text-decoration: none;
	transition: border-color 0.15s;
}

.dir-categories {
	padding: var(--space-8) var(--space-5);
	border-top: 1px solid var(--color-border);
	scroll-margin-top: 64px;
}

.dir-categories-inner {
	max-width: var(--container);
	margin: 0 auto;
}

.category-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--space-4);
	margin: 0;
	padding: 0;
	list-style: none;
}

.category-grid-item {
	display: flex;
	margin: 0;
}

.category-card {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	padding: var(--space-5);
	border-radius: var(--radius-lg);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	color: var(--color-text);
	text-decoration: none;
	transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.category-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: var(--space-2);
	border-radius: var(--radius-md);
	background-color: rgb(242, 242, 237);
}

.category-card-icon-img {
	width: 24px;
	height: 24px;
}

.category-card-name {
	font-size: var(--text-lg);
	font-weight: 500;
	letter-spacing: -0.01em;
}

.category-card-text {
	font-size: var(--text-sm);
	color: var(--color-text-muted);
}

.category-card-bestfor {
	margin-top: auto;
	padding-top: var(--space-3);
	font-size: var(--text-xs);
	color: var(--color-text-subtle);
}

.category-hero-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 0 0 var(--space-5);
	border-radius: var(--radius-lg);
	border: 1px solid var(--color-border);
	background-color: rgb(255, 255, 255);
}

.category-hero-icon-img {
	width: 36px;
	height: 36px;
}

.category-hero-bestfor {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-2);
	margin: 0;
	font-size: var(--text-sm);
}

.category-hero-bestfor-label {
	font-family: var(--font-mono);
	color: var(--color-text-subtle);
}

.category-hero-bestfor-text {
	font-weight: 500;
}

.category-platform-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-4);
}

/* ---------- Mobile landscape ---------- */

/* ---------- Mobile portrait ---------- */

.profile-actions {
	display: flex;
	gap: 1rem;
}

@media (max-width: 991px) {
	.category-grid {
		grid-template-columns: repeat(2, minmax(0px, 1fr));
	}

	.dir-main-inner, .article-layout, .profile-layout {
		grid-template-columns: minmax(0px, 1fr);
	}

	.dir-side, .article-aside, .profile-aside {
		position: static;
	}

	.platform-grid, .feature-grid {
		grid-template-columns: repeat(2, minmax(0px, 1fr));
	}

	.plan-grid {
		grid-template-columns: repeat(2, minmax(0px, 1fr));
	}

	.plan-card:only-child {
		grid-template-columns: minmax(0px, 1fr) minmax(0px, 1fr);
	}

	.plan-card:only-child > .plan-card-extras {
		grid-area: auto / 1 / auto / -1;
		margin-top: var(--space-2);
	}

	.article-title {
		font-size: 40px;
	}

	.profile-title {
		font-size: 48px;
	}

	.site-footer-inner {
		grid-template-columns: 1fr 1fr;
	}

	.site-footer-brand {
		grid-column: 1 / -1;
	}

	.site-footer-notes {
		grid-template-columns: minmax(0px, 1fr);
	}

	.dir-hero-title {
		font-size: 54px;
	}

	.method-steps {
		grid-template-columns: repeat(2, minmax(0px, 1fr));
	}

	.vs-title {
		font-size: 44px;
	}

	.vs-grid {
		grid-template-columns: repeat(2, minmax(0px, 1fr));
	}
}

@media (max-width: 767px) {
	.feature-filter {
		grid-template-columns: minmax(0px, 1fr);
	}

	.category-grid, .category-platform-grid {
		grid-template-columns: minmax(0px, 1fr);
	}

	.vs-picker {
		grid-template-columns: minmax(0px, 1fr);
	}

	.vs-picker-sep {
		justify-content: center;
		height: auto;
	}

	.site-header-inner {
		gap: var(--space-4);
	}

	.site-nav {
		display: none;
	}

	.site-logo {
		margin-right: auto;
	}

	.platform-grid, .feature-grid {
		grid-template-columns: minmax(0px, 1fr);
	}

	.plan-grid {
		grid-template-columns: minmax(0px, 1fr);
	}

	.plan-card:only-child {
		display: flex;
	}

	.plan-card:only-child > .plan-card-extras {
		align-self: stretch;
		margin-top: auto;
	}

	.article-title {
		font-size: 32px;
	}

	.profile-title {
		font-size: 42px;
	}

	.profile-hero, .article-hero {
		padding: var(--space-7) var(--space-4);
	}

	.article-layout {
		padding: var(--space-7) var(--space-4);
	}

	.ranking-item {
		flex-wrap: wrap;
		padding: var(--space-4);
	}

	.ranking-side {
		flex-direction: row;
		align-items: center;
		width: 100%;
		justify-content: space-between;
		padding-top: var(--space-3);
		border-top: 1px solid var(--color-border);
	}

	.profile-head {
		flex-wrap: wrap;
	}

	.review {
		padding: var(--space-4);
	}

	.review-head {
		flex-wrap: wrap;
	}

	.review-heading {
		flex-basis: 100%;
		order: 3;
	}

	.review-score {
		margin-left: auto;
	}

	.review-facts {
		grid-template-columns: minmax(0px, 1fr);
		gap: var(--space-3);
	}

	.review-proscons, .profile-proscons {
		grid-template-columns: minmax(0px, 1fr);
	}

	.review-criterion {
		grid-template-columns: minmax(0px, 1fr);
		gap: var(--space-1);
	}

	.cms-mark-lg {
		width: 64px;
		height: 64px;
		font-size: var(--text-2xl);
	}

	.rich-text table {
		display: block;
		overflow-x: auto;
	}

	.dir-hero {
		padding: var(--space-8) var(--space-4) var(--space-7);
	}

	.search-pop {
		width: calc(100vw - var(--space-4) * 2);
		padding: var(--space-4) var(--space-3);
	}

	.search-pop-results {
		grid-template-columns: minmax(0px, 1fr);
		gap: var(--space-4);
	}

	.dir-hero-title {
		font-size: 42px;
	}

	.dir-hero-lead {
		font-size: var(--text-md);
	}

	.dir-main, .dir-platforms {
		padding: var(--space-7) var(--space-4);
	}

	.compare-row-link {
		padding: var(--space-4);
		align-items: flex-start;
	}

	.compare-row-icon {
		width: 44px;
		height: 44px;
	}

	.compare-row-date, .compare-row-arrow {
		display: none;
	}

	.dir-method {
		padding: var(--space-8) var(--space-4);
	}

	.dir-method-title {
		font-size: var(--text-2xl);
	}

	.dir-hero-art {
		margin-top: var(--space-7);
		padding: 6px;
		border-radius: var(--radius-lg);
	}

	.dir-hero-art-media {
		border-radius: var(--radius-sm);
	}

	.compare-row-icon-img {
		width: 22px;
		height: 22px;
	}

	.vs-hero {
		padding: var(--space-7) var(--space-4);
	}

	.vs-title {
		font-size: 36px;
	}

	.vs-lead {
		margin-bottom: var(--space-5);
		font-size: var(--text-md);
	}

	.vs-duel {
		grid-template-columns: minmax(0px, 1fr);
		justify-items: center;
		gap: var(--space-3);
	}

	.vs-head {
		width: 100%;
		padding: var(--space-5) var(--space-4);
	}

	.vs-duel-badge {
		width: 44px;
		height: 44px;
		font-size: var(--text-sm);
	}

	.vs-body {
		padding: var(--space-6) var(--space-4) var(--space-8);
	}

	.vs-block {
		margin-top: var(--space-7);
	}

	.vs-split, .vs-grid {
		grid-template-columns: minmax(0px, 1fr);
	}

	.vs-index {
		padding: var(--space-7) var(--space-4) var(--space-8);
	}

	.profile-score-label {
		display: none;
	}
}

@media (max-width: 479px) {
	.site-header-cta {
		padding: 8px 14px;
	}

	.site-footer-inner {
		grid-template-columns: minmax(0px, 1fr);
	}

	.verdict {
		padding: var(--space-4);
	}

	.ranking-number {
		width: 28px;
		font-size: var(--text-xl);
	}

	.dir-hero-title, .profile-title {
		font-size: 36px;
	}

	.dir-search {
		padding-left: 44px;
	}

	.dir-search-icon {
		left: 16px;
	}

	.dir-search-button {
		padding: 12px 16px;
	}

	.method-steps {
		grid-template-columns: minmax(0px, 1fr);
	}

	.vs-title {
		font-size: 30px;
	}

	.vs-fx {
		font-size: var(--text-xs);
	}

	.vs-fx-head, .vs-fx-grid {
		grid-template-columns: minmax(0px, 0.9fr) minmax(0px, 1fr) minmax(0px, 1fr);
	}

	.vs-fx-head {
		padding: var(--space-4) var(--space-3) var(--space-3);
	}

	.vs-fx-grid {
		padding: 0 var(--space-3) var(--space-2);
	}

	.vs-fx-head-platform {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--space-2);
	}

	.vs-fx-head-platform, .vs-fx-value, .vs-fx-missing {
		padding-left: var(--space-3);
	}

	.vs-fx-head-name {
		font-size: var(--text-sm);
	}

	.vs-fx-group {
		padding-top: var(--space-5);
		font-size: var(--text-md);
	}

	.profile-actions {
		flex-flow: column;
	}
}

@media (hover: hover) and (pointer: fine) {
	.platform-card:hover {
	  border-color: var(--color-text-subtle);
	  box-shadow: var(--shadow-md);
	  transform: translateY(-2px);
	}
}

@media (hover: hover) and (pointer: fine) {
	.feature-card:hover {
	  border-color: var(--color-text-subtle);
	  box-shadow: var(--shadow-md);
	  transform: translateY(-2px);
	}
}

@media (hover: hover) and (pointer: fine) {
	.tier-link:hover {
	  border-color: var(--color-text-subtle);
	  box-shadow: var(--shadow-md);
	}
}

@media (hover: hover) {
	.vs-combo-option:hover {
	  background: var(--color-bg);
	}
}

@media (hover: none) {
	.search-pop-foot {
		display: none;
	}
}

@media (hover: hover) and (pointer: fine) {
	.profile-tag-link:hover {
		border-color: var(--color-dark);
		color: var(--color-dark);
	}
}

@media (hover: hover) and (pointer: fine) {
	.category-card:hover {
		border-color: var(--color-text-subtle);
		box-shadow: var(--shadow-md);
		transform: translateY(-2px);
	}
}