/* Compare Property Inspect — bespoke template ported from handoff-9. */

/* HERO */
.cmp-hero { padding: 96px 0 80px; background: var(--gradient-deep); color: #fff; position: relative; overflow: hidden; }
.cmp-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(97,206,112,0.10), transparent 55%);
  pointer-events: none;
}
.cmp-hero .inner { position: relative; z-index: 1; max-width: 880px; }
.cmp-hero h1 { font-family: var(--font-display); font-weight: 600; font-size: 64px; letter-spacing: -0.025em; line-height: 1.04; color: #fff; margin: 18px 0 22px; }
.cmp-hero h1 em { font-style: normal; color: var(--green-100); }
.cmp-hero p.sub { color: rgba(255,255,255,0.78); font-size: 20px; line-height: 1.55; max-width: 640px; margin-bottom: 30px; }
.cmp-hero .btns { display: flex; gap: 12px; }

/* Hero anchor strip — what users come from */
.anchor-strip { margin-top: 56px; position: relative; z-index: 1; padding: 24px 28px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); border-radius: 16px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.anchor-strip .lab { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); white-space: nowrap; }
.anchor-strip .pills { display: flex; flex-wrap: wrap; gap: 10px; }
.anchor-strip a { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; transition: all 150ms var(--ease-standard); display: flex; align-items: center; gap: 8px; }
.anchor-strip a:hover { background: var(--green-100); border-color: var(--green-100); color: var(--anthracite-100); }
.anchor-strip a .num { font-family: var(--font-mono); font-size: 10px; opacity: 0.55; letter-spacing: 0.08em; }

