/* A full proof section shares a legacy name with the compact product figure.
   Give the section its normal page width; leave the home figure untouched. */
main section.section.product-proof.apphalt-legacy-proof {
  box-sizing: border-box;
  inline-size: min(var(--max, 1180px), calc(100% - 48px));
  max-inline-size: none;
  min-inline-size: 0;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5.25rem) 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.apphalt-legacy-proof > .proof-layout,
.apphalt-legacy-proof > .product-proof-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.apphalt-legacy-proof .proof-layout > *,
.apphalt-legacy-proof .product-proof-card > * {
  box-sizing: border-box;
  min-inline-size: 0;
  max-inline-size: 100%;
}

.apphalt-legacy-proof .proof-copy {
  inline-size: 100%;
  max-inline-size: none;
}

.apphalt-legacy-proof .proof-copy > p {
  margin-block: 0 1rem;
}

.apphalt-legacy-proof .proof-copy > h2 {
  max-inline-size: none;
  overflow-wrap: normal;
}

.apphalt-legacy-proof .proof-frame img {
  max-inline-size: 100%;
  block-size: auto;
  aspect-ratio: auto;
}

.apphalt-legacy-proof > .product-proof-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--ah-line, #d7dfec);
  border-radius: 1.25rem;
  background: #fff;
}

.apphalt-legacy-proof .product-proof-card p {
  margin-block: 0 1rem;
}

.apphalt-legacy-proof .proof-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.apphalt-legacy-proof .proof-list > span {
  min-inline-size: 0;
  padding: .85rem;
  border: 1px solid var(--ah-line, #d7dfec);
  border-radius: .75rem;
  background: var(--ah-soft, #f2f5fb);
  color: var(--ah-ink, #18202c);
  font-weight: 600;
}

/* The original before/after grid is for two panels, not table rows. */
.apphalt-comparison-scroll {
  box-sizing: border-box;
  inline-size: 100%;
  max-inline-size: 59rem;
  margin-inline: auto;
  overflow-x: auto;
  border: 1px solid var(--ah-line, #d7dfec);
  border-radius: 1rem;
  background: #fff;
}

table.apphalt-comparison-table {
  display: table;
  inline-size: 100%;
  max-inline-size: none;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  color: var(--ah-ink, #18202c);
  font-size: .95rem;
  line-height: 1.55;
}

.apphalt-comparison-table .decision-row {
  display: table-row;
}

.apphalt-comparison-table :is(th, td) {
  box-sizing: border-box;
  padding: 1rem;
  border: 0;
  border-block-end: 1px solid var(--ah-line, #d7dfec);
  vertical-align: top;
  text-align: start;
  white-space: normal;
  overflow-wrap: anywhere;
}

.apphalt-comparison-table thead th {
  background: var(--ah-soft, #f2f5fb);
  font-weight: 700;
}

.apphalt-comparison-table th:first-child {
  inline-size: 42%;
}

.apphalt-comparison-table tbody th {
  font-weight: 600;
}

.apphalt-comparison-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.apphalt-comparison-table tbody tr:last-child > * {
  border-block-end: 0;
}

@media (max-width: 860px) {
  main section.section.product-proof.apphalt-legacy-proof {
    inline-size: calc(100% - 32px);
  }

  .apphalt-legacy-proof > .proof-layout,
  .apphalt-legacy-proof > .product-proof-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .apphalt-legacy-proof .proof-frame {
    inline-size: min(100%, 28rem);
    margin-inline: auto;
  }
}

@media (max-width: 480px) {
  table.apphalt-comparison-table {
    font-size: .9rem;
  }

  .apphalt-comparison-table :is(th, td) {
    padding: .75rem .55rem;
  }
}
.apphalt-comparison-scroll:focus-visible {
  outline: 3px solid #2154cf;
  outline-offset: 4px;
}
.hero-product-card > .product-label {
  position: static;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-product-card > .product-label > .product-badge {
  position: static;
  flex: 0 1 auto;
  max-width: 100%;
}

/* A dark gradient from the original comparison design must not sit behind
   the shared light-theme text. Mark only the confirmed comparison blocks. */
.apphalt-static main .apphalt-light-conversion,
.apphalt-static main .decision-grid .apphalt-light-conversion {
  background: var(--ah-soft, #f7f9fc);
  border-color: var(--ah-line, #d7dfec);
  color: var(--ah-ink, #18202c);
}

.apphalt-static main .apphalt-light-conversion :is(h2, h3, strong) {
  color: var(--ah-ink, #18202c);
}

.apphalt-static main .apphalt-light-conversion :is(p, li, .eyebrow) {
  color: var(--ah-muted, #485469);
}

/* This late-added benchmark reference used a different section class and
   missed the shared page container. It is content, not a full-bleed banner. */
.apphalt-static main section.apphalt-browser-workflow {
  box-sizing: border-box;
  inline-size: min(var(--max, 1180px), calc(100% - 48px));
  margin-inline: auto;
  padding-block: clamp(2rem, 4vw, 3.5rem);
}

.apphalt-static main section.apphalt-browser-workflow h2 {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  line-height: 1.2;
}

.apphalt-interior main a.apphalt-legacy-download,
.apphalt-interior main a.apphalt-legacy-download * {
  text-transform: none;
  letter-spacing: normal;
}

@media (max-width: 860px) {
  .apphalt-static main section.apphalt-browser-workflow {
    inline-size: calc(100% - 32px);
  }
}

/* Schematic before/after cards share the light identity of the surrounding
   article. Do not recolour genuine application screenshots or home media. */
.apphalt-static main article.state-panel.apphalt-light-state {
  background: var(--ah-soft, #f7f9fc);
  border-color: var(--ah-line, #d7dfec);
  color: var(--ah-ink, #18202c);
  box-shadow: 0 10px 28px rgba(26, 46, 80, .07);
}

.apphalt-static main article.state-panel-after.apphalt-light-state {
  background: #edf6f0;
  border-color: #c9dfd0;
}

.apphalt-static main .apphalt-light-state :is(h3, p, span, .card-label) {
  color: var(--ah-ink, #18202c);
}

.apphalt-static main .apphalt-light-state .state-row {
  border-color: var(--ah-line, #d7dfec);
  color: var(--ah-muted, #485469);
}

.apphalt-static main .apphalt-light-state .state-row strong {
  color: var(--ah-muted, #485469);
}

.apphalt-static main .apphalt-light-state .state-row:is(.paused, .active) strong {
  color: #24613f;
}

.apphalt-static main .proof-frame.apphalt-light-state-frame {
  background: #fff;
  border-color: var(--ah-line, #d7dfec);
  box-shadow: 0 10px 28px rgba(26, 46, 80, .07);
}

/* This native WordPress page has no single-post class, so the shared article
   override did not cover the theme's white entry title. Keep its native H1. */
body.page-id-4739.apphalt-interior #primary header.entry-header > h1.entry-title {
  color: var(--ah-ink, #18202c);
  font-size: clamp(2rem, 4vw, 3.2rem) !important;
  line-height: 1.08;
  letter-spacing: -.04em;
  margin-block: 0 1.5rem;
}
