/*
 * The Compare page (lib/native/pages/compare.ts). Part 1: the old page's own
 * CSS for the classes kept, carried without !important; headings that were
 * h4 and h5 are h3 now, so those selectors name h3. Part 2: structure and
 * the old inline styles. Measured sizes, spacing and type:
 * gen/compare.css, loaded after.
 */

/* ---- Part 1: carried from the old page ---- */
.churn-card-main.ex { border-radius: 10px; border: 1px solid #CDCDCD; background: var(--Gray-Gradient, linear-gradient(180deg, #FFF 0%, #F6F5F3 100%)); box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.10); background:#EDE8FF; }
.churn-card-main.ex.first { padding-bottom: 0px; background:#FFF; }
.step-card-main.extra { background: #5B21B6; }
.step-card-main.extra p { color:rgba(255,255,255,0.92); margin-bottom:0px }
.step-card-main.extra.one { border-radius:10px 10px 0px 0px; padding-bottom:20px; }
.step-card-main.extra.one p:last-child { border-bottom: 1px solid #9B81CE; padding-bottom:23px; }
.step-card-main.extra.cle h3 { background:#EDE8FF; color:#5B21B6; border:1px solid #5B21B6; }
.step-card-main.extra.two { padding-top:10px; border-radius:0px 0px 10px 10px; }
.step-card-main.extra h3 { padding: 5px 20px; color: #1E0A3C; background: #FFC837; border-radius: 30px; font-weight: 500; margin-bottom: 0px; display: inline-block; position: relative; top:-60px; border: 1px solid #1E0A3C; font-size: 17px; }
.step-card-main.def { border:1px solid#DBDBDB; }
.step-card-main.def p { color:#202020; padding-bottom:2px; border:0px; }
.step-card-main.extra.one.def { background: #fff; border-bottom:0px; }
.step-card-main.extra.two.def { background: #FFfaeb; padding-top:25px; }
.step-card-main.extra.def h3 { border:1px solid #1E0A3C; }
.align-cards { border:1px solid #9F6CF5; border-radius:24px; }
.align-cards .inner-sec { padding: 35px 30px 0px; background: #fff; position: relative; border-radius:24px; display: inline-block; width: 100%; }
.align-cards .inner-sec img { float: right; }
.align-cards.two .inner-sec { background: #1E0A3C; }
.align-cards .inner-sec p { color:#6B50A0; font-weight: 400; margin:0px; }
.align-cards.two .inner-sec p { color:rgba(255,255,255,0.92); }
.align-cards .inner-sec h3 { background:#EDE8FF; display:inline-block; font-weight:500; padding: 5px 17px; border-radius:25px; border:1px solid #5B21B6; font-size: 17px; color:#5B21B6; }
.align-cards.two .inner-sec h3 { background:#FFC837; border:1px solid #1E0A3C; color:#1E0A3C; }
.step-card.footer h3 { background: #FFC837; border: 1px solid #1E0A3C; color: #1E0A3C; display: inline-block; font-weight: 500; padding: 5px 17px; border-radius: 25px; font-size: 17px; }
.step-card.footer.one h3 { background: #EDE8FF; border: 1px solid #5B21B6; color: #5B21B6; }
.step-card.footer p { color: #3D2670; }
@media screen and (max-width:580px) { .align-cards .inner-sec img { width: 150px; top: -80px; } }
@media screen and (max-width:580px) { .align-cards.ex .inner-sec img { width: 150px; bottom: -80px; top: inherit; } }
@media screen and (max-width:580px) { .step-card-main.extra.cle h3 { margin-top: 0px; } }
@media screen and (max-width:580px) { .step-card-main.extra h3 { top: 0px;margin-top: 0px; } }
@media (min-width:581px) and (max-width:769px) { .align-cards .inner-sec img { width: 200px; top: -110px; } }
@media (min-width:581px) and (max-width:769px) { .align-cards.ex .inner-sec img { width: 200px; bottom: -110px; top: inherit; } }
@media (min-width:581px) and (max-width:769px) { .step-card-main.extra.cle h3 { margin-top: 0px; } }
@media (min-width:581px) and (max-width:769px) { .step-card-main.extra h3 { top: 0px; margin-top: 0px; } }
@media (min-width:770px) and (max-width:920px) { .align-cards .inner-sec img { display:none; } }
@media (min-width:770px) and (max-width:920px) { .align-cards.ex .inner-sec img { display:none; } }
@media (min-width:921px) and (max-width:1025px) { .align-cards .inner-sec img { width: 150px; top: -80px; } }
@media (min-width:921px) and (max-width:1025px) { .align-cards.ex .inner-sec img { width: 150px; bottom: -80px; top: inherit; } }
@media (min-width:1026px) and (max-width:1279px) { .align-cards .inner-sec img { width: 180px; top: -100px; } }
@media (min-width:1026px) and (max-width:1279px) { .align-cards.ex .inner-sec img { width: 180px; bottom: -100px; top: inherit; } }
@media (min-width:1280px) and (max-width:1367px) { .align-cards .inner-sec img { width: 190px; top: -100px; } }
@media (min-width:1280px) and (max-width:1367px) { .align-cards.ex .inner-sec img { width: 190px; bottom: -100px; top: inherit; } }
.comparison-table { width: 100%; overflow: auto; }
.comparison-table table { width: 100%; border-collapse: separate; border-spacing: 0px; border: 0px; }
.comparison-table h3 { color:rgba(255, 255, 255, 0.92) }
.comparison-table th, .comparison-table td { padding: 20px; font-size: 18px; text-align: left; vertical-align: middle; border: 1px solid #EAEAEA; background: linear-gradient(180deg, #FFF 0%, #F6F5F3 100%); box-shadow: 0 4px 4px rgba(0, 0, 0, 0.10); border-radius: 0; }
.comparison-table thead th:first-child { border-top-left-radius: 10px; }
.comparison-table thead th:last-child { border-top-right-radius: 10px; }
.comparison-table tbody tr:last-child td:first-child { border-bottom-left-radius: 10px; }
.comparison-table tbody tr:last-child td:last-child { border-bottom-right-radius: 10px; }
.comparison-table table { border-spacing: 0; }
.comparison-table thead th:first-child { background: transparent; border: none; box-shadow: none; }
.comparison-table thead th:first-child { padding-left: 0; text-align: left; }
.comparison-table thead th.highlight { border-top-left-radius: 10px; }
.comparison-table tbody tr:first-child td:first-child { border-top-left-radius: 10px; }
.comparison-table thead th { font-weight: 400; background: #fafafa; text-align: center; }
.comparison-table .label-col { width: 28%; background: #ffffff; }
.comparison-table .highlight { background: #EDE8FF; color: #5B21B6; border: 1px solid #d8baf7; }
.comparison-table thead th.highlight.one { background:#5B21B6; color:#FFF; border: 0px; border-top-right-radius: 10px; }
.comparison-table thead th.highlight.two { background:#F59E0B; color:#202020; border: 0px;border-top-right-radius: 10px; }
.comparison-table thead th.highlight.three { background:#EF4444; color:#000; border: 0px; } /* black: #202020 on this red was 4.3:1 (audit item 20) */
.comparison-table .ok, .comparison-table .no, .comparison-table .warn, .comparison-table .warns { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; font-size: 11px; margin-right: 8px; flex-shrink: 0; position: relative; top: -2px; }
.comparison-table .ok { background: #5B21B6; color: #fff; }
.comparison-table .ok img { filter: brightness(0) invert(1); }
.comparison-table .no { background: #85818B; color: #ffffff; }
.comparison-table .warn { background: #85818B; color: #666666; }
.comparison-table .warns { background: #88C2CB; width: 10px; height: 10px; border-radius: 3px; top: -1px; display:none; }
.comparison-table img.emoji { width: 9px; }
.comparison-table td:not(.highlight) { color: #505050; }
.comparison-table tbody tr:first-child td:last-child { border-top-right-radius: 10px; }
.comparison-table.extra tbody tr:first-child td:last-child { border-top-right-radius: 0px; }
.comparison-table table { width: 100%; }
.comparison-table td:first-child, .comparison-table th:first-child { width: 28%; color: #202020; }
.comparison-table td:nth-child(2), .comparison-table th:nth-child(2), .comparison-table td:nth-child(3), .comparison-table th:nth-child(3), .comparison-table td:nth-child(4), .comparison-table th:nth-child(4) { width: 24%; }
@media screen and (max-width:769px) { .comparison-table th, .comparison-table td { padding: 18px; font-size: 16px; } }
.comparison-category { border-radius: 10px; overflow: hidden; border: 1px solid #cdcdcd; background: #fff; }
.category-header { padding: 0.75rem 1.5rem; background: #F8F5FF; border-bottom:1px solid #cdcdcd; }
.category-header h3 { font-weight: 600; font-size: 0.95rem; color: #5B21B6; margin-bottom: 0px; }
.status-badge { display: inline-flex; align-items: center; gap: 0.275rem; padding: 0.4rem 0.5rem; border-radius: 5px; font-size: 14px; font-weight: 500; text-align: center; line-height: 18px; }
.status-badge.yes { background: #5B21B6; color: #fff; }
.status-badge.no { background: #EDEFF2; color: #505050; }
.status-badge.partial { background: #EDEFF2; color: #505050; }
.mobile-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-bottom: 0.75rem; position: sticky; top: 67px; z-index: 9; padding: 0.5rem; border-radius: 10px; background: #fff; }
.mobile-legend-card { text-align: center; border-radius: 10px; padding: 0.3rem 0.5rem; border: 1px solid #cdcdcd; background: #EDEFF2; color: #505050; }
.mobile-legend-card.featured { background: #5B21B6; color: #fff; }
.mobile-legend-card.ex { background: #EDEFF2; color: #505050; }
.mobile-legend-card .name { font-size: 0.75rem; font-weight: 700; display: block; }
.mobile-categories { display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-feature { padding: 0.75rem 1rem; }
.mobile-feature:not(:last-child) { border-bottom: 1px solid hsla(220, 15%, 88%, 0.4); }
.mobile-feature-name { font-size: 16px; font-weight: 500; display: block; margin-bottom: 0.5rem; }
.mobile-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.2rem; }
/* The narrowest phones: three equal columns, and a word like "Inconsistent" fits its badge. */
@media (max-width: 340px) {
  .mobile-feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .z-page--compare .mobile-feature { padding-left: 10px; padding-right: 10px; }
  .z-page--compare .mobile-feature-grid .status-badge { font-size: 11px; padding: 0.35rem 0.2rem; max-width: 100%; hyphens: auto; }
}
.mobile-feature-cell { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
.mobile-feature-cell .biz-name { font-size: 12px; color: #67717E; font-weight: 500; display:none; }
@media (max-width: 767px) { .comparison-section { padding: 0px; } }
.churn-card-main { background-color: #F6F5F3; padding: 40px; border-radius: 10px; box-shadow: 2px 2px 1px 0 rgba(0, 0, 0, 0.10); }
.step-card-main { padding: 40px; border-radius: 10px; background-color: white; box-shadow: 2px 2px 1px 0 rgba(0, 0, 0, 0.10); position: relative; text-align: left; }
.step-card p { font-size: 18px; line-height: 30px; color:#0D0418; }
.step-card p span { font-size: 16px; line-height: 28px; color:#505050; }
.churn-card-main { background-color: #F6F5F3; padding:32px; border-radius: 10px; box-shadow: 2px 2px 1px 0 rgba(0, 0, 0, 0.10); }
@media (max-width: 769px) and (min-width: 375px) { .step-card p { min-height: 0; } }

/* ---- Part 2: structure ---- */
/* Tables from 770px, the stacked cards below (the old page's hidden-on rules). */
@media (max-width: 769px) { .z-page--compare .z-gt769 { display: none; } }
@media (min-width: 770px) { .z-page--compare .z-lt770 { display: none; } }
.z-lc { text-transform: lowercase; }
.z-page--compare img { max-width: 100%; height: auto; }
.z-chero,
.z-ctables,
.z-cmobile { color: #fff; }

/* Hero buttons: Elementor's grow on hover. */
.z-chero__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.z-chero__btn { display: inline-block; text-decoration: none; transition: transform 0.3s; }
.z-chero__btn:hover { transform: scale(1.1); }
@media (prefers-reduced-motion: reduce) { .z-chero__btn { transition: none; } }

/* The three cards under the hero (their old inline styles). */
.z-ccards__col { min-width: 0; }
.z-ccard__name img { display: inline-block; vertical-align: middle; }
.z-ccard__time {
  /* Inline, as the old span was: its padding does not grow the line. */
  display: inline;
  border-radius: 40px;
  border: 1px solid;
  padding: 3px 5px;
  font-size: 16px;
  font-weight: 400;
}
.z-ccard__time img { margin: -4px 5px 0 0; }
.z-ccard__time--zylo { border-color: #5b21b6; background: #744bc4; color: #fff; }
.z-ccard__time--agency { border-color: #f59e0b; background: #ffc837; color: #0d0418; }
.z-ccard__time--diy { border-color: #ef4444; background: rgba(239, 68, 68, 0.2); color: #0d0418; }
.z-ccard__text { margin-bottom: 0; color: #5e4a9a; }
.z-ccard--zylo { position: relative; }
.z-ccard__art img { display: block; }
.z-ccard__art .z-ccard__approve { position: absolute; left: 50%; bottom: -45px; margin-left: -55px; }

/* Tables: the "!" icon at its own 3px width (the old 9px stretched it). */
.comparison-table .warn img.emoji { width: 3px; }
.comparison-table .ok img,
.comparison-table .no img,
.comparison-table .warn img { display: block; }
.z-ctable__sub { display: block; font-size: 12px; }
/* A phone badge with a second line (the old inline styles). */
.z-badge--sub { display: block; padding-bottom: 15px; }
.z-badge__sub { display: block; font-size: 12px; }
/* The stretched icon made every one-line row 78px tall on the old page;
 * the rows keep that height now that the icon is fixed. */
.z-page--compare .comparison-table tbody tr { height: 78px; }
/* Column headers after the first table are for screen readers only. */
.z-page--compare .comparison-table thead.z-sr th {
  padding: 0;
  border: 0;
  height: 0;
  font-size: 0;
  line-height: 0;
  background: none;
  clip-path: inset(50%);
}
/* The phone legend stays under the header while its cards scroll by. */
.z-page--compare .mobile-legend { position: sticky; }

/* Rules the old page won by !important (carried above without it, so a
 * more specific carried rule could beat them): restated with the page class. */
.z-page--compare .step-card-main.extra p { color: rgba(255, 255, 255, 0.92); margin-bottom: 0; }
.z-page--compare .z-cfit .step-card-main.def p:not(.z-pill) { color: #202020; padding-bottom: 2px; border: 0; }
.z-page--compare .step-card-main.extra.one.def { background: #fff; border-bottom: 0; }

/* Pills (the old inline styles, which beat the rules above). */
.z-page--compare .z-cfit .step-card .z-pill {
  display: inline-block;
  text-align: left;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  border-radius: 20px;
  border: 1px solid;
  padding: 4px 24px;
}
.z-page--compare .z-cfit__col .step-card .z-pill--best { color: #5b21b6; border: 1px solid #5b21b6; }
.z-page--compare .z-cfit__col .step-card .z-pill--not { color: #c81e1e; border: 1px solid #ef4444; }
.z-page--compare .z-cfit__col--1 .step-card .z-pill--best { color: #34d399; border-color: #34d399; }
.z-page--compare .z-cfit__col--1 .step-card .z-pill--not { color: #ffc837; border-color: #ffc837; }
.z-page--compare .z-cfit__col--1 .two .step-card p.z-cfit__text { color: rgba(255, 255, 255, 0.8); }
.z-page--compare .z-cfit__col:not(.z-cfit__col--1) .one p.z-cfit__text { color: #3d2670; }
.z-page--compare .z-cfit__col:not(.z-cfit__col--1) .two p.z-cfit__text { color: #0d0418; }
.z-ccost__col { min-width: 0; }
/* The old cards' last paragraph margin stayed inside Elementor's wrapper, and
 * the section's bottom space is measured from the card (gen endmax:), so it
 * must not leak out of the card here. */
.z-page--compare .z-ccost .step-card p:last-child {
  margin-bottom: 0;
}
/* The old note was an inline span inside a 28.9px line: measure-css took the
 * gap above it from the span's own 16px box, so the paragraph here, whose box
 * includes the line's half-leading, sits 6px lower unless pulled up by it. */
@media (min-width: 1025px) {
  .z-page--compare .z-cta p.z-cta__note {
    margin-top: -10px;
  }
}
/* The section's bottom space is measured from the last card (gen endmax:),
 * but up to 390px the column around that card keeps 15px of padding below
 * it, which the measured space already includes: take it off once. */
@media (max-width: 374px) {
  .z-page--compare section.z-cfit { padding-bottom: 45px; }
}
@media (min-width: 375px) and (max-width: 390px) {
  .z-page--compare section.z-cfit { padding-bottom: 25px; }
}
/* From 391 to 767px the old buttons sat in a box 20px in from each side, each
 * with 10px side margins, so they stack below 502px, and stacked they are
 * 30px apart (20px up to 390px, as the flex gap gives). */
@media (min-width: 391px) and (max-width: 767px) {
  .z-page--compare .z-chero__buttons { padding: 0 30px; row-gap: 30px; }
}

/* The h1 (owner, 2026-11-03) states the agency range and the price: balanced, so a short last word ("month.") is not left on its own line. */
.z-page--compare .z-chero__title { text-wrap: balance; }

/* The scan button reads "Build your marketing" (owner, 2026-11-03), longer than the old
 * "Start free trial" its measured 235px (phones 231x60px) was cut for: as wide as its words,
 * never narrower than before, and on a phone too narrow for one line, two lines that are not clipped. */
.z-page--compare .z-chero__btn.z-chero__btn--trial { width: auto; min-width: 235px; white-space: nowrap; }
@media (max-width: 767px) { .z-page--compare .z-chero__btn.z-chero__btn--trial { min-width: 231px; max-width: 100%; height: auto; min-height: 60px; padding: 16px 20px; white-space: normal; } }

/* Phones: smaller hero buttons, stacked 12px apart and the same width
 * (post-migration audit item 4, 2026-11-06: "reduce the button size in
 * mobile view"). They were 60px tall with a wide gap from the old theme. */
@media (max-width: 767px) {
  .z-page--compare .z-chero__buttons { display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .z-page--compare .z-chero__btn.z-chero__btn--trial,
  .z-page--compare .z-chero__btn.z-chero__btn--examples { width: 240px; max-width: 100%; min-width: 0; height: auto; min-height: 0; margin: 0; padding: 12px 18px; font-size: 14px; font-weight: 700; line-height: 20px; white-space: normal; }
}