/* Section base */
.cmp-section { padding: 96px 0; }
.cmp-section.alt { background: var(--off-white-60); }
.cmp-section.dark { background: var(--anthracite-100); color: #fff; }
.cmp-section h2 { font-family: var(--font-display); font-weight: 600; font-size: 42px; letter-spacing: -0.02em; line-height: 1.1; margin: 16px 0; max-width: 800px; }
.cmp-section.dark h2 { color: #fff; }
.cmp-section p.lead { font-size: 19px; color: var(--color-text-muted); line-height: 1.55; max-width: 720px; margin-bottom: 48px; }
.cmp-section.dark p.lead { color: rgba(255,255,255,0.72); }

/* Compare tables — 2-column "vs" pattern */
.vs-table { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--color-border); border-left: 1px solid var(--color-border); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-md); }
.cmp-section.alt .vs-table { background: #fff; }
.cmp-section.dark .vs-table { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.10); box-shadow: none; }
.vs-table .head { padding: 18px 24px; background: var(--off-white-60); border-right: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-subtle); font-weight: 600; }
.vs-table .head.right { background: var(--anthracite-100); color: var(--green-100); border-right: none; }
.cmp-section.dark .vs-table .head { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.55); border-right-color: rgba(255,255,255,0.10); border-bottom-color: rgba(255,255,255,0.10); }
.cmp-section.dark .vs-table .head.right { background: rgba(97,206,112,0.10); color: var(--green-100); }
.vs-table .head .ic { width: 24px; height: 24px; border-radius: 6px; background: rgba(0,0,0,0.06); display: flex; align-items: center; justify-content: center; }
.vs-table .head.right .ic { background: rgba(97,206,112,0.18); }
.vs-table .head svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.vs-table .cell { padding: 22px 24px; border-right: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); font-size: 17px; line-height: 1.5; display: flex; align-items: center; gap: 14px; }
.vs-table .cell.right { border-right: none; font-weight: 600; color: var(--anthracite-100); }
.cmp-section.dark .vs-table .cell { border-right-color: rgba(255,255,255,0.10); border-bottom-color: rgba(255,255,255,0.10); color: rgba(255,255,255,0.78); }
.cmp-section.dark .vs-table .cell.right { color: #fff; }
.vs-table .cell .mk { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.vs-table .cell.left .mk { background: rgba(217, 90, 80, 0.14); color: #C04032; }
.vs-table .cell.right .mk { background: var(--green-20); color: #1E7A2B; }
.cmp-section.dark .vs-table .cell.right .mk { background: rgba(97,206,112,0.18); color: var(--green-100); }
.vs-table .cell .mk svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.vs-table .cell.left { color: var(--color-text-muted); }

.vs-cta { margin-top: 28px; }
.vs-cta a { font-size: 15px; font-weight: 600; color: var(--anthracite-100); display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.cmp-section.dark .vs-cta a { color: var(--green-100); }
.vs-cta a svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform 150ms; }
.vs-cta a:hover svg { transform: translateX(4px); }

/* "Doing nothing" — different visual treatment, more emotional */
.nothing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.nothing-col { padding: 36px; border-radius: 18px; }
.nothing-col.bad { background: #fff; border: 1px solid var(--color-border); position: relative; }
.nothing-col.bad::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(to bottom, #C04032, #E0A62B); border-radius: 18px 0 0 18px; }
.nothing-col.good { background: linear-gradient(135deg, var(--anthracite-100), #2A323D); color: #fff; position: relative; overflow: hidden; }
.nothing-col.good::before { content: ""; position: absolute; right: -100px; top: -100px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(97,206,112,0.18), transparent 60%); pointer-events: none; }
.nothing-col h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; margin-bottom: 6px; letter-spacing: -0.01em; }
.nothing-col .sb { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-subtle); margin-bottom: 24px; }
.nothing-col.good .sb { color: var(--green-100); }
.nothing-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.nothing-col ul li { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-top: 1px dashed var(--color-border); font-size: 16px; line-height: 1.5; }
.nothing-col.good ul li { border-top-color: rgba(255,255,255,0.12); }
.nothing-col ul li:last-child { border-bottom: 1px dashed var(--color-border); }
.nothing-col.good ul li:last-child { border-bottom-color: rgba(255,255,255,0.12); }
.nothing-col .ic { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.nothing-col.bad .ic { background: rgba(217,90,80,0.14); color: #C04032; }
.nothing-col.good .ic { background: rgba(97,206,112,0.20); color: var(--green-100); }
.nothing-col .ic svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.nothing-col.bad li { color: var(--color-text-muted); }
.nothing-col.good li { color: rgba(255,255,255,0.92); }

/* Why teams switch — 4 cards */
.switch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.switch-card { padding: 32px 28px 36px; background: #fff; border: 1px solid var(--color-border); border-radius: 16px; transition: all 180ms var(--ease-standard); }
.switch-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--anthracite-40); }
.switch-card .num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-100); font-weight: 700; }
.switch-card .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--anthracite-100); color: var(--green-100); display: flex; align-items: center; justify-content: center; margin: 18px 0 22px; }
.switch-card .ic svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.switch-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 22px; margin-bottom: 10px; letter-spacing: -0.01em; }
.switch-card p { font-size: 15px; color: var(--color-text-muted); line-height: 1.55; }

/* Real outputs — side-by-side document comparison */
.outputs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.doc-stage { padding: 28px; border-radius: 18px; min-height: 540px; position: relative; display: flex; flex-direction: column; gap: 18px; }
.doc-stage.bad { background: #F4ECDC; border: 1px solid #DAC9A2; }
.doc-stage.good { background: linear-gradient(135deg, #F1F5F2, #E7EFE8); border: 1px solid var(--color-border); }
.doc-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-subtle); font-weight: 700; display: flex; align-items: center; gap: 10px; }
.doc-label.bad { color: #8A6518; }
.doc-label.good { color: #1E7A2B; }
.doc-label i { width: 8px; height: 8px; border-radius: 50%; }
.doc-label.bad i { background: #E0A62B; }
.doc-label.good i { background: var(--green-100); }

/* Manual / messy doc */
.messy-doc { background: #FFFBF1; border: 1px dashed #C7B68A; padding: 26px; flex: 1; transform: rotate(-1.2deg); position: relative; box-shadow: 0 8px 24px rgba(120,85,30,0.10); }
.messy-doc::before { content: "Property Inspection — Final.docx"; position: absolute; top: -12px; left: 18px; background: #fff; padding: 2px 10px; font-family: var(--font-mono); font-size: 10px; color: var(--color-text-subtle); border: 1px solid #C7B68A; }
.messy-doc h5 { font-family: 'Times New Roman', Times, serif; font-size: 18px; font-weight: 700; margin-bottom: 4px; color: #2A2A2A; }
.messy-doc .sb { font-family: 'Times New Roman', Times, serif; font-size: 12px; color: #555; margin-bottom: 14px; font-style: italic; }
.messy-doc .sect { margin-bottom: 14px; }
.messy-doc .sect-h { font-family: 'Times New Roman', Times, serif; font-weight: 700; font-size: 13px; text-decoration: underline; margin-bottom: 4px; }
.messy-doc .sect p { font-family: 'Times New Roman', Times, serif; font-size: 12px; line-height: 1.45; color: #2A2A2A; }
.messy-doc .sect p .crossed { text-decoration: line-through; color: #888; }
.messy-doc .sect p .red { color: #B23030; font-weight: 700; }
.messy-doc .imgs { display: flex; gap: 6px; margin-top: 8px; }
.messy-doc .imgs div { width: 50px; height: 38px; background: #C7C2B0; border: 1px dashed #888; }
.messy-doc .imgs div.broken { background: repeating-linear-gradient(45deg, #DDD, #DDD 4px, #C7C2B0 4px, #C7C2B0 8px); }
.messy-doc .imgs div.broken::after { content: "?"; display: flex; align-items: center; justify-content: center; height: 100%; font-family: 'Times New Roman'; color: #888; font-weight: 700; font-size: 16px; }
.messy-doc .stamp { position: absolute; right: -10px; top: 14px; padding: 4px 10px; font-family: 'Times New Roman', Times, serif; font-size: 11px; color: #B23030; border: 2px solid #B23030; transform: rotate(8deg); font-weight: 700; letter-spacing: 0.04em; opacity: 0.85; }
.messy-doc .scribble { font-family: 'Comic Sans MS', cursive; color: #B23030; font-size: 11px; transform: rotate(-2deg); display: inline-block; margin-top: 4px; }

.messy-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.messy-meta .pin { padding: 4px 10px; border-radius: 4px; background: rgba(176,48,48,0.10); color: #8A2A2A; font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.04em; border: 1px solid rgba(176,48,48,0.25); }
.messy-meta .pin.amber { background: rgba(224,166,43,0.12); color: #8A6518; border-color: rgba(224,166,43,0.30); }

/* Clean structured report */
.clean-doc { background: #fff; border-radius: 12px; flex: 1; box-shadow: 0 20px 50px -10px rgba(54,62,72,0.15); overflow: hidden; }
.clean-doc .ck-cover { padding: 18px 22px; background: linear-gradient(135deg, var(--anthracite-100), #2A323D); color: #fff; display: flex; justify-content: space-between; align-items: center; }
.clean-doc .ck-cover .lo { display: flex; align-items: center; gap: 8px; }
.clean-doc .ck-cover .lo .sq { width: 18px; height: 18px; border-radius: 4px; background: var(--green-100); }
.clean-doc .ck-cover .lo .nm { font-family: var(--font-display); font-weight: 700; font-size: 12px; }
.clean-doc .ck-cover .meta { font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,0.6); letter-spacing: 0.06em; }
.clean-doc .ck-h { padding: 16px 22px 14px; }
.clean-doc .ck-h .kind { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-100); font-weight: 700; }
.clean-doc .ck-h h6 { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--anthracite-100); letter-spacing: -0.015em; margin: 4px 0 4px; }
.clean-doc .ck-h p { font-family: var(--font-mono); font-size: 10px; color: var(--color-text-subtle); letter-spacing: 0.04em; }
.clean-doc .ck-stats { padding: 0 22px 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.clean-doc .ck-stat { padding: 10px; background: var(--off-white-60); border-radius: 6px; border: 1px solid var(--color-border); }
.clean-doc .ck-stat .l { font-family: var(--font-mono); font-size: 9px; color: var(--color-text-subtle); letter-spacing: 0.08em; text-transform: uppercase; }
.clean-doc .ck-stat .v { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1; color: var(--anthracite-100); margin-top: 4px; }
.clean-doc .ck-row { display: grid; grid-template-columns: 1fr 70px; gap: 12px; align-items: center; padding: 10px 22px; border-top: 1px dashed var(--color-border); }
.clean-doc .ck-row .nm { font-family: var(--font-display); font-weight: 600; font-size: 12px; color: var(--anthracite-100); }
.clean-doc .ck-row .nm sub { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 9px; color: var(--color-text-subtle); margin-top: 2px; letter-spacing: 0.04em; }
.clean-doc .ck-pin { padding: 4px 8px; border-radius: 999px; text-align: center; font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.04em; }
.clean-doc .ck-pin.g { background: var(--color-success-soft); color: #2C7C3E; }
.clean-doc .ck-pin.f { background: var(--color-warning-soft); color: #8A6518; }
.clean-doc .ck-foot { display: flex; align-items: center; gap: 8px; padding: 12px 22px; background: var(--off-white-60); border-top: 1px solid var(--color-border); font-family: var(--font-mono); font-size: 10px; color: var(--color-text-subtle); letter-spacing: 0.04em; }
.clean-doc .ck-foot .hash { color: var(--anthracite-100); font-weight: 700; }

.clean-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.clean-meta .pin { padding: 4px 10px; border-radius: 999px; background: var(--green-20); color: #1E7A2B; font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.04em; }

/* Use case tie-in cards */
.cmp-section .uc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cmp-section .uc-card { padding: 26px; background: #fff; border: 1px solid var(--color-border); border-radius: 14px; text-decoration: none; color: inherit; transition: all 180ms var(--ease-standard); display: flex; flex-direction: column; gap: 12px; }
.cmp-section .uc-card:hover { transform: translateY(-2px); border-color: var(--anthracite-40); box-shadow: var(--shadow-md); }
.cmp-section .uc-card .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--off-white-100); display: flex; align-items: center; justify-content: center; transition: all 180ms; }
.cmp-section .uc-card:hover .ic { background: var(--green-20); }
.cmp-section .uc-card .ic svg { width: 20px; height: 20px; stroke: var(--anthracite-100); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.cmp-section .uc-card:hover .ic svg { stroke: #1E7A2B; }
.cmp-section .uc-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.cmp-section .uc-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.5; flex: 1; }
.cmp-section .uc-card .go { font-size: 13px; font-weight: 600; color: var(--anthracite-100); display: inline-flex; align-items: center; gap: 6px; }
.cmp-section .uc-card:hover .go { color: #1E7A2B; }
.cmp-section .uc-card .go svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform 150ms; }
.cmp-section .uc-card:hover .go svg { transform: translateX(3px); }

/* Final CTA */
.cmp-final-cta { background: var(--gradient-primary); color: #fff; padding: 110px 0; text-align: center; position: relative; overflow: hidden; }
.cmp-final-cta::before {
  content: ""; position: absolute; left: 50%; top: -20%; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(97,206,112,0.18), transparent 60%);
  transform: translateX(-50%); pointer-events: none;
}
.cmp-final-cta .inner { position: relative; z-index: 1; }
.cmp-final-cta h2 { font-family: var(--font-display); font-weight: 600; font-size: 48px; letter-spacing: -0.02em; color: #fff; max-width: 900px; margin: 16px auto; }
.cmp-final-cta p.sup { color: rgba(255,255,255,0.78); font-size: 18px; margin-top: 8px; max-width: 640px; margin-left: auto; margin-right: auto; line-height: 1.55; }
.cmp-final-cta .btns { display: flex; gap: 12px; justify-content: center; margin-top: 32px; }

@media (max-width: 1100px) { .switch-grid, .cmp-section .uc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .vs-table, .nothing-grid, .outputs-grid { grid-template-columns: 1fr; }
  .vs-table .head, .vs-table .cell { border-right: none; }
  .anchor-strip { grid-template-columns: 1fr; gap: 14px; }
  .cmp-hero h1 { font-size: 44px; }
  .cmp-section h2 { font-size: 32px; }
}
@media (max-width: 640px) {
  .switch-grid, .cmp-section .uc-grid { grid-template-columns: 1fr; }
  .cmp-final-cta { padding: 80px 0; }
  .cmp-final-cta h2 { font-size: 32px; }
  .cmp-final-cta .btns { flex-wrap: nowrap; gap: 10px; }
  .cmp-final-cta .btns .btn { flex: 1 1 0; min-width: 0; padding-left: 14px; padding-right: 14px; white-space: nowrap; }
}
