/* Comparison and venue-software pages (src/views/comparePages.js, src/views/venuePages.js), on top of site.css.
   Colours come from the site's own tokens, so light bands and the light theme follow by themselves. */
.cx-hero { max-width: 900px; }
.cx-jump { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cx-jump a { display: block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink) !important; }
.cx-jump a:hover { border-color: var(--teal); }

/* the table */
.cx-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); -webkit-overflow-scrolling: touch; }
.cx-table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 720px; font-size: .95rem; }
.cx-table.cx-two { min-width: 560px; }
.cx-table th, .cx-table td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cx-table thead th { position: sticky; top: 0; background: var(--bg); font-size: 1rem; font-weight: 800; z-index: 2; white-space: nowrap; }
.cx-table thead th a { color: inherit !important; }
.cx-table tbody th { position: sticky; left: 0; background: var(--bg); font-weight: 600; width: 26%; min-width: 170px; z-index: 1; }
.cx-table tbody th a { color: var(--ink) !important; text-decoration-color: var(--line); text-underline-offset: 3px; }
.cx-table tbody tr:last-child > * { border-bottom: 0; }
.cx-table td { color: var(--muted); }
.cx-table .cx-us { background: color-mix(in srgb, var(--teal) 9%, var(--bg)); color: var(--ink); font-weight: 600; }
.cx-table thead .cx-us { box-shadow: inset 0 3px 0 var(--teal); }
.cx-sect th { position: static !important; background: color-mix(in srgb, var(--ink) 5%, var(--bg)) !important; font-size: .78rem; letter-spacing: .02em; color: var(--muted); padding: 8px 16px; }
.cx-y svg { width: 20px; height: 20px; fill: none; stroke: #0E8F86; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; display: block; }
.cx-y svg path { stroke-dasharray: 22; stroke-dashoffset: 0; }
.cx-anim .cx-y svg path { stroke-dashoffset: 22; }
.cx-anim tr.in .cx-y svg path { stroke-dashoffset: 0; transition: stroke-dashoffset .45s ease .1s; }
.cx-n { color: var(--muted); }
.cx-nl { font-size: .85rem; color: var(--muted); opacity: .8; font-style: italic; }
.cx-source { margin-top: 12px; color: var(--muted); max-width: 900px; }

/* what would it cost? */
.cx-costbox { display: grid; gap: 22px; }
.cx-needs { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cx-needs legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.cx-need { position: relative; cursor: pointer; }
.cx-need input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.cx-need span { display: block; padding: 10px 16px 10px 38px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: .95rem; position: relative; transition: border-color .15s, background .15s; }
.cx-need span::before { content: ""; position: absolute; left: 13px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 5px; border: 1.5px solid var(--muted); }
.cx-need input:checked + span { border-color: var(--teal); background: color-mix(in srgb, var(--teal) 14%, transparent); }
.cx-need input:checked + span::before { background: var(--teal); border-color: var(--teal); box-shadow: inset 0 0 0 3px var(--bg); }
.cx-need input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 3px; }
.cx-costs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.cx-cost { border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; display: grid; gap: 6px; align-content: start; transition: opacity .2s, transform .2s; }
.cx-cost h3 { margin: 0; font-size: 1.05rem; }
.cx-cost.cx-us { border-color: var(--teal); box-shadow: inset 0 3px 0 var(--teal); }
.cx-cost-p { margin: 0; display: grid; }
.cx-cost-p b { font-size: 2rem; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); }
.cx-cost-p span { color: var(--muted); font-weight: 600; }
.cx-cost-n { margin: 0; color: var(--muted); min-height: 1.2em; }
.cx-cost.none { opacity: .62; }
.cx-cost.none .cx-cost-p b { font-size: 1.15rem; line-height: 1.5; }
.cx-cost.pop .cx-cost-p b { animation: cx-pop .3s ease; }
@keyframes cx-pop { 40% { transform: scale(1.08); } }
.cx-cost-plans { list-style: none; padding: 8px 0 0; margin: 0; color: var(--muted); border-top: 1px dashed var(--line); }
.cx-js .cx-cost-plans { display: none; }
.cx-costnote { color: var(--muted); margin: 0; max-width: 800px; }

