/* Public site sections: hero tabs, industries, step visuals, comparison, contact, footer, mobile bar. */

/* ---- Hero industry tabs ---- */
.hero-visual { width: 100%; max-width: 600px; justify-self: center; }
.niche-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.1rem; }
.niche-tab { font: inherit; font-size: .88rem; font-weight: 600; color: #374151; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; cursor: pointer; }
.niche-tab:hover { border-color: #B8C4D4; }
.niche-tab[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: #fff; }
.niche-tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.stage img { transition: opacity .16s ease; }
.stage.swapping img { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .stage img { transition: none; } }

/* ---- Industries strip ---- */
.niches { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.niches-in { display: flex; align-items: center; gap: 1.25rem; padding-top: 1rem; padding-bottom: 1rem; }
.niches-label { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.niches ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-weight: 600; color: #374151; }
.niches li::before { content: "•"; color: var(--blue); margin-right: .55rem; }
@media (max-width: 700px) { .niches-in { flex-direction: column; align-items: flex-start; gap: .5rem; } .niches ul { gap: .3rem 1rem; font-size: .9rem; } }

/* ---- How it works visuals ---- */
.step { display: flex; flex-direction: column; }
.step-visual { height: 220px; margin: -1.5rem -1.5rem 1.25rem; padding: 1.1rem; background: var(--sky); border-bottom: 1px solid #DCE8F7; border-radius: var(--radius) var(--radius) 0 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sms { width: 100%; max-width: 260px; }
.sms-from { font-size: .72rem; color: var(--muted); margin: 0 0 .25rem .4rem; }
.sms-bubble { background: #E5E7EB; border-radius: 16px 16px 16px 4px; padding: .5rem .75rem; font-size: .82rem; color: #111827; }
.sms-link { margin-top: .4rem; background: #fff; border: 1px solid #E5E7EB; border-radius: 12px; overflow: hidden; font-size: .72rem; color: var(--muted); }
.sms-link img { display: block; width: 100%; height: 62px; object-fit: cover; object-position: top; }
.sms-link span { display: block; padding: .3rem .55rem; }
.doc { width: 100%; max-width: 250px; background: #fff; border: 1px solid #E5E7EB; border-radius: 10px; padding: .8rem .9rem; box-shadow: 0 10px 24px -16px rgba(15, 23, 42, .4); font-size: .78rem; }
.doc-title { font-weight: 700; font-size: .82rem; margin-bottom: .5rem; }
.doc-lines i { display: block; height: 6px; background: #EEF0F3; border-radius: 3px; margin-bottom: 5px; }
.doc-sign { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed #D1D5DB; margin-top: .55rem; padding-top: .45rem; }
.doc-name { font-family: "Segoe Script", "Brush Script MT", cursive; font-size: 1.05rem; color: #1E3A8A; }
.doc-paid { display: flex; justify-content: space-between; align-items: center; margin-top: .4rem; color: #374151; }
.browser.mini { position: relative; width: 100%; max-width: 270px; border-radius: 9px; box-shadow: 0 14px 28px -18px rgba(15, 23, 42, .5); }
.browser.mini .mk-bar { padding: .3rem .45rem; }
.browser.mini .mk-bar > span { width: 6px; height: 6px; }
.browser.mini .mk-url { font-size: .62rem; }
.browser.mini img { display: block; width: 100%; height: 108px; object-fit: cover; object-position: top; }
.live-dot { position: absolute; right: 8px; bottom: 8px; background: #16A34A; color: #fff; font-size: .7rem; font-weight: 700; border-radius: 999px; padding: .15rem .55rem .15rem 1.3rem; }
.live-dot::before { content: ""; position: absolute; left: .5rem; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #BBF7D0; box-shadow: 0 0 0 3px rgba(187, 247, 208, .35); }

/* ---- Comparison ---- */
.compare-wrap { margin-top: 2rem; overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: .9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: .95rem; font-weight: 700; }
.compare thead th small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.compare tbody th { font-weight: 600; color: #374151; width: 22%; }
.compare td { color: #4B5563; }
.compare .us { background: #F3F8FE; color: var(--text); font-weight: 600; }
.compare thead .us { background: var(--blue); color: #fff; }
.compare .yes::before { content: "✓ "; color: var(--green); font-weight: 800; }
.compare .no::before { content: "✕ "; color: #9CA3AF; font-weight: 800; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Lists, CTA ---- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding-left: 1.6rem; position: relative; margin-bottom: .55rem; color: #374151; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.cta-band p { color: #DBEAFE; margin: .5rem 0 0; max-width: 520px; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.cta-call { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---- Contact page ---- */
.site .section .next-h { font-size: 1.2rem; margin: 1.75rem 0 0; }
.next-steps { counter-reset: n; list-style: none; padding: 0; margin: .75rem 0 0; }
.next-steps li { counter-increment: n; position: relative; padding-left: 2.6rem; margin-bottom: 1rem; }
.next-steps li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 1.8rem; height: 1.8rem; border-radius: 9px; background: var(--blue-soft); color: var(--blue-dark); font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.next-steps b { display: block; }
.next-steps span { color: var(--muted); font-size: .95rem; }
.contact-visual { display: flex; gap: 1rem; margin-top: 1.5rem; max-width: 330px; padding-bottom: 1.5rem; }
.contact-visual .phone { flex: 1; }
.contact-visual .phone img { display: block; width: 100%; height: auto; }
.contact-visual .phone:nth-child(2) { transform: translateY(1.5rem); }
@media (max-width: 900px) { .contact-visual { display: none; } }

/* ---- Footer, skip link, mobile bar ---- */
.site-footer { padding: 2.5rem 0 1.5rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-grid h3 { font-size: .95rem; margin-bottom: .6rem; color: var(--text); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .4rem; }
.footer-grid a { color: #4B5563; }
.footer-grid p { max-width: 320px; }
.footer-logo { width: 130px; height: auto; display: block; margin-bottom: .6rem; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.25rem; font-size: .85rem; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
.skip { position: absolute; left: -9999px; top: 0; background: var(--text); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.mobile-bar { display: none; }
@media (max-width: 640px) {
  .has-bar { padding-bottom: 76px; }
  .mobile-bar { display: flex; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(15, 23, 42, .35); }
  .mobile-bar .btn-primary { flex: 1; min-height: 48px; }
  .mobile-call { width: 48px; min-height: 48px; padding: 0; }
}

/* Logo keeps its aspect ratio despite width/height attributes */
.site-header img { height: auto; }
