/* VendInsights public landing page. Builds on the app's tokens in app.css (light + dark). */
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body.lp { background: var(--surface); font-size: 16px; }
.lp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.lp h1, .lp h2 { color: var(--navy); font-family: var(--font-heading); }
.lp h3 { color: var(--navy); font-family: var(--font-body); font-weight: 600; }
.lp-logo img { height: 40px; width: auto; display: block; }
.lp-footer .lp-logo img { height: 48px; }

/* Nav */
.lp-nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.lp-nav-in { display: flex; align-items: center; gap: 24px; height: 66px; }
.lp-links { display: flex; gap: 26px; flex: 1; justify-content: center; }
.lp-links a, .lp-login { color: var(--text-2); font-weight: 600; font-size: 14.5px; }
.lp-links a:hover, .lp-login:hover { color: var(--text); text-decoration: none; }
.lp-actions { display: flex; align-items: center; gap: 18px; }

/* Hero */
.lp-hero { padding: 72px 0 0; text-align: center; background:
  radial-gradient(1100px 420px at 50% -80px, rgba(0,168,243,.16), transparent 70%), linear-gradient(#F4F7FB, #FFFFFF 60%); }
.lp-eyebrow { color: #E07B00; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 14px; }
.lp-hero h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 800; max-width: 900px; margin: 0 auto; }
.lp-hero h1 em { font-style: normal; color: var(--primary); }
.lp-lede { font-size: clamp(17px, 1.6vw, 19.5px); line-height: 1.6; color: var(--text-2); max-width: 720px; margin: 22px auto 30px; }
.lp-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lp-cta form { margin: 0; }
.lp-btn-lg { padding: 13px 24px; font-size: 15.5px; border-radius: 11px; }
.lp-note { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }
.lp-cta .busy { margin-left: 10px; }

.lp-frame { margin: 0; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); box-shadow: 0 2px 4px rgba(7,27,65,.04), 0 24px 60px -12px rgba(7,27,65,.28); overflow: hidden; }
.lp-frame-bar { display: flex; gap: 6px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.lp-frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.lp-frame img { display: block; width: 100%; height: auto; }
.lp-hero-shot { max-width: 1100px; margin: 54px auto 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; transform: translateY(1px); }

/* Sections */
.lp-section { padding: 96px 0; }
.lp-alt { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.lp-section h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
.lp-section p { color: var(--text-2); line-height: 1.65; }
.lp-small { font-size: 13.5px; color: var(--muted) !important; }

.lp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lp-card { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.lp-card h3 { font-size: 18px; margin: 16px 0 8px; letter-spacing: -0.01em; }
.lp-card p { margin: 0; font-size: 15px; }
.lp-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--hover); }
.lp-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.lp-show { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 56px; align-items: center; }
.lp-rev .lp-show-text { order: 2; }
.lp-show-text h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; }
.lp-checks { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.lp-checks li { position: relative; padding-left: 30px; font-size: 15.5px; color: var(--text); line-height: 1.5; }
.lp-checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #DCFCE7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%2316A34A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }

.lp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--surface); }
.lp-grid > div { padding: 26px 24px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-grid > div:nth-child(4n) { border-right: 0; }
.lp-grid > div:nth-last-child(-n+4) { border-bottom: 0; }
.lp-grid h3 { font-size: 16px; margin-bottom: 6px; }
.lp-grid p { margin: 0; font-size: 14.5px; }

.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.lp-steps li span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--primary); color: #fff; font-weight: 800; margin-bottom: 16px; }
.lp-steps h3 { font-size: 18px; margin-bottom: 8px; }
.lp-steps p { margin: 0; font-size: 15px; }
.lp-sites { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 56px; }
.lp-sites span { border: 1px solid var(--border); border-radius: 999px; padding: 7px 16px; font-size: 14px; font-weight: 600; color: var(--text-2); background: var(--bg); }

.lp-faq-wrap { max-width: 820px; }
.lp-faq details { border-bottom: 1px solid var(--border); padding: 4px 0; }
.lp-faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 17px; padding: 18px 36px 18px 0; position: relative; color: var(--text); }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; font-weight: 400; color: var(--muted); transition: transform .15s; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq details p { margin: 0 0 20px; font-size: 15.5px; }

/* Book a demo */
/* Vend Navy band. */
.lp-demo { background: var(--navy); }
.lp-demo-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.lp-demo .lp-demo-text h2, .lp-demo .lp-demo-text li { color: #ffffff; }
.lp-demo .lp-demo-text p { color: #C7D2E5; }
.lp-demo .lp-eyebrow { color: var(--orange); }
.lp-form { padding: 28px; }
.lp-form .field label { font-size: 13px; }
.lp-form .req { color: var(--bad-text); }
.lp-form .field input, .lp-form .field select, .lp-form .field textarea { padding: 10px 12px; font-size: 15px; }
.lp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lp-thanks h3 { font-size: 20px; margin-bottom: 8px; }
.lp-thanks p { color: var(--text-2); margin: 0 0 18px; }

.lp-footer { padding: 36px 0; border-top: 1px solid var(--border); background: var(--surface); }
.lp-footer-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: space-between; }
.lp-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.lp-footer nav a { color: var(--text-2); font-size: 14px; }
.lp-footer p { margin: 0; color: var(--muted); font-size: 13.5px; }

@media (max-width: 980px) {
  .lp-links { display: none; }
  .lp-nav-in { justify-content: space-between; }
  .lp-cards, .lp-steps { grid-template-columns: minmax(0, 1fr); }
  .lp-show, .lp-demo-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .lp-rev .lp-show-text { order: 0; }
  .lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-grid > div:nth-child(4n) { border-right: 1px solid var(--border); }
  .lp-grid > div:nth-child(2n) { border-right: 0; }
  .lp-grid > div:nth-last-child(-n+4) { border-bottom: 1px solid var(--border); }
  .lp-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
  .lp-section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .lp-wrap { padding: 0 18px; }
  .lp-hero { padding-top: 48px; }
  .lp-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-grid > div { border-right: 0 !important; border-bottom: 1px solid var(--border) !important; }
  .lp-grid > div:last-child { border-bottom: 0 !important; }
  .lp-login { display: none; }
  .lp-cta .btn, .lp-cta form, .lp-cta form .btn { width: 100%; }
  .lp-form { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