/* which suits you */
.cx-who-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; }
.cx-who-tabs button { flex: none; font: inherit; font-weight: 700; padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.cx-who-tabs button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cx-who:not(.cx-js) .cx-who-tabs { display: none; }
.cx-who-p { max-width: 760px; margin-bottom: 26px; }
.cx-who.cx-js .cx-who-p { margin-bottom: 0; }
.cx-who.cx-js .cx-who-p[hidden] { display: none; }
.cx-who-p p { color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.cx-links { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.cx-links a { font-weight: 600; }
.cx-links a::after { content: " ›"; }
.cx-links-row { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; }

/* the walkthrough */
.cx-walk { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 30px; align-items: center; }
.cx-walk-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.cx-walk-b { width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; text-align: left; font: inherit; color: var(--ink); background: transparent; border: 1px solid transparent; border-radius: 16px; padding: 14px 16px; cursor: pointer; }
.cx-walk-b i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; border: 1.5px solid var(--line); color: var(--muted); }
.cx-walk-b b { display: block; font-size: 1.05rem; }
.cx-walk-b em { display: block; font-style: normal; color: var(--muted); font-size: .95rem; line-height: 1.5; margin-top: 2px; }
.cx-walk-b.on { border-color: var(--line); background: color-mix(in srgb, var(--teal) 8%, transparent); }
.cx-walk-b.on i { background: var(--teal); border-color: var(--teal); color: #0B1538; }
.cx-js .cx-walk-b:not(.on) em { display: none; }
.cx-walk-stage { position: relative; display: grid; }
.cx-walk-f { grid-area: 1 / 1; margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 24px 60px rgba(4, 10, 32, .28); align-self: center; justify-self: center; width: 100%; }
.cx-walk-f.is-phone { max-width: 300px; border-radius: 30px; }
.cx-walk-f img { display: block; width: 100%; height: auto; }
.cx-js .cx-walk-f { opacity: 0; transform: translateY(10px) scale(.985); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.cx-js .cx-walk-f.on { opacity: 1; transform: none; pointer-events: auto; }
.cx-walk:not(.cx-js) .cx-walk-f { grid-area: auto; margin-bottom: 14px; }
.cx-walk-bar { position: absolute; left: 12%; right: 12%; bottom: -16px; height: 4px; border-radius: 9px; background: var(--line); overflow: hidden; display: none; }
.cx-js .cx-walk-bar { display: block; }
.cx-walk-bar i { display: block; height: 100%; width: 0; background: var(--teal); }
.cx-walk.run .cx-walk-bar i { animation: cx-bar var(--cx-ms, 5200ms) linear forwards; }
@keyframes cx-bar { to { width: 100%; } }

/* the short answer, each app, more comparisons */
.cx-short { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cx-short-c { border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; }
.cx-short-c h2 { margin: 0 0 12px; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.cx-short-c.cx-us { border-color: var(--teal); box-shadow: inset 0 3px 0 var(--teal); }
.cx-same { columns: 2; column-gap: 40px; max-width: 900px; } .cx-same li { break-inside: avoid; }
.cx-each { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cx-app { border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; background: var(--bg); }
.cx-app.cx-us { grid-column: 1 / -1; border-color: #0E8F86; box-shadow: inset 0 3px 0 #0E8F86; }
.cx-app h3 { margin: 0; font-size: 1.3rem; } .cx-app-p { margin: 2px 0 10px; font-weight: 700; color: var(--muted); }
.cx-app p { color: var(--muted); line-height: 1.6; } .cx-app strong { color: var(--ink); }
.cx-others { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.cx-others .mk-card h3 { margin-top: 0; }
.cx-ours a { font-weight: 600; }

/* disposable cameras calculator */
.cx-cam { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; align-items: start; }
.cx-cam-in { display: grid; gap: 16px; }
.cx-cam-in label { display: grid; gap: 6px; font-weight: 600; }
.cx-cam-in input[type=number] { font: inherit; padding: 11px 13px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); max-width: 160px; }
.cx-cam-in input[type=range] { width: 100%; accent-color: #0E8F86; }
.cx-cam-in output { font-size: 1.5rem; font-weight: 800; }
.cx-cam-in p { color: var(--muted); margin: 0; }
.cx-cam-out { display: grid; gap: 12px; }
.cx-cam-out > div { border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; display: grid; gap: 2px; }
.cx-cam-out > div.cx-us { border-color: #0E8F86; box-shadow: inset 0 3px 0 #0E8F86; }
.cx-cam-out span { font-weight: 700; color: var(--muted); } .cx-cam-out b { font-size: 2.2rem; letter-spacing: -.03em; line-height: 1.15; } .cx-cam-out em { font-style: normal; color: var(--muted); font-size: .95rem; }
.cx-cam-diff { margin: 0; font-weight: 700; font-size: 1.05rem; }

/* venue software pages */
.vs-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.vs-team > div { border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.vs-team h3 { margin: 0 0 6px; font-size: 1.05rem; } .vs-team p { margin: 0; color: var(--muted); line-height: 1.6; }
.vs-sibs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.vs-sibs .mk-card h3 { margin-top: 0; }
.vs-way { max-width: 820px; } .vs-way p { color: var(--muted); font-size: 1.08rem; line-height: 1.7; }

@media (max-width: 860px) {
  .cx-walk { grid-template-columns: minmax(0, 1fr); } .cx-walk-stage { order: -1; margin-bottom: 26px; } .cx-walk-f.is-phone { max-width: 230px; }
  .cx-short, .cx-each, .cx-cam { grid-template-columns: minmax(0, 1fr); } .cx-same { columns: 1; }
  .cx-table th, .cx-table td { padding: 11px 12px; } .cx-table tbody th { min-width: 132px; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .cx-walk-f, .cx-cost, .cx-y svg path { transition: none !important; animation: none !important; } .cx-walk-bar { display: none !important; } }
.site .mk-sec[id] { scroll-margin-top: 90px; }

.cx-short-one { max-width: none; } .cx-short-one h2 { font-size: 1.4rem; }
