/* SmartFence vs competitor comparison pages */
.compare-intro-section { padding-bottom: 3rem; }
.compare-lead { font-size: 1.0625rem; line-height: 1.7; color: var(--text-body); text-align: center; margin-bottom: 2.5rem; }
.compare-choose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.compare-choose-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem 1.5rem; background: white; }
.compare-choose-card h2 { font-size: 1.25rem; font-weight: 700; color: var(--text-dark); margin-bottom: 1rem; }
.compare-choose-card-sf { border: 2px solid var(--teal); }
.compare-choose-card-sf h2 { color: var(--teal); }
.compare-choose-card .check-list li { font-size: .9375rem; }

/* Drawing vs manual stat */
.compare-stat-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; align-items: center; }
.compare-stat-bar { display: flex; height: 64px; border-radius: var(--radius); overflow: hidden; font-weight: 700; font-size: .9375rem; }
.compare-stat-bar span { display: flex; align-items: center; justify-content: center; color: white; }
.compare-stat-draw { background: #A7AAAD; color: var(--text-dark) !important; }
.compare-stat-manual { background: var(--teal); }
.compare-stat-caption { font-size: .8125rem; color: var(--text-body); margin-top: .625rem; }
.compare-stat-text h2 { font-size: 1.625rem; font-weight: 700; color: var(--teal); margin-bottom: .75rem; }
.compare-stat-text p { font-size: .9375rem; line-height: 1.65; color: var(--text-body); margin-bottom: .75rem; }

/* Table */
.compare-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: white; }
.compare-table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 640px; }
.compare-table th, .compare-table td { text-align: left; padding: .875rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare-table thead th { background: var(--text-dark, #1f2937); color: white; font-weight: 700; }
.compare-table thead th:nth-child(2) { background: var(--teal); }
.compare-table tbody th[scope="row"] { font-weight: 600; color: var(--text-dark); width: 34%; }
.compare-table td { color: var(--text-body); width: 33%; }
.compare-table td:nth-child(2) { background: #f5fbfa; }
.compare-table tr.compare-group th { background: var(--off-white); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); padding: .625rem 1rem; }
.compare-table td.yes { color: var(--teal); font-weight: 700; }
.compare-table td.no { color: #6b7280; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: none; }
.compare-sources { font-size: .8125rem; color: var(--text-body); margin-top: 1rem; }
.compare-sources a { color: var(--teal); text-decoration: underline; }

/* Flow */
.compare-flow { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.compare-flow-step { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; }
.compare-flow-num { display: inline-flex; width: 2rem; height: 2rem; border-radius: 50%; background: var(--teal); color: white; font-weight: 700; align-items: center; justify-content: center; margin-bottom: .75rem; }
.compare-flow-step h3 { font-size: 1.0625rem; font-weight: 700; color: var(--text-dark); margin-bottom: .375rem; }
.compare-flow-step p { font-size: .9375rem; color: var(--text-body); line-height: 1.6; }

.compare-disclaimer { font-size: .8125rem; color: #6b7280; line-height: 1.6; text-align: center; }

@media(max-width:900px) {
  .compare-choose-grid, .compare-stat-wrap, .compare-flow { grid-template-columns: 1fr; }
}

/* JS embed section */
.embed-compare { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin-bottom: 3rem; }
.embed-compare-col { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; }
.embed-compare-col h3 { font-size: 1.0625rem; font-weight: 700; color: var(--text-dark); margin-bottom: .5rem; }
.embed-compare-col p { font-size: .9375rem; color: var(--text-body); line-height: 1.6; }
.embed-compare-col-sf { border: 2px solid var(--teal); }
.embed-compare-col-sf h3 { color: var(--teal); }
.embed-subhead { font-size: 1.25rem; font-weight: 700; color: var(--text-dark); margin: 0 0 1.25rem; text-align: center; }
.embed-tools-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; margin-bottom: 3rem; }
.embed-tools-grid .embed-tool-card { flex: 0 1 calc((100% - 2.5rem) / 3); }
.embed-tool-card { background: white; border: 1px solid var(--border); border-top: 4px solid var(--teal); border-radius: var(--radius-lg); padding: 1.25rem 1.25rem 1.5rem; }
.embed-tool-card h4 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: .25rem; }
.embed-tool-examples { font-size: .8125rem; font-weight: 600; color: var(--teal); margin-bottom: .5rem; }
.embed-tool-card p { font-size: .9rem; color: var(--text-body); line-height: 1.6; }
.embed-benefits { max-width: 760px; margin: 0 auto; }
.embed-benefits li { font-size: .9375rem; padding: .375rem 0; }
@media(max-width:900px) { .embed-compare { grid-template-columns: 1fr; } .embed-tools-grid .embed-tool-card { flex-basis: 100%; } }

/* General comparison page */
.compare-kind-title { font-size: 1.0625rem; font-weight: 700; color: var(--text-dark); margin-bottom: .5rem; }
.embed-compare-col-sf .compare-kind-title { color: var(--teal); }
.compare-table-3 { min-width: 760px; }
.compare-table-3 tbody th[scope="row"] { width: 28%; }
.compare-table-3 td { width: 24%; }

/* Contact details last */
.trust-flows { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.trust-flow { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; }
.trust-flow h3 { font-size: 1.125rem; font-weight: 700; color: var(--text-dark); margin-bottom: 1rem; }
.trust-flow-sf { border: 2px solid var(--teal); }
.trust-flow-sf h3 { color: var(--teal); }
.trust-steps { list-style: none; counter-reset: step; margin: 0 0 1rem; padding: 0; }
.trust-steps li { counter-increment: step; position: relative; padding: .5rem 0 .5rem 2.5rem; font-size: .9375rem; color: var(--text-body); }
.trust-steps li::before { content: counter(step); position: absolute; left: 0; top: .375rem; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--off-white); color: var(--text-dark); font-weight: 700; font-size: .8125rem; display: flex; align-items: center; justify-content: center; }
.trust-steps li.trust-step-gate { font-weight: 700; color: var(--text-dark); }
.trust-steps li.trust-step-gate::before { background: var(--teal); color: white; }
.trust-flow-note { font-size: .875rem; color: var(--text-body); border-top: 1px solid var(--border); padding-top: .75rem; }
.trust-benefits { margin-top: .5rem; }
@media(max-width:900px) { .trust-flows { grid-template-columns: 1fr; } }

/* Why it works */
.why-works { max-width: 760px; margin: 2.5rem auto 0; background: var(--off-white); border-radius: var(--radius-lg); padding: 2rem; }
.why-works h3 { font-size: 1.125rem; font-weight: 700; color: var(--text-dark); margin: 0 0 .5rem; }
.why-works h3 + p { font-size: .9375rem; color: var(--text-body); line-height: 1.65; margin-bottom: .75rem; }
.why-list { list-style: disc; padding-left: 1.25rem; margin: 0 0 1.75rem; }
.why-list li { font-size: .9375rem; color: var(--text-body); line-height: 1.65; margin-bottom: .5rem; }
.why-list li strong { color: var(--text-dark); }
.why-list sup a { color: var(--teal); font-weight: 700; text-decoration: none; padding: 0 .125rem; }
.why-refs { border-top: 1px solid var(--border); padding-top: 1rem; padding-left: 1.25rem; margin: 0; }
.why-refs li { font-size: .8125rem; color: var(--text-body); line-height: 1.6; margin-bottom: .25rem; }
.why-refs a { color: var(--teal); text-decoration: underline; }

/* Match site-wide card style (how-card / benefit-card): 2px #D1D5DB, 14px radius, soft shadow */
.compare-choose-card, .embed-compare-col, .embed-tool-card, .compare-flow-step, .trust-flow, .compare-table-wrap {
  border: 2px solid #D1D5DB;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.compare-choose-card-sf, .embed-compare-col-sf, .trust-flow-sf { border-color: var(--teal); }
.why-works { border: 2px solid #D1D5DB; border-radius: 14px; box-shadow: 0 2px 12px rgba(0,0,0,.07); }
.compare-table th, .compare-table td { border-bottom-color: #D1D5DB; }
.compare-table td + td, .compare-table th + td { border-left: 1px solid #D1D5DB; }
.compare-stat-bar { border: 2px solid #D1D5DB; }
