/* Cardn3 vs Halocard (2026-10-29): /compare/cardn3-vs-halocard. Builds on site.css + service.css + ads.css + merchants.css.
   Cardn3 = accent (orange) monogram + tinted column; Halocard = ink monogram, plain column. No official logos. */

/* ---------- hero ---------- */
.cmp-hero { background: radial-gradient(60% 90% at 100% 0%, #FFF1DF 0%, rgba(255, 241, 223, 0) 60%), radial-gradient(50% 60% at 0% 100%, #F4F4F5 0%, rgba(244, 244, 245, 0) 70%), #fff; }
.cmp-hero .svc-eyebrow .site-ico { width: 15px; height: 15px; color: var(--accent-text); }
.cmp-title { font-size: clamp(28px, 1.2rem + 2.3vw, 46px) !important; max-width: 15em; }
.cmp-answer { --mg: var(--accent); }
.cmp-art::before { background: radial-gradient(closest-side, rgba(247, 147, 31, .26), transparent); }

/* head-to-head panel */
.cmp-vs { gap: 0; padding: 14px 14px 16px; }
.cmp-vs__head, .cmp-vs__row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px; align-items: center; }
.cmp-vs__head { padding: 2px 6px 12px; border-bottom: 1px dashed var(--c-border-strong); }
.cmp-vs__brand { display: inline-flex; align-items: center; gap: 7px; min-width: 0; font-size: 13.5px; font-weight: 600; }
.cmp-vs__brand i, .cmp-table__head i, .cmp-wins h3 i { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--c-ink, #171717); color: #fff; font: 600 11px/1 var(--font); font-style: normal; letter-spacing: -.02em; }
.cmp-vs__brand--c3 i, .cmp-table__head .cmp-col--c3 i, .cmp-wins__col--c3 h3 i { background: var(--accent-gradient, #F7931F); }
.cmp-vs__row { padding: 10px 6px; border-bottom: 1px solid var(--c-border); font-size: 13px; }
.cmp-vs__row:last-of-type { border-bottom: 0; }
.cmp-vs__row > span { color: var(--c-muted); }
.cmp-vs__row b { font-weight: 600; color: var(--c-text-2); overflow-wrap: anywhere; }
.cmp-vs__row b.is-good { color: #15803D; }
.cmp-vs__row b.is-good::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 6px 2px 0; border-radius: 50%; background: #22A05A; }
.cmp-vs__cards { position: relative; height: 88px; margin-top: 10px; }
.cmp-vs__cards > span { position: absolute; top: 0; width: 46%; }
.cmp-vs__cards > span:nth-child(1) { left: 2%; transform: rotate(-7deg); }
.cmp-vs__cards > span:nth-child(2) { left: 27%; top: 6px; transform: rotate(-1deg); z-index: 1; }
.cmp-vs__cards > span:nth-child(3) { left: 52%; transform: rotate(6deg); }
@media (max-width: 479px) { .cmp-vs__row { font-size: 12.5px; } .cmp-vs__brand { font-size: 12.5px; } .cmp-vs__cards { height: 70px; } }

.cmp-notice { grid-template-columns: auto 1fr; }
@media (min-width: 768px) { .cmp-notice { grid-template-columns: auto 1fr auto; align-items: center; } }

/* ---------- comparison table ----------
   Each cell = bold headline (.cmp-v) + muted detail (.cmp-d) or chips (.cmp-chips). The Cardn3 column is tinted and its
   headline is the strongest text in the row; .cmp-edge marks the side with the clear edge on that point. */
.cmp-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: -6px 0 18px; font-size: 12.5px; color: var(--c-muted); }
.cmp-legend span { display: inline-flex; align-items: center; gap: 7px; }
.cmp-legend .cmp-cite { margin: 0; vertical-align: 0; }
.cmp-table { position: relative; border-radius: 24px; border: var(--border); background: #fff; overflow: hidden; box-shadow: 0 1px 0 rgba(0, 0, 0, .02), 0 30px 60px -44px rgba(0, 0, 0, .4); }
.cmp-table__head, .cmp-table__row { display: grid; grid-template-columns: minmax(0, 1fr); }
.cmp-table__head { display: none; }
.cmp-table__row { gap: 10px; padding: 18px 16px; border-top: 1px solid var(--c-border); }
.cmp-table__row:first-of-type { border-top: 0; }
.cmp-table__topic { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--c-text); }
.cmp-table__topic > i { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--c-surface-alt); border: var(--border); color: var(--c-text-3); }
.cmp-table__topic .site-ico { width: 16px; height: 16px; }
.cmp-table__row > [role="cell"] { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--c-surface-alt); overflow-wrap: anywhere; }
.cmp-table__row > [role="cell"]::before { content: attr(data-label); display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-faint); }
.cmp-table__row > .cmp-col--c3 { background: linear-gradient(180deg, #FFF6EA 0%, #FFFAF4 100%); box-shadow: inset 0 0 0 1px #FBE3C2; }
.cmp-table__row > .cmp-col--c3::before { color: var(--accent-text); }

.cmp-v { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; color: var(--c-text-2); }
.cmp-col--c3 .cmp-v { font-size: 16.5px; font-weight: 700; color: var(--c-ink, #171717); }
.cmp-d { font-size: 13.5px; line-height: 1.6; color: var(--c-muted); }
.cmp-col--c3 .cmp-d { color: var(--c-text-2); }
.cmp-edge { display: inline-grid; place-items: center; flex: none; width: 19px; height: 19px; border-radius: 50%; background: #E3F6E9; color: #15803D; box-shadow: 0 0 0 3px rgba(34, 160, 90, .1); }
.cmp-edge .site-ico { width: 12px; height: 12px; stroke-width: 3; }
.cmp-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.cmp-chips i { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: var(--r-pill); background: #fff; border: var(--border); font-size: 12px; font-style: normal; font-weight: 500; line-height: 1.4; color: var(--c-text-2); white-space: nowrap; }
.cmp-col--c3 .cmp-chips i { border-color: #F8D9A8; color: #7C3F06; }

@media (min-width: 900px) {
    .cmp-table__head, .cmp-table__row { grid-template-columns: minmax(170px, .72fr) minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
    .cmp-table__head { display: grid; background: #fff; border-bottom: 1px solid var(--c-border-strong); }
    .cmp-table__head > span { display: flex; align-items: center; gap: 11px; padding: 18px 22px; font-size: 15.5px; font-weight: 700; color: var(--c-text); }
    .cmp-table__head > span > span { display: grid; line-height: 1.2; }
    .cmp-table__head small { font-size: 12px; font-weight: 500; color: var(--c-muted); }
    .cmp-table__head > span:first-child { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-faint); }
    .cmp-table__head i { width: 30px; height: 30px; border-radius: 9px; font-size: 12px; }
    .cmp-table__head > .cmp-col--c3 { position: relative; background: #FFF6EA; }
    .cmp-table__head > .cmp-col--c3::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent-gradient, #F7931F); }
    .cmp-table__head > .cmp-col--c3 small { color: var(--accent-text); }
    .cmp-table__row { padding: 0; }
    .cmp-table__topic { padding: 18px 22px; font-size: 14.5px; }
    .cmp-table__row > [role="cell"] { justify-content: center; padding: 18px 22px; border-radius: 0; background: none; box-shadow: none; }
    .cmp-table__row > [role="cell"]::before { display: none; }
    .cmp-table__row > .cmp-col--c3 { background: #FFFAF3; box-shadow: inset 1px 0 0 #FBE3C2, inset -1px 0 0 #FBE3C2; }
    .cmp-table__row > * { transition: background-color .2s var(--ease); }
    .cmp-table__row:hover > * { background-color: #FAFAFA; }
    .cmp-table__row:hover > .cmp-col--c3 { background-color: #FFF2E0; }
    .cmp-table__row:hover .cmp-table__topic > i { background: #fff; color: var(--accent-text); border-color: #F8D9A8; }
}
.cmp-cite { display: inline-grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 5px; background: #fff; border: var(--border); font-size: 10.5px; font-style: normal; font-weight: 600; line-height: 1; color: var(--c-text-3) !important; text-decoration: none !important; }
.cmp-cite:hover, .cmp-cite:focus-visible { border-color: var(--accent); color: var(--accent-text) !important; }

/* ---------- strengths ---------- */
.cmp-wins { display: grid; gap: 18px; }
@media (min-width: 900px) { .cmp-wins { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cmp-wins__col { padding: 24px; border-radius: var(--r-xl); background: #fff; border: var(--border); }
.cmp-wins__col--c3 { border-color: #F8D9A8; box-shadow: 0 20px 44px -36px rgba(146, 64, 14, .55); }
.cmp-wins h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 17px; font-weight: 600; }
.cmp-wins ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.cmp-wins li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; }
.cmp-wins li > .site-ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--c-surface-alt); color: var(--c-text-2); }
.cmp-wins__col--c3 li > .site-ico { background: var(--accent-tint); color: var(--accent-text); }
.cmp-wins b { display: block; font-size: 15px; font-weight: 600; color: var(--c-text); }
.cmp-wins p { margin: 3px 0 0; font-size: 14px; line-height: 1.65; color: var(--c-muted); }

/* ---------- pick by situation ---------- */
.cmp-picks { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .cmp-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cmp-picks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cmp-picks__item { padding: 20px; border-radius: var(--r-xl); background: #fff; border: var(--border); }
.cmp-picks__tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--r-pill); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--c-surface-alt); color: var(--c-text-2); border: var(--border); }
.cmp-picks__item--cardn3 .cmp-picks__tag { background: var(--accent-tint); border-color: #F8D9A8; color: var(--accent-text); }
.cmp-picks h3 { margin: 12px 0 6px; font-size: 16px; font-weight: 600; line-height: 1.35; }
.cmp-picks p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--c-muted); }

/* ---------- sources ---------- */
.cmp-sources { margin-top: 40px; padding: 22px 24px; border-radius: var(--r-xl); background: #fff; border: var(--border); }
.cmp-sources h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 16px !important; font-weight: 600; }
.cmp-sources h2 .site-ico { width: 17px; height: 17px; color: var(--c-faint); }
.cmp-sources p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--c-muted); }
.cmp-sources ol { margin: 10px 0 14px; padding-left: 22px; font-size: 14px; line-height: 1.8; }
.cmp-sources li { scroll-margin-top: 110px; }
.cmp-sources li:target { background: #FFF7EA; border-radius: 6px; }
.cmp-sources a { color: var(--accent-text); overflow-wrap: anywhere; }
