/* LimaPOS Desktop landing page (index.php) - the design of limapos.africa/desktop,
   moved here so this storefront is the one authoritative Desktop page (2026-11-17).
   Sections: tokens, page (from /desktop), refinement layer, site footer, WhatsApp button,
   storefront additions (plans from the admin, downloads, account links). */

/* ---- Site tokens (limapos_web public/assets/css/limapos.css) ---- */
:root { --brand-blue: #3b82f6; --brand-blue-dk: #1d4ed8; --navy: #1e3a5f; --navy-dk: #142640;
        --text-primary: #1e293b; --text-secondary: #475569; --text-muted: #64748b; --text-soft: #94a3b8;
        --border: #e2e8f0; --border-soft: #eef2f7; }

/* ---- Base rules /desktop takes from the site stylesheet ---- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
       font-size: 14px; line-height: 1.5; }
a { color: var(--brand-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { letter-spacing: -0.02em; }
h3 { font-size: 16px; font-weight: 600; color: var(--navy); margin: 0; }
.grid { display: grid; gap: 18px; }

/* ---- Page (limapos_web views/pages/desktop.php) ---- */
:root { --ease-out: cubic-bezier(.23, 1, .32, 1);
        --shadow-card: 0 1px 2px rgba(15,23,42,.05), 0 1px 3px rgba(15,23,42,.04);
        --shadow-float: 0 24px 48px -24px rgba(15,23,42,.24);
        --wa: #128c7e; --wa-dk: #0f7a6e; }
body { margin: 0; background: #fff; color: var(--text-primary, #1e293b);
       font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
::selection { background: #bfdbfe; color: #0f1d2e; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 3px; border-radius: 6px; }
.dk-skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.dk-skip:focus { left: 16px; }
.dk-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.dk-section { padding: 88px 0; }
.dk-section.alt { background: #f6f8fc; }
.dk-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.dk-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase;
              letter-spacing: .12em; color: var(--brand-blue); margin-bottom: 12px; }
.dk-section h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -.025em; color: var(--navy);
                 margin: 0 0 14px; line-height: 1.1; text-wrap: balance; }
.dk-lead { color: var(--text-secondary); font-size: 17px; line-height: 1.55; margin: 0; text-wrap: pretty; }
.dk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 22px;
          border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent;
          transition: background-color .15s var(--ease-out), transform .16s var(--ease-out), border-color .15s var(--ease-out); }
.dk-btn:active { transform: scale(.97); }
.dk-btn.primary { background: var(--brand-blue); color: #fff; }
.dk-btn.primary:hover { background: var(--brand-blue-dk); }
.dk-btn.wa { background: var(--wa); color: #fff; }
.dk-btn.wa:hover { background: var(--wa-dk); }
.dk-btn.line { background: #fff; color: var(--navy); border-color: var(--border, #e2e8f0); }
.dk-btn.line:hover { background: #f8fafc; border-color: #cbd5e1; }

/* ---- Nav (the site's sticky bar) ---- */
.dk-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
          border-bottom: 1px solid var(--border-soft); }
.dk-nav-inner { height: 68px; display: flex; align-items: center; gap: 24px; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.dk-brand { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; color: var(--navy);
            letter-spacing: -.02em; text-decoration: none; }
.dk-brand .dot { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--brand-blue), #4f46e5);
                 box-shadow: 0 4px 14px rgba(59,130,246,.45); position: relative; }
.dk-brand .dot::after { content: "L"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
                        color: #fff; font-weight: 800; font-size: 15px; }
.dk-brand .tag { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-blue);
                 background: #eff6ff; border: 1px solid #dbeafe; padding: 3px 8px; border-radius: 999px; }
.dk-links { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.dk-links > a:not(.dk-btn) { color: var(--text-secondary); font-weight: 600; font-size: 14px; text-decoration: none; }
.dk-links > a:not(.dk-btn):hover { color: var(--navy); }
.dk-links .dk-btn { padding: 9px 16px; font-size: 14px; }
@media (max-width: 860px) { .dk-links .wide { display: none; } }
@media (max-width: 420px) { .dk-brand .tag { display: none; } .dk-links .dk-btn { padding: 9px 12px; } }

/* ---- Hero (the landing page's navy) ---- */
.dk-hero { position: relative; overflow: hidden; color: #fff; padding: 84px 0 0;
           background: radial-gradient(ellipse at 50% 0%, #1e3a5f 0%, #14233a 55%, #0f1d2e 100%); }
.dk-hero::before { content: ""; position: absolute; top: -260px; left: 50%; width: 900px; height: 600px; transform: translateX(-50%);
                   border-radius: 50%; background: radial-gradient(circle, rgba(59,130,246,.28), transparent 65%); filter: blur(40px); }
/* The light band the product window sits on, so it reads as standing on the page. */
.dk-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: #fff; }
.dk-hero .dk-wrap { position: relative; z-index: 1; }
.dk-hero-copy { text-align: center; max-width: 820px; margin: 0 auto; }
.dk-hero h1 { font-size: clamp(34px, 5.6vw, 58px); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; margin: 0 0 20px; text-wrap: balance; }
.dk-hero h1 .soft { color: #93c5fd; }
.dk-hero .lead { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: #cfe0f2; margin: 0 auto 30px; max-width: 40em; text-wrap: pretty; }
.dk-hero .lead strong { color: #fff; }
.dk-hero .lead a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.dk-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.dk-hero-cta .dk-btn.ghost { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.30); }
.dk-hero-cta .dk-btn.ghost:hover { background: rgba(255,255,255,.18); }

/* ---- The product: LimaPOS Desktop's till screen, drawn in its own
   palette (core/style.py: navy sidebar, brand blue, emerald M-Pesa).
   HTML, not a picture, so it is sharp on every screen. Sample data. ---- */
.dk-stage { position: relative; max-width: 1060px; margin: 52px auto 0; padding: 0 0 56px; }
.dk-app { position: relative; z-index: 2; background: #eef2f7; border-radius: 14px; overflow: hidden; color: #0f172a;
          border: 1px solid rgba(255,255,255,.16);
          box-shadow: 0 50px 100px -30px rgba(2,8,23,.65), 0 24px 48px -24px rgba(2,8,23,.45); }
.dk-app .chrome { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 0 0 14px; background: #fff;
                  border-bottom: 1px solid #e2e8f0; font-size: 12px; color: #475569; font-weight: 600; }
.dk-app .chrome .mark { width: 16px; height: 16px; border-radius: 5px; background: linear-gradient(135deg, #3b82f6, #4f46e5);
                        color: #fff; font-size: 10px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.dk-app .chrome .ctl { margin-left: auto; display: flex; height: 100%; }
.dk-app .chrome .ctl i { width: 44px; display: flex; align-items: center; justify-content: center; color: #64748b; font-style: normal; font-size: 13px; }
.dk-app .chrome .ctl i:last-child { color: #94a3b8; }
.dk-app .shell { display: grid; grid-template-columns: 178px 1fr 318px; min-height: 452px; }
.dk-app .side { background: #16253d; padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.dk-app .side .biz { color: #fff; font-weight: 800; font-size: 14px; padding: 4px 10px 2px; }
.dk-app .side .bizs { color: #9aa6c0; font-size: 11px; padding: 0 10px 12px; margin-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.08); }
.dk-app .side span { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: #cfd6e4; font-size: 13px; font-weight: 600; }
.dk-app .side span svg { opacity: .8; }
.dk-app .side span.on { background: rgba(59,130,246,.22); color: #fff; box-shadow: inset 3px 0 0 #3b82f6; }
.dk-app .side span.on svg { opacity: 1; }
.dk-app .main { padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.dk-app .top { display: flex; gap: 10px; align-items: center; }
.dk-app .search { flex: 1; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #cbd5e1; border-radius: 10px;
                  padding: 9px 12px; color: #94a3b8; font-size: 13px; }
.dk-app .chip-off { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 10px; font-size: 12px; font-weight: 700;
                    background: #d1fae5; color: #065f46; white-space: nowrap; }
.dk-app .chip-off::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #10b981; }
.dk-app .cats { display: flex; gap: 6px; flex-wrap: wrap; }
.dk-app .cats b { font-size: 12px; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: #fff; color: #475569; border: 1px solid #e2e8f0; }
.dk-app .cats b.on { background: #1e3a5f; border-color: #1e3a5f; color: #fff; }
.dk-app .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.dk-app .tile { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.dk-app .tile .sw { height: 46px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; letter-spacing: -.01em; }
.dk-app .tile .n { font-size: 12.5px; font-weight: 700; color: #0f172a; line-height: 1.25; }
.dk-app .tile .p { font-size: 13px; font-weight: 800; color: #1d4ed8; white-space: nowrap; }
.dk-app .tile .s { font-size: 11.5px; font-weight: 600; color: #94a3b8; margin-top: -3px; white-space: nowrap; }
.dk-app .tile.low .s { color: #b45309; }
.dk-app .tile.sel { border-color: #3b82f6; box-shadow: 0 0 0 2px #bfdbfe; }
.dk-app .cart { background: #fff; border-left: 1px solid #e2e8f0; display: flex; flex-direction: column; }
.dk-app .cart .h { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid #eef2f7; }
.dk-app .cart .h b { font-size: 14px; color: #0f172a; }
.dk-app .cart .h span { font-size: 11.5px; color: #94a3b8; font-weight: 600; }
.dk-app .cart .items { padding: 4px 16px; flex: 1; }
.dk-app .cart .it { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 9px 0; border-bottom: 1px dashed #e2e8f0; }
.dk-app .cart .it b { font-size: 13px; color: #0f172a; }
.dk-app .cart .it em { font-style: normal; font-size: 13px; font-weight: 700; color: #1e3a5f; grid-row: span 2; align-self: center; }
.dk-app .cart .it small { font-size: 11.5px; color: #94a3b8; }
.dk-app .cart .sum { padding: 10px 16px 0; font-size: 12.5px; color: #475569; }
.dk-app .cart .sum p { display: flex; justify-content: space-between; margin: 0 0 6px; }
.dk-app .cart .tot { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 16px 12px; margin-top: 4px; border-top: 1px solid #eef2f7; }
.dk-app .cart .tot span { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #64748b; }
.dk-app .cart .tot strong { font-size: 26px; font-weight: 800; color: #1e3a5f; letter-spacing: -.02em; }
.dk-app .cart .pay { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 0 16px 16px; }
.dk-app .cart .pay b { text-align: center; padding: 12px 6px; border-radius: 10px; font-size: 13px; }
.dk-app .cart .pay .cash   { background: #1e3a5f; color: #fff; }
.dk-app .cart .pay .mpesa  { background: #10b981; color: #fff; }
.dk-app .cart .pay .credit { background: #eff6ff; color: #1d4ed8; }
.dk-app .status { display: flex; gap: 18px; align-items: center; padding: 8px 14px; background: #fff; border-top: 1px solid #e2e8f0;
                  font-size: 11.5px; color: #64748b; font-weight: 600; }
.dk-app .status .ok { color: #047857; display: inline-flex; align-items: center; gap: 6px; }
.dk-app .status .ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #10b981; }
.dk-app .status .r { margin-left: auto; }
/* Two callouts on the window's edges: the point of the product, said plainly. */
.dk-call { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; background: #fff; color: #0f172a;
           border-radius: 14px; padding: 12px 16px 12px 12px; box-shadow: 0 22px 44px -16px rgba(2,8,23,.45), 0 0 0 1px rgba(15,23,42,.06); }
.dk-call .ci { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dk-call b { display: block; font-size: 13.5px; }
.dk-call span { display: block; font-size: 12px; color: #64748b; margin-top: 1px; }
.dk-call.a { left: -34px; bottom: 112px; }
.dk-call.a .ci { background: #d1fae5; color: #047857; }
/* Sits on the window's title bar, in the empty stretch before the window
   buttons, so it never covers anything in the till itself. */
.dk-call.b { right: 150px; top: -30px; }
.dk-call.b .ci { background: #eff6ff; color: #1d4ed8; }
/* Narrower: inside the window, in the empty sidebar space under Settings, clear of the status bar. */
@media (max-width: 1140px) { .dk-call.a { left: 12px; bottom: 110px; } }
@media (max-width: 980px) {
  .dk-app .shell { grid-template-columns: 1fr 300px; }
  .dk-app .side { display: none; }
  .dk-app .grid { grid-template-columns: repeat(3, 1fr); }
  .dk-call { display: none; }
}
@media (max-width: 720px) {
  .dk-hero { padding-top: 60px; }
  .dk-stage { margin-top: 40px; padding-bottom: 40px; }
  .dk-app .shell { grid-template-columns: 1fr; min-height: 0; }
  .dk-app .main { display: none; }
  .dk-app .cart { border-left: 0; }
  .dk-app .status .r, .dk-app .status .sh, .dk-app .chrome .t2 { display: none; }
}
@media (max-width: 560px) { .dk-hero-cta { flex-direction: column; align-items: stretch; } }
/* Hero copy, restrained like LimaPOS and Tours (Apple / Emil Kowalski): a
   quiet kicker, a semibold headline, one sentence, a pill and a text link. */
.dk-hero { padding-top: 104px; }
.dk-kicker { display: block; font-size: 15px; font-weight: 500; letter-spacing: -.005em; color: rgba(255,255,255,.6); }
.dk-kicker .off { color: #a7f3d0; }
.dk-hero h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.06; letter-spacing: -.04em; font-weight: 600; margin: 12px 0 18px; }
.dk-hero .lead { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; letter-spacing: -.005em; color: rgba(255,255,255,.66);
                 max-width: 34em; margin: 0 auto 32px; }
.dk-hero .lead strong { color: #fff; font-weight: 500; }
.dk-hero .lead a { color: rgba(255,255,255,.86); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); }
.dk-hero .lead a:hover { color: #fff; }
.dk-hero-cta { gap: 22px; align-items: center; }
.dk-hero-cta .dk-btn.wa { padding: 11px 20px; border-radius: 999px; font-size: 15px; font-weight: 500; letter-spacing: -.005em;
                          box-shadow: 0 1px 2px rgba(2,8,23,.25), inset 0 1px 0 rgba(255,255,255,.12); }
.dk-hero-cta .dk-btn.wa svg { width: 18px; height: 18px; }
.dk-hero-cta .dk-btn.ghost { padding: 11px 2px; border: 0; border-radius: 0; background: none; font-size: 15px; font-weight: 500;
                             letter-spacing: -.005em; color: #93c5fd; gap: 0; transition: color .2s var(--ease-out); }
.dk-hero-cta .dk-btn.ghost::after { content: "\203A"; display: inline-block; margin-left: 5px; transition: transform .2s var(--ease-out); }
.dk-hero-cta .dk-btn.ghost:hover { color: #bfdbfe; background: none; }
.dk-hero-cta .dk-btn.ghost:hover::after { transform: translateX(2px); }
.dk-hero-cta .dk-btn.wa:active { transform: scale(.97); }
.dk-hero-cta .dk-btn.ghost:active { transform: none; }
@media (max-width: 560px) {
  .dk-hero { padding-top: 56px; }
  .dk-kicker { font-size: 14px; }
  .dk-hero h1 { font-size: 9vw; }
  .dk-hero .lead { font-size: 16px; margin-bottom: 26px; }
  .dk-hero-cta { gap: 4px; align-items: stretch; }
  .dk-hero-cta .dk-btn.wa { justify-content: center; }
  .dk-hero-cta .dk-btn.wa { padding: 13px 20px; }
  .dk-hero-cta .dk-btn.ghost { align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .dk-hero-cta .dk-btn.wa:active, .dk-hero-cta .dk-btn.ghost:hover::after { transform: none; }
}

/* ---- Completely offline ---- */
.dk-section.dk-offline { padding: 24px 0 8px; }
.dk-offline .dk-head { margin-bottom: 40px; }
.dk-offline .dk-ic.big { width: 52px; height: 52px; border-radius: 14px; }

/* ---- Cards and grids ---- */
.dk-grid { display: grid; gap: 20px; }
.dk-grid.g4 { grid-template-columns: repeat(4, 1fr); }
.dk-grid.g3 { grid-template-columns: repeat(3, 1fr); }
.dk-grid.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .dk-grid.g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px)  { .dk-grid.g3 { grid-template-columns: 1fr; } }
@media (max-width: 720px)  { .dk-grid.g2 { grid-template-columns: 1fr; } }
@media (max-width: 560px)  { .dk-grid.g4 { grid-template-columns: 1fr; } }
.dk-card { background: #fff; border: 1px solid var(--border-soft); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-card); }
.dk-card h3 { color: var(--navy); font-size: 17px; font-weight: 700; margin: 14px 0 8px; letter-spacing: -.01em; }
.dk-card p { color: var(--text-secondary); font-size: 14.5px; line-height: 1.6; margin: 0; }
.dk-ic { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; }
.dk-ic.blue   { background: #eff6ff; color: #1d4ed8; }
.dk-ic.green  { background: #ecfdf5; color: #047857; }
.dk-ic.amber  { background: #fffbeb; color: #b45309; }
.dk-ic.violet { background: #f5f3ff; color: #6d28d9; }
.dk-list { list-style: none; padding: 0; margin: 16px 0 22px; display: flex; flex-direction: column; gap: 9px; }
.dk-list li { display: flex; gap: 9px; font-size: 14px; color: var(--text-primary); line-height: 1.45; }
.dk-list li::before { content: ""; flex: 0 0 16px; height: 16px; margin-top: 2px; border-radius: 50%;
                      background: #ecfdf5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 10px no-repeat; }

/* Desktop or browser */
.dk-deploy .chip { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
                   background: #ecfdf5; color: #047857; }
.dk-deploy .top { display: flex; justify-content: space-between; align-items: center; }
.dk-deploy .sub { color: var(--text-muted); font-size: 13px; font-weight: 600; margin: 0 0 10px; }
.dk-deploy h3 { font-size: 21px; margin-top: 16px; margin-bottom: 4px; }

/* Industries */
.dk-ind { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; }
.dk-ind .dk-ic { flex-shrink: 0; }
.dk-ind strong { display: block; color: var(--navy); font-size: 15px; }
.dk-ind span { display: block; color: var(--text-muted); font-size: 13.5px; margin-top: 3px; line-height: 1.45; }
.dk-note { text-align: center; color: var(--text-secondary); font-size: 15px; margin: 26px auto 0; max-width: 46em; line-height: 1.6; }
.dk-note a { font-weight: 700; }

/* Plans (the landing page's plan cards) */
.dk-plan { display: flex; flex-direction: column; padding: 30px 26px; border-radius: 16px; position: relative; }
.dk-plan.featured { border-color: var(--brand-blue); box-shadow: 0 0 0 1px var(--brand-blue), var(--shadow-float); }
.dk-plan .flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand-blue); color: #fff;
                 font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.dk-plan .name { font-weight: 800; font-size: 19px; color: var(--navy); }
.dk-plan .price { margin-top: 12px; display: flex; align-items: baseline; gap: 6px; }
.dk-plan .price strong { font-size: clamp(30px, 3.6vw, 38px); font-weight: 800; color: var(--navy); letter-spacing: -.025em; line-height: 1; }
.dk-plan .dk-list { flex: 1; }
.dk-plan .dk-btn { width: 100%; }
.dk-strip { margin-top: 28px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap;
            background: #fff; border: 1px dashed #b9cfee; border-radius: 16px; padding: 20px 24px; }
.dk-strip p { margin: 0; color: var(--text-secondary); font-size: 14.5px; line-height: 1.55; max-width: 48em; }
.dk-strip strong { color: var(--navy); }

/* Software only / whole setup */
.dk-opt { padding: 28px; }
.dk-opt.featured { border-color: #bfdbfe; background: linear-gradient(180deg, #f8fbff 0%, #fff 70%); }
.dk-opt .tag { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
               color: var(--brand-blue); }
.dk-opt h3 { font-size: 21px; margin-top: 8px; }
.dk-opt .row { display: flex; gap: 10px; flex-wrap: wrap; }
.dk-opt .fine { color: var(--text-muted); font-size: 13px; margin: 14px 0 0; }

/* Complete system */
.dk-sys h3 { margin-top: 12px; }
.dk-sys .blurb { margin-bottom: 12px; }
.dk-sys ul { list-style: none; padding: 0; margin: 0; }
.dk-sys li { padding: 11px 0; border-top: 1px solid var(--border-soft); }
.dk-sys li strong { display: block; color: var(--navy); font-size: 14px; }
.dk-sys li span { display: block; color: var(--text-muted); font-size: 13px; margin-top: 2px; line-height: 1.45; }
.dk-center { text-align: center; margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Steps */
.dk-step .n { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
              background: var(--navy); color: #fff; font-weight: 800; font-size: 15px; }

/* Contact */
.dk-contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; color: #fff; border-radius: 22px;
              padding: 48px; background: radial-gradient(ellipse at 50% 0%, #1e3a5f 0%, #14233a 100%); position: relative; overflow: hidden; }
.dk-contact::before { content: ""; position: absolute; top: -120px; right: -80px; width: 380px; height: 380px; border-radius: 50%;
                      background: radial-gradient(circle, rgba(59,130,246,.30), transparent 65%); filter: blur(30px); }
.dk-contact > * { position: relative; z-index: 1; }
.dk-contact .dk-eyebrow { color: #93c5fd; }
.dk-contact h2 { color: #fff; margin: 0 0 14px; font-size: clamp(26px, 3.4vw, 34px); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.dk-contact p { color: #cfe0f2; font-size: 16px; line-height: 1.6; margin: 0 0 12px; }
.dk-contact p a { color: #fff; font-weight: 700; }
.dk-contact .alt { font-size: 14.5px; color: #9fb7d4; margin: 18px 0 0; }
.dk-ask { display: flex; flex-direction: column; gap: 12px; }
.dk-ask a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; text-decoration: none;
            background: #fff; color: var(--navy); box-shadow: 0 10px 30px -12px rgba(0,0,0,.45);
            transition: transform .16s var(--ease-out), box-shadow .16s var(--ease-out); }
.dk-ask a:hover { transform: translateY(-2px); }
.dk-ask a:active { transform: scale(.98); }
.dk-ask .i { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.dk-ask .wa .i { background: var(--wa); color: #fff; }
.dk-ask .mail .i { background: #eff6ff; color: #1d4ed8; }
.dk-ask .t { display: block; font-weight: 800; font-size: 15.5px; }
.dk-ask .s { display: block; color: var(--text-muted); font-size: 13.5px; margin-top: 2px; word-break: break-all; }
.dk-ask .go { margin-left: auto; color: #94a3b8; }
@media (max-width: 860px) { .dk-contact { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; } }

@media (prefers-reduced-motion: reduce) {
  .dk-btn, .dk-ask a { transition: none; }
  .dk-till { transform: none; }
}

/* ---- Shared refinement layer (same file) ---- */
:root { --rf-ease: cubic-bezier(.23, 1, .32, 1); }
.dk-section h2, .dk-contact h2 { font-weight: 600; letter-spacing: -.035em; line-height: 1.08; font-size: clamp(30px, 3.4vw, 44px); text-wrap: balance; }
.dk-section .dk-eyebrow { text-transform: none; letter-spacing: -.005em; font-size: 15px; font-weight: 500; color: #2563eb; }
.dk-lead { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.55; letter-spacing: -.005em; text-wrap: pretty; }
.dk-contact .dk-eyebrow { color: #93c5fd; }
.dk-section .dk-btn, .dk-contact .dk-ask a { border-radius: 999px;
  transition: background-color .2s var(--rf-ease), border-color .2s var(--rf-ease), color .2s var(--rf-ease), transform .16s var(--rf-ease); }
.dk-section .dk-btn, .dk-contact .dk-ask a { -webkit-tap-highlight-color: transparent; }
@media (hover: hover) and (pointer: fine) {
  .dk-card { transition: transform .3s var(--rf-ease), box-shadow .3s var(--rf-ease); }
  .dk-card { will-change: auto; }
}
.rf-lift:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -18px rgba(15,23,42,.28), 0 1px 3px rgba(15,23,42,.06); }
.rf-press:active { transform: scale(.97); }
.rf-on .rf-rv { opacity: 0; translate: 0 12px; }
.rf-on .rf-rv.rf-in { opacity: 1; translate: none;
  transition: opacity .7s var(--rf-ease) var(--rf-d, 0ms), translate .7s var(--rf-ease) var(--rf-d, 0ms),
              transform .3s var(--rf-ease), box-shadow .3s var(--rf-ease); }
@media (prefers-reduced-motion: reduce) {
  .rf-lift:hover, .rf-press:active { transform: none; }
  .dk-section .dk-btn, .dk-contact .dk-ask a, .dk-card { transition: none; }
}

/* ---- Site footer (limapos_web views/partials/public_footer.php) ---- */
footer.site { background: #0f1d2e; color: #b9cbe2; padding: 56px 0 28px; }
footer.site .container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
footer.site .grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
@media (max-width: 900px) { footer.site .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { footer.site .grid { grid-template-columns: 1fr; gap: 28px; } }
footer.site .brand { color: #fff; }
footer.site .brand-col p { color: #9fb7d4; font-size: 14px; line-height: 1.6; margin: 14px 0 0; max-width: 300px; }
footer.site h4 { color: #fff; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 14px; }
footer.site ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
footer.site ul a { color: #b9cbe2; font-size: 14px; text-decoration: none; }
footer.site ul a:hover { color: #fff; }
footer.site .legal { border-top: 1px solid rgba(255,255,255,.10); padding-top: 22px; display: flex;
                     justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; font-size: 13px; color: #8fa3bd; }
footer.site .legal .links { display: flex; gap: 18px; flex-wrap: wrap; }
footer.site .legal a { color: #9fb2cb; text-decoration: none; }
footer.site .legal a:hover { color: #fff; }

/* ---- Floating WhatsApp button (limapos_web views/partials/whatsapp.php) ---- */
.wa-fab { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 42;
          width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
          background: #128c7e; color: #fff; text-decoration: none;
          box-shadow: 0 1px 2px rgba(15,23,42,.12), 0 10px 24px -8px rgba(15,23,42,.35);
          transition: transform .16s cubic-bezier(.23,1,.32,1), background-color .15s cubic-bezier(.23,1,.32,1),
                      bottom .25s cubic-bezier(.23,1,.32,1);
          animation: wa-in .4s cubic-bezier(.23,1,.32,1) .6s backwards; }
.wa-fab svg { width: 28px; height: 28px; display: block; }
.wa-fab:hover { background: #0f7a6e; }
.wa-fab:active { transform: scale(.94); }
.wa-fab:focus-visible { outline: 3px solid var(--brand-blue, #3b82f6); outline-offset: 3px; }
@keyframes wa-in { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
/* Landing page: clear the sticky "Start free trial" bar, and step aside
   while the mobile menu is open. The bar exists only up to 900px wide
   (landing.php) and comes and goes as the visitor scrolls, so there the
   button stays at the raised height the whole time instead of following it
   up and down; wider screens, which never show the bar, never lift it. */
@media (max-width: 900px) {
  body:has(.m-cta) .wa-fab { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
}
body.nav-open .wa-fab { opacity: 0; pointer-events: none; }
/* Never sit on a form while someone is typing into it. */
body:has(input:focus, textarea:focus, select:focus) .wa-fab { opacity: 0; pointer-events: none; }
/* Phones: sized to the screen, not a fixed 52px, which took 16% of the
   width of a 320px phone. 12% of the width (or 7% of the height on a phone
   turned sideways), never under 44px, the smallest comfortable tap, and
   never over 52px. The icon and the gaps to the edges follow it. A phone
   on its side is wider than 640px but only ~360-430px tall, so short
   screens are sized the same way. */
@media (max-width: 640px), (max-height: 500px) {
  .wa-fab { right: clamp(12px, 4vw, 16px); bottom: calc(clamp(14px, 5vw, 20px) + env(safe-area-inset-bottom, 0px));
            width: clamp(44px, min(12vw, 7vh), 52px); height: clamp(44px, min(12vw, 7vh), 52px); }
  .wa-fab svg { width: clamp(23px, min(6.4vw, 3.7vh), 28px); height: clamp(23px, min(6.4vw, 3.7vh), 28px); }
}
/* Room under the footer's last row so the button never covers its links
   (wide screens keep it in the side margin instead). */
@media (max-width: 1340px) { body footer.site { padding-bottom: 96px; } }
@media (prefers-reduced-motion: reduce) {
  .wa-fab { animation: none; transition: none; }
  .wa-fab:active { transform: none; }
}
@media print { .wa-fab { display: none; } }

/* ---- Storefront additions: admin-driven parts the old page did not have ---- */
/* Arriving from the till's "Get a licence online" button. */
.dk-from-desktop { margin: 22px auto 0; max-width: 34em; padding: 12px 16px; border-radius: 12px; font-size: 14.5px; line-height: 1.5;
                   background: rgba(16,185,129,.14); border: 1px solid rgba(110,231,183,.35); color: #d1fae5; }
.dk-from-desktop strong { color: #fff; font-weight: 600; }

/* Downloads (Admin -> Complete System -> Installer downloads). */
.dk-dl { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.dk-dl .dk-card { display: flex; flex-direction: column; gap: 10px; }
.dk-dl .dk-card h3 { margin-top: 0; }
.dk-dl .meta { color: var(--text-muted); font-size: 13.5px; }
.dk-dl .dk-btn { align-self: flex-start; margin-top: auto; }

/* A single card (cloud card hidden in the admin). */
.dk-grid.dk-single { grid-template-columns: minmax(0, 560px); justify-content: center; }
.dk-grid.g1 { grid-template-columns: minmax(0, 420px); justify-content: center; }

/* Plans: prices and setup fees from the admin. */
.dk-plan .price strong.quote { font-size: clamp(24px, 2.6vw, 28px); }
.dk-plan .price .per { color: var(--text-muted); font-size: 14px; font-weight: 600; }
.dk-plan .billed { color: var(--text-muted); font-size: 13.5px; margin-top: 6px; }
.dk-plan .setup { margin-top: 10px; font-size: 13px; color: var(--text-secondary); background: #f8fafc;
                  border: 1px solid var(--border-soft); border-radius: 10px; padding: 8px 10px; }
.cycle-toggle { display: inline-flex; gap: 4px; margin-top: 18px; padding: 4px; border-radius: 999px; background: #fff;
                border: 1px solid var(--border); }
.cycle-toggle button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font: inherit; font-size: 14px;
                       font-weight: 600; color: var(--text-secondary); cursor: pointer; }
.cycle-toggle button.active { background: var(--navy); color: #fff; }
.cycle-toggle .save { font-size: 12px; color: #059669; }
.cycle-toggle button.active .save { color: #a7f3d0; }

/* Complete system: a price beside a line when the admin publishes one. */
.dk-sys li .price { float: right; font-style: normal; font-weight: 700; color: var(--navy); font-size: 13.5px; margin-left: 10px; }
.dk-sys li .price small { display: block; text-align: right; font-weight: 600; color: var(--text-muted); font-size: 11.5px; }

/* #request (old links) lands at Contact, clear of the sticky bar. */
.dk-anchor { display: block; position: relative; top: -80px; visibility: hidden; }
section[id] { scroll-margin-top: 72px; }

/* Footer brand (the site's logo mark). */
footer.site .brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; text-decoration: none; }
footer.site .brand-dot { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--brand-blue), #4f46e5); position: relative; }
footer.site .brand-dot::after { content: "L"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
                                color: #fff; font-weight: 800; font-size: 14px; }

/* Billing periods (Admin -> Plans & Pricing): discount and per-period price. */
.cycle-toggle { flex-wrap: wrap; justify-content: center; max-width: 100%; }
.dk-plan .was { font-size: 13.5px; color: var(--text-muted); margin-bottom: 2px; }
.dk-plan .was .off { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 700;
                     background: #ecfdf5; color: #047857; }
.dk-plan .price .per { margin-left: 4px; }
.dk-plan [data-period][hidden] { display: none !important; }
