/* RetailsPOS SaaS landing page — colours and sizes follow the vendor reference design. */
:root {
  --lp-bg: oklch(0.986 0.006 250); --lp-soft: oklch(0.975 0.006 250); --lp-panel: oklch(0.992 0.004 250);
  --lp-ink: oklch(0.23 0.03 255); --lp-text: oklch(0.38 0.02 255); --lp-muted: oklch(0.52 0.02 255);
  --lp-line: oklch(0.92 0.012 250); --lp-line-2: oklch(0.89 0.015 250);
  --lp-accent: oklch(0.46 0.18 250); --lp-accent-2: oklch(0.6 0.2 250); --lp-accent-soft: oklch(0.95 0.022 250);
  --lp-accent-ink: oklch(0.36 0.14 250); --lp-navy: oklch(0.24 0.05 255);
  --lp-font: 'Space Grotesk', system-ui, sans-serif; --lp-mono: 'IBM Plex Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--lp-font); color: var(--lp-ink); background: var(--lp-bg); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--lp-ink); margin: 0; line-height: 1.12; letter-spacing: -0.03em; }
.mono { font-family: var(--lp-mono); }
.lp-container { width: min(1232px, 100% - 56px); margin: 0 auto; }
section { scroll-margin-top: 84px; }

/* Buttons */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s; font-family: inherit; white-space: nowrap; }
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 9px; }
.lp-btn-md { padding: 15px 26px; font-size: 15.5px; border-radius: 11px; }
.lp-btn-primary { background: var(--lp-accent); color: #fff; box-shadow: 0 16px 32px -18px oklch(0.46 0.18 250 / .9); }
.lp-btn-dark { background: var(--lp-ink); color: #fff; }
.lp-btn-ghost { background: #fff; color: oklch(0.26 0.03 255); border-color: var(--lp-line-2); }
.lp-btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.lp-btn-accent { background: var(--lp-accent-2); color: #fff; }

/* Header */
.lp-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--lp-line); }
.lp-nav { display: flex; align-items: center; gap: 28px; height: 70px; }
.lp-brand img { height: 32px; width: auto; }
.lp-nav-links { display: flex; gap: 26px; list-style: none; margin: 0 auto; padding: 0; font-size: 14px; font-weight: 500; color: var(--lp-text); }
.lp-nav-links a:hover { color: var(--lp-accent); }
.lp-nav-actions { display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 500; }
.lp-nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.lp-nav-toggle span { display: block; width: 22px; height: 2px; background: var(--lp-ink); margin: 4px 0; }

/* Hero */
.lp-hero { background: linear-gradient(oklch(0.965 0.018 250), oklch(0.988 0.005 250) 70%); padding: 56px 0 44px; text-align: center; }
.lp-eyebrow { display: inline-block; font-family: var(--lp-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; padding: 7px 14px; border: 1px solid oklch(0.9 0.02 250); border-radius: 999px; background: #fff; color: oklch(0.44 0.15 250); }
.lp-hero h1 { font-size: clamp(38px, 5.2vw, 66px); letter-spacing: -0.04em; line-height: 1.02; max-width: 860px; margin: 22px auto 18px; }
.lp-hero-sub { max-width: 620px; margin: 0 auto 28px; color: var(--lp-text); font-size: 17px; }
.lp-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lp-preview { margin: 44px auto 0; background: #fff; border: 1px solid oklch(0.91 0.014 250); border-radius: 18px; box-shadow: 0 50px 90px -60px oklch(0.4 0.1 250 / .7); overflow: hidden; text-align: left; }
.lp-preview-tabs { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--lp-line); align-items: center; flex-wrap: wrap; }
.lp-preview-tab { border: 0; background: transparent; padding: 9px 14px; border-radius: 8px; font: 500 13px var(--lp-font); color: var(--lp-text); cursor: pointer; }
.lp-preview-tab.is-active { background: var(--lp-accent); color: #fff; }
.lp-preview-live { margin-left: auto; font-family: var(--lp-mono); font-size: 11px; color: var(--lp-muted); }
.lp-preview-body { display: grid; grid-template-columns: 230px 1fr; min-height: 380px; }
.lp-preview-aside { background: var(--lp-panel); border-right: 1px solid oklch(0.94 0.01 250); padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.lp-preview-nav { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; font-size: 13.5px; color: var(--lp-text); }
.lp-preview-dot { width: 7px; height: 7px; border-radius: 2px; background: oklch(0.52 0.18 250); opacity: .35; }
.lp-preview-nav.is-active { background: var(--lp-accent-soft); color: var(--lp-accent-ink); font-weight: 600; }
.lp-preview-nav.is-active .lp-preview-dot { opacity: 1; }
.lp-preview-main { padding: 22px; }
.lp-preview-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.lp-preview-head h2 { font-size: 18px; letter-spacing: -0.01em; }
.lp-preview-meta { font-family: var(--lp-mono); font-size: 11px; color: var(--lp-muted); }
.lp-shot { position: relative; border: 1px dashed oklch(0.88 0.02 250); border-radius: 14px; overflow: hidden; height: 270px; background: #fff; }
.lp-shot img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.lp-shot-label { position: absolute; right: 22%; top: 50%; transform: translateY(-50%); font-family: var(--lp-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; border: 1px solid oklch(0.92 0.014 250); background: #fff; padding: 7px 12px; border-radius: 8px; color: var(--lp-text); }
.lp-hero-foot { display: flex; justify-content: center; gap: 14px; align-items: center; margin-top: 20px; font: 12px var(--lp-mono); color: var(--lp-muted); }
.lp-hero-foot button { border: 1px solid var(--lp-line-2); background: #fff; padding: 7px 12px; border-radius: 8px; font: 600 12px var(--lp-mono); cursor: pointer; color: var(--lp-ink); }

/* Stats */
.lp-stats { background: #fff; border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line); padding: 26px 0; }
.lp-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lp-stat { display: flex; gap: 14px; }
.lp-stat-bar { width: 3px; border-radius: 3px; background: oklch(0.7 0.14 250); }
.lp-stat-value { display: block; font-size: 34px; font-weight: 700; letter-spacing: -0.03em; }
.lp-stat-suffix { font-size: 15px; color: var(--lp-accent); font-weight: 600; }
.lp-stat-label { display: block; font-weight: 600; font-size: 14px; }
.lp-stat-note { display: block; font: 11.5px var(--lp-mono); color: var(--lp-muted); }

/* Section heads */
.lp-section { padding: 84px 0; }
.lp-section-white { background: #fff; }
.lp-section-soft { background: var(--lp-soft); }
.lp-kicker { font-family: var(--lp-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: oklch(0.5 0.16 250); margin: 0 0 12px; }
.lp-h2 { font-size: clamp(30px, 3.4vw, 42px); }
.lp-h2-xl { font-size: clamp(32px, 4vw, 48px); max-width: 620px; }
.lp-lede { color: var(--lp-text); max-width: 560px; margin: 14px 0 0; }
.lp-head-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }

/* Reviews */
.lp-quotes-nav { display: flex; gap: 8px; }
.lp-icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--lp-line-2); background: #fff; cursor: pointer; font-size: 15px; color: var(--lp-ink); }
.lp-quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-quote { margin: 0; padding: 26px; border: 1px solid var(--lp-line); border-radius: 16px; background: #fff; display: flex; flex-direction: column; gap: 16px; }
.lp-stars { color: var(--lp-accent); letter-spacing: 3px; font-size: 13px; }
.lp-quote blockquote { margin: 0; color: var(--lp-ink); font-size: 15px; }
.lp-quote figcaption { display: flex; gap: 12px; align-items: center; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--lp-line); }
.lp-avatar { width: 34px; height: 34px; border-radius: 9px; background: var(--lp-accent-soft); color: var(--lp-accent-ink); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.lp-quote-name { display: block; font-weight: 600; font-size: 14px; }
.lp-quote-role { display: block; font-size: 12.5px; color: var(--lp-muted); }
.lp-quotes-pos { font: 11.5px var(--lp-mono); color: var(--lp-muted); margin-top: 18px; }

/* Features */
.lp-features-layout { display: grid; grid-template-columns: 320px 1fr; gap: 24px; margin-top: 36px; align-items: start; }
.lp-feat-tabs { display: flex; flex-direction: column; gap: 8px; max-height: 640px; overflow-y: auto; padding-right: 6px; }
.lp-feat-tab { display: flex; gap: 14px; align-items: center; text-align: left; padding: 13px 16px; border: 1px solid var(--lp-line); border-radius: 14px; background: #fff; cursor: pointer; font-family: inherit; color: var(--lp-ink); }
.lp-feat-tab.is-active { border-color: oklch(0.72 0.13 250); box-shadow: 0 0 0 3px oklch(0.95 0.022 250); }
.lp-feat-icon { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(140deg, oklch(0.56 0.19 250), oklch(0.44 0.17 258)); color: #fff; display: grid; place-items: center; flex: none; font-size: 19px; }
.lp-feat-num { display: block; font: 500 10px var(--lp-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--lp-muted); }
.lp-feat-name { display: block; font-size: 14px; font-weight: 600; }
.lp-feat-panel { border: 1px solid var(--lp-line); border-radius: 20px; background: var(--lp-panel); position: sticky; top: 90px; overflow: hidden; }
.lp-feat-panel-head { padding: 26px 32px 20px; }
.lp-feat-panel-meta { display: flex; align-items: center; gap: 10px; font: 11px var(--lp-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--lp-muted); }
.lp-feat-panel-icon { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(140deg, oklch(0.56 0.19 250), oklch(0.44 0.17 258)); color: #fff; display: grid; place-items: center; font-size: 21px; }
.lp-feat-panel h3 { font-size: 24px; margin-top: 14px; }
.lp-feat-preview-wrap { padding: 0 32px 32px; }
.lp-feat-preview { border: 1px solid oklch(0.93 0.012 250); border-radius: 16px; background: #fff; overflow: hidden; }
.lp-feat-preview-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--lp-line); }
.lp-feat-preview-dot { width: 9px; height: 9px; border-radius: 50%; background: oklch(0.88 0.02 250); }
.lp-feat-preview-label { margin-left: 8px; font: 11px var(--lp-mono); color: var(--lp-muted); }
.lp-feat-preview-body { padding: 14px; min-height: 300px; background: var(--lp-panel); }
.lp-feat-preview-body img { border-radius: 10px; border: 1px solid var(--lp-line); }

/* Product details */
.lp-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.lp-detail { border: 1px solid var(--lp-line); border-radius: 16px; padding: 26px; background: #fff; }
.lp-detail h3 { font-size: 17px; margin-bottom: 14px; letter-spacing: -0.01em; }
.lp-detail ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--lp-text); }
.lp-detail li { display: flex; gap: 8px; }
.lp-detail li span:first-child { color: var(--lp-accent); font-weight: 700; }

/* FAQ */
.lp-faq-inner { display: grid; grid-template-columns: 1fr 1.7fr; gap: 40px 48px; }
.lp-faq-item { border: 1px solid oklch(0.93 0.012 250); border-radius: 14px; background: var(--lp-panel); margin-bottom: 10px; }
.lp-faq-btn { width: 100%; display: flex; justify-content: space-between; gap: 12px; padding: 18px 20px; border: 0; background: none; text-align: left; font: 600 15px var(--lp-font); color: var(--lp-ink); cursor: pointer; }
.lp-faq-sign { color: var(--lp-accent); font-weight: 700; }
.lp-faq-answer { margin: 0; padding: 0 20px 18px; color: var(--lp-text); font-size: 15px; }
.lp-faq-intro a { color: var(--lp-accent); font-weight: 600; }
.lp-faq-intro p:last-child { color: var(--lp-text); }

/* Pricing */
.lp-billing { display: inline-flex; padding: 4px; border: 1px solid var(--lp-line-2); border-radius: 999px; background: #fff; }
.lp-billing button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font: 600 13px var(--lp-font); cursor: pointer; color: var(--lp-text); }
.lp-billing button.is-active { background: var(--lp-ink); color: #fff; }
.lp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; align-items: start; }
.lp-plan { border: 1px solid var(--lp-line); border-radius: 18px; padding: 26px; background: #fff; display: flex; flex-direction: column; }
.lp-plan.is-popular { background: var(--lp-navy); color: rgba(255,255,255,.8); border-color: var(--lp-navy); box-shadow: 0 30px 50px -25px oklch(0.24 0.05 255 / .7); margin-top: -10px; }
.lp-plan.is-popular h3, .lp-plan.is-popular .lp-plan-amount { color: #fff; }
.lp-plan-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 28px; }
.lp-plan-top h3 { font-size: 16px; letter-spacing: -0.01em; }
.lp-plan-badge { font: 600 9.5px var(--lp-mono); letter-spacing: .08em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.35); padding: 4px 8px; border-radius: 999px; }
.lp-plan-price { margin: 18px 0 12px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.lp-plan-was { color: var(--lp-muted); font-size: 13px; }
.lp-plan-amount { font-size: 34px; font-weight: 700; color: var(--lp-ink); letter-spacing: -0.03em; }
.lp-plan-period { font-size: 12.5px; color: var(--lp-muted); }
.lp-plan.is-popular .lp-plan-period, .lp-plan.is-popular .lp-plan-was { color: rgba(255,255,255,.6); }
.lp-plan-blurb { font-size: 14px; margin: 0 0 16px; color: var(--lp-text); }
.lp-plan.is-popular .lp-plan-blurb { color: rgba(255,255,255,.75); }
.lp-plan-features { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.lp-plan-features .tick { color: oklch(0.6 0.15 160); margin-right: 8px; font-weight: 700; }
.lp-plan-cta { margin-top: auto; text-align: center; padding: 12px; border-radius: 10px; background: var(--lp-ink); color: #fff; font-weight: 600; font-size: 14px; }
.lp-plan.is-popular .lp-plan-cta { background: var(--lp-accent-2); }
.display_none { display: none !important; }

/* CTA */
.lp-cta { padding: 0 0 84px; }
.lp-cta-inner { background: var(--lp-navy); color: rgba(255,255,255,.78); border-radius: 24px; padding: 60px 44px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.lp-cta h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin-bottom: 10px; }
.lp-cta p { margin: 0; max-width: 460px; }
.lp-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Contact */
.lp-contact { background: var(--lp-soft); }
.lp-contact-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; align-items: start; }
.lp-contact-info, .lp-contact-form { border: 1px solid var(--lp-line); border-radius: 18px; background: #fff; padding: 30px; box-shadow: 0 1px 2px oklch(0.4 0.02 250 / .03); }
.lp-contact.is-focus .lp-contact-form { box-shadow: 0 0 0 3px var(--lp-accent); }
.lp-contact-info .lp-h2 { font-size: clamp(24px, 2.6vw, 30px); }
.lp-contact-rows { list-style: none; padding: 0; margin: 22px 0 0; }
.lp-contact-row { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--lp-line); }
.lp-contact-icon { width: 42px; height: 42px; border-radius: 12px; background: oklch(0.945 0.018 250); color: var(--lp-accent); display: grid; place-items: center; flex: none; font-size: 19px; }
.lp-contact-row small { display: block; font: 10.5px var(--lp-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--lp-muted); }
.lp-contact-row strong { font-weight: 600; font-size: 14.5px; }
.lp-contact-form h3 { font-size: 20px; }
.lp-hint { font-size: 13px; color: var(--lp-muted); margin: 4px 0 18px; }
.lp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp-field { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 600; }
.lp-field input, .lp-field textarea { font: 400 14px var(--lp-font); padding: 12px 14px; border: 1px solid var(--lp-line-2); border-radius: 10px; outline: none; color: var(--lp-ink); background: #fff; }
.lp-field input:focus, .lp-field textarea:focus { border-color: var(--lp-accent); box-shadow: 0 0 0 3px var(--lp-accent-soft); }
.lp-field .is-invalid { border-color: #ef4444; }
.lp-field-error { color: #dc2626; font-weight: 500; font-size: 12px; }
.lp-contact-message { margin-top: 14px; }
.lp-form-msg { margin-top: 14px; padding: 10px 12px; border-radius: 10px; font-size: 14px; }
.lp-form-msg.is-success { background: #dcfce7; color: #166534; }
.lp-form-msg.is-error { background: #fee2e2; color: #991b1b; }
.lp-map { margin-top: 36px; border-radius: 18px; overflow: hidden; border: 1px solid var(--lp-line); }
.lp-map iframe { width: 100%; height: 340px; border: 0; display: block; }

/* Footer */
.lp-footer { background: var(--lp-navy); color: rgba(255,255,255,.78); padding: 60px 0 26px; }
.lp-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.lp-footer h3 { color: rgba(255,255,255,.55); font: 11px var(--lp-mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.lp-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.lp-footer a:hover { color: #fff; }
.lp-footer-logo { height: 30px; width: auto; }
.lp-footer-blurb { font-size: 14px; margin: 16px 0 0; max-width: 260px; }
.lp-footer-social { display: flex; gap: 10px; margin-top: 18px; }
.lp-footer-social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); display: grid; place-items: center; font-size: 15px; }
.lp-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }

/* Lightbox */
.lp-lightbox { position: fixed; inset: 0; background: oklch(0.2 0.03 255 / .88); display: grid; place-items: center; z-index: 100; opacity: 0; transition: opacity .25s; }
.lp-lightbox.is-open { opacity: 1; }
.lp-lightbox img { max-width: 90vw; max-height: 82vh; border-radius: 12px; }
.lp-lightbox button { position: absolute; background: rgba(255,255,255,.15); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 24px; cursor: pointer; }
.lp-lightbox .lb-close { top: 20px; right: 20px; }
.lp-lightbox .lb-prev { left: 20px; }
.lp-lightbox .lb-next { right: 20px; }
.lp-lightbox .lb-count { position: absolute; bottom: 20px; color: #fff; font-family: var(--lp-mono); font-size: 13px; }

/* Legal */
.lp-legal { padding: 48px 0 84px; }
.lp-legal-card { border: 1px solid var(--lp-line); border-radius: 18px; padding: 30px; background: #fff; }
.lp-legal-card h2 { font-size: 17px; margin: 22px 0 6px; letter-spacing: -0.01em; }
.lp-legal-card p { margin: 0; color: var(--lp-text); }

@media (max-width: 1024px) {
  .lp-nav-links, .lp-nav-actions { display: none; }
  .lp-nav-toggle { display: block; }
  .lp-header.is-open .lp-nav { flex-wrap: wrap; height: auto; padding: 14px 0; }
  .lp-header.is-open .lp-nav-links, .lp-header.is-open .lp-nav-actions { display: flex; flex-direction: column; width: 100%; margin: 0; gap: 12px; align-items: flex-start; }
  .lp-preview-body { grid-template-columns: 1fr; }
  .lp-preview-aside { display: none; }
  .lp-shot-label { display: none; }
  .lp-stats-grid, .lp-quotes-grid, .lp-product-grid, .lp-footer-grid { grid-template-columns: 1fr 1fr; }
  .lp-features-layout, .lp-faq-inner, .lp-contact-inner { grid-template-columns: 1fr; }
  .lp-feat-tabs { flex-direction: row; overflow-x: auto; max-height: none; padding-bottom: 6px; }
  .lp-feat-tab { flex: none; }
  .lp-feat-panel { position: static; }
  .lp-plan.is-popular { margin-top: 0; }
}
@media (max-width: 640px) {
  .lp-container { width: calc(100% - 32px); }
  .lp-stats-grid, .lp-quotes-grid, .lp-product-grid, .lp-footer-grid, .lp-form-grid { grid-template-columns: 1fr; }
  .lp-cta-inner { padding: 32px 24px; }
  .lp-feat-panel-head, .lp-feat-preview-wrap { padding-left: 18px; padding-right: 18px; }
}
