/* QuPOS website — one stylesheet, light + dark, mobile-first. */
:root {
  --brand: #1756c4;
  --brand-600: #0d3a8c;
  --brand-50: #eaf1fc;
  --accent: #f26a1b;
  --accent-700: #c2410c;
  --bg: #ffffff;
  --bg-alt: #f7f7fb;
  --surface: #ffffff;
  --text: #16182b;
  --muted: #565a75;
  --line: #e3e4ef;
  --shadow: 0 1px 2px rgba(17, 24, 39, .06), 0 8px 24px rgba(17, 24, 39, .08);
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --paper: #ffffff;
  --ink: #111111;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #7fb0ff;
    --brand-600: #a8c8ff;
    --brand-50: #13254a;
    --accent: #ff9a5a;
    --accent-700: #ffb787;
    --bg: #0d0f1c;
    --bg-alt: #13162a;
    --surface: #171a31;
    --text: #eceefb;
    --muted: #a6aac6;
    --line: #2a2e4d;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
    --paper: #fbfbf7;
    --ink: #151515;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--bg); overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.3rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
code, kbd { font-family: var(--mono); font-size: .9em; }
kbd { display: inline-block; padding: .05em .45em; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; background: var(--surface); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; color: #fff; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-700); margin-bottom: .6rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .7rem 1.25rem; border-radius: 12px; font-weight: 650; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .12s ease, background-color .12s ease; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #1756c4; color: #fff; }
.btn-primary:hover { background: #0d3a8c; color: #fff; }
.btn-accent { background: #c2410c; color: #fff; }
.btn-accent:hover { background: #065f46; color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { min-height: 54px; padding: .9rem 1.6rem; font-size: 1.1rem; border-radius: 14px; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.btn .ic { width: 20px; height: 20px; }
.btn-sub { display: block; font-size: .78rem; font-weight: 500; opacity: .9; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.12rem; color: var(--text); text-decoration: none; letter-spacing: -.02em; white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand .logo-mark { flex: none; }
.brand-logo { display: block; height: 42px; width: auto; }
.site-footer .brand-logo { height: 38px; }
.nav { display: none; margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.nav a { display: block; white-space: nowrap; padding: .5rem .7rem; color: var(--text); text-decoration: none; border-radius: 8px; font-weight: 550; font-size: .97rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--brand-50); color: var(--brand); }
.hdr-cta { margin-left: auto; }
.hdr-cta .btn { white-space: nowrap; min-height: 40px; padding: .5rem .9rem; font-size: .95rem; }
.mnav { position: relative; }
.mnav summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); cursor: pointer; color: var(--text); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav-panel { position: absolute; right: 0; top: 52px; width: min(300px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: .5rem; }
.mnav-panel a { display: block; padding: .7rem .9rem; color: var(--text); text-decoration: none; border-radius: 8px; font-weight: 550; }
.mnav-panel a:hover { background: var(--brand-50); color: var(--brand); }
/* The full menu needs ~1100px; narrower screens use the menu button. */
@media (min-width: 1140px) {
  .nav { display: block; }
  .hdr-cta { margin-left: .5rem; }
  .mnav { display: none; }
}
@media (max-width: 420px) { .hdr-cta .btn span.long { display: none; } }

/* Breadcrumbs */
.crumbs { font-size: .88rem; color: var(--muted); padding: 1rem 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: .3rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 740px; margin: 0 auto 2.5rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.page-head { padding: 2rem 0 1rem; }
.page-head .lead { font-size: 1.2rem; color: var(--muted); max-width: 760px; }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); background: radial-gradient(1100px 500px at 85% -10%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%), radial-gradient(700px 400px at 0% 100%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero .lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 640px; }
.hero h1 .hl { color: var(--brand); }
.hero-points { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; color: var(--muted); font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .35rem; }
.hero-points .ic { width: 18px; height: 18px; color: var(--accent-700); }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.02fr 1fr; } }

/* Grid + cards */
.grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid-2 { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); margin-bottom: .6rem; }
.card ul { margin: .4rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: .96rem; }
.card ul li { margin: .2rem 0; }
a.card { display: block; color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--brand); transform: translateY(-2px); color: inherit; }
.card .more { color: var(--brand); font-weight: 650; display: inline-flex; align-items: center; gap: .3rem; }
.card .more .ic { width: 18px; height: 18px; }
.ic-badge { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); color: var(--brand); margin-bottom: .9rem; }
.ic-badge.g { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-700); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0 0; padding: 0; list-style: none; }
.chips li { font-size: .82rem; padding: .2rem .6rem; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 1.8rem; margin: .5rem 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: color-mix(in srgb, var(--accent) 18%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 70% no-repeat; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); counter-reset: s; }
.steps > li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.2rem; position: relative; }
.steps > li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #1756c4; color: #fff; font-weight: 800; margin-bottom: .8rem; }
.steps h3 { margin-bottom: .3rem; }
.steps p { color: var(--muted); margin: 0; }
.howto { counter-reset: h; list-style: none; padding: 0; margin: 0; }
.howto > li { counter-increment: h; position: relative; padding: 0 0 1.4rem 3.2rem; }
.howto > li::before { content: counter(h); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--brand-50); color: var(--brand); font-weight: 800; border: 1px solid var(--line); }
.howto h3 { margin: .25rem 0 .3rem; font-size: 1.08rem; }
.howto p { color: var(--muted); margin: 0; }

/* Print formats */
.formats { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; align-items: flex-end; }
.fmt-list { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin-top: 2rem; }
.fmt-list .card { padding: 1rem 1.1rem; }
.fmt-list b { display: block; }

/* Mockups (MOCKUP: replace with real screenshots later) */
figure { margin: 0; }
figcaption { font-size: .8rem; color: var(--muted); text-align: center; margin-top: .55rem; }
.mock-pos { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; font-size: .78rem; line-height: 1.4; max-width: 640px; margin-inline: auto; width: 100%; }
.mock-pos figcaption { margin: 0; padding: .4rem; border-top: 1px solid var(--line); }
.mp-bar { display: flex; align-items: center; gap: .8rem; background: #1756c4; color: #fff; padding: .5rem .8rem; font-weight: 600; font-size: .78rem; }
.mp-bar .dots { display: inline-flex; gap: 4px; } .mp-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.45); display: block; }
.mp-user { margin-left: auto; opacity: .85; font-weight: 500; white-space: nowrap; }
.mp-bar span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-body { display: grid; grid-template-columns: 1fr; }
@media (min-width: 560px) { .mp-body { grid-template-columns: 1fr 170px; } }
.mp-main { padding: .7rem; min-width: 0; }
.mp-scan { display: flex; gap: .5rem; align-items: center; border: 2px solid var(--brand); border-radius: 8px; padding: .4rem .6rem; color: var(--muted); margin-bottom: .6rem; }
.mp-scan-ic { color: var(--brand); letter-spacing: -1px; font-weight: 900; }
.mp-input { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-table { width: 100%; border-collapse: collapse; }
.mp-table th { text-align: left; font-weight: 650; color: var(--muted); border-bottom: 1px solid var(--line); padding: .3rem .25rem; font-size: .72rem; }
.mp-table td { padding: .35rem .25rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mp-table td:nth-child(2) { white-space: normal; }
.mp-table .n { text-align: right; font-variant-numeric: tabular-nums; }
.mp-table tr.sel td { background: var(--brand-50); }
.mp-keys { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .6rem; }
.mp-keys span { border: 1px solid var(--line); border-radius: 6px; padding: .15rem .4rem; color: var(--muted); font-size: .7rem; }
.mp-keys b { color: var(--text); }
.mp-side { background: var(--bg-alt); border-left: 1px solid var(--line); padding: .7rem; display: flex; flex-direction: column; gap: .45rem; }
.mp-total { background: #1756c4; color: #fff; border-radius: 10px; padding: .6rem .7rem; display: flex; flex-direction: column; }
.mp-total strong { font-size: 1.45rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mp-save { color: #a7f3d0; font-weight: 600; }
.mp-pay { display: flex; justify-content: space-between; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: .35rem .55rem; font-variant-numeric: tabular-nums; }
.mp-change b { color: var(--accent-700); }
.mp-btn { margin-top: auto; background: #c2410c; color: #fff; text-align: center; border-radius: 8px; padding: .5rem; font-weight: 700; }

.bill { display: inline-block; }
.b-paper { background: var(--paper); color: var(--ink); font-family: var(--mono); font-size: 10.5px; line-height: 1.45; padding: 14px 12px 22px; box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,.08); position: relative;
  -webkit-mask: radial-gradient(7px at 50% 100%, transparent 98%, #000) 50% 100% / 14px 100% repeat-x; mask: radial-gradient(7px at 50% 100%, transparent 98%, #000) 50% 100% / 14px 100% repeat-x; }
.bill-3 .b-paper { width: 270px; }
.bill-2 .b-paper { width: 196px; }
.b-c { text-align: center; }
.b-shop { font-weight: 800; font-size: 13px; letter-spacing: .08em; }
.b-hr { border-top: 1px dashed #666; margin: 6px 0; }
.b-row { display: flex; justify-content: space-between; gap: 6px; }
.bill-3 .b-row > span:not(.b-name) { min-width: 36px; text-align: right; }
.bill-3 .b-row > span:first-child { text-align: left; }
.b-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-head { font-weight: 700; }
.b-mrp { color: #555; font-size: 9.5px; margin: -2px 0 2px; }
.b-tot { font-weight: 800; font-size: 12.5px; }
.b-save { text-align: center; font-weight: 800; margin: 6px 0; border: 1px dashed #333; padding: 3px; }
.b-qr { width: 66px; height: 66px; margin: 8px auto 2px; background:
  conic-gradient(#111 25%, #fff 0 50%, #111 0 75%, #fff 0) 0 0 / 11px 11px; border: 5px solid #111; outline: 3px solid #fff; outline-offset: -9px; }
.b-thanks { margin-top: 6px; font-weight: 700; }
.a4 { display: inline-block; }
.a4-paper { width: 210px; height: 297px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,.08); padding: 14px; font-size: 8.5px; display: flex; flex-direction: column; gap: 10px; }
.a4-top { display: flex; gap: 6px; align-items: center; }
.a4-top small { display: block; color: #555; }
.a4-logo { width: 22px; height: 22px; border-radius: 6px; background: #1756c4; flex: none; }
.a4-title { margin-left: auto; font-weight: 800; color: #1756c4; }
.a4-lines { display: grid; gap: 5px; flex: 1; align-content: start; }
.a4-lines i { display: block; height: 9px; background: repeating-linear-gradient(90deg, #e5e7eb 0 52%, transparent 52% 56%, #e5e7eb 56% 70%, transparent 70% 74%, #e5e7eb 74%); border-radius: 2px; }
.a4-lines i:first-child { background: #c7d2fe; }
.a4-hsn { display: flex; justify-content: space-between; border-top: 1px solid #ccc; padding-top: 4px; font-weight: 700; }
.a4-words { font-style: italic; color: #333; }
.a4-paper.a3 { width: 240px; height: 340px; }
.pdf-doc { display: inline-grid; place-items: center; width: 150px; height: 200px; border-radius: 10px; background: var(--paper); color: #b91c1c; box-shadow: var(--shadow); font-weight: 800; font-size: 1.6rem; border: 1px solid rgba(0,0,0,.08); }
.lbl { display: inline-block; }
.lbl-paper { width: 200px; height: 100px; background: var(--paper); color: var(--ink); border-radius: 8px; box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,.1); padding: 6px 10px; display: flex; flex-direction: column; align-items: center; font-family: var(--font); }
.lbl-shop { font-weight: 800; font-size: 9px; letter-spacing: .1em; }
.lbl-name { font-size: 9.5px; }
.lbl-paper .ean { color: var(--ink); display: block; }
.lbl-price { display: flex; width: 100%; justify-content: space-between; font-size: 10px; align-items: baseline; }
.lbl-price b { font-size: 12.5px; }
.mock-stack { display: flex; flex-wrap: wrap; gap: 1.6rem; justify-content: center; align-items: flex-end; }

/* Feature split */
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; } .split.rev > :first-child { order: 2; } }
.kbd-grid { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; padding: 0; list-style: none; }
.kbd-grid li { display: inline-flex; gap: .4rem; align-items: center; font-size: .92rem; color: var(--muted); }

/* DB section */
.db-cards { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.db-card { border-top: 4px solid var(--brand); }
.db-card.g { border-top-color: var(--accent); }

/* Pricing */
.price-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); max-width: 880px; margin: 0 auto; }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 1.8rem; display: flex; flex-direction: column; }
.price.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); position: relative; }
.price .tag { position: absolute; top: -13px; left: 1.6rem; background: #1756c4; color: #fff; font-size: .78rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; }
.price h3 { font-size: 1.15rem; }
.amount { font-size: 2.8rem; font-weight: 850; letter-spacing: -.04em; line-height: 1; margin: .3rem 0 .2rem; }
.amount small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price .ticks { margin: 1.1rem 0 1.4rem; flex: 1; }
.price .btn { width: 100%; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); background: var(--surface); border-radius: 12px; margin: .6rem 0; }
.faq summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq .ans { padding: 0 1.2rem 1.1rem; color: var(--muted); }
.faq h2 { font-size: 1.3rem; margin-top: 2.2rem; }

/* CTA band */
.cta { background: linear-gradient(135deg, #0b2557, #1756c4 55%, #c2410c); color: #fff; border-radius: 22px; padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #e0e7ff; max-width: 620px; margin: 0 auto 1.6rem; font-size: 1.1rem; }
.cta .btn-row { justify-content: center; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.cta .btn-ghost:hover { border-color: #fff; color: #fff; }
.cta .btn-primary { background: #fff; color: #0b2557; }
.cta .btn-primary:hover { background: #e0e7ff; color: #0b2557; }

/* Prose + tables */
.prose { max-width: 780px; }
.prose h2 { margin-top: 2.2rem; font-size: 1.6rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin: .3rem 0; }
.spec { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: .97rem; }
.spec th, .spec td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 34%; color: var(--muted); font-weight: 600; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.hash { font-family: var(--mono); font-size: .85rem; word-break: break-all; }
.note { border-left: 4px solid var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); padding: .9rem 1.1rem; border-radius: 0 10px 10px 0; margin: 1.2rem 0; }
.note.warn { border-left-color: #d97706; background: color-mix(in srgb, #d97706 9%, var(--surface)); }

/* Download hero */
.dl-box { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.4rem, 4vw, 2.4rem); box-shadow: var(--shadow); }
.dl-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; color: var(--muted); font-size: .95rem; margin: 1rem 0 0; padding: 0; list-style: none; }

/* Buy page */
.mid-box { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; background: var(--bg-alt); border: 1px dashed var(--brand); border-radius: 12px; padding: .9rem 1rem; }
.mid-box output { font-family: var(--mono); font-size: 1.1rem; font-weight: 700; word-break: break-all; flex: 1 1 200px; }
.mid-box .btn { min-height: 40px; padding: .45rem .9rem; }
.mid-input { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .6rem; }
.mid-input input { flex: 1 1 220px; min-height: 44px; padding: .5rem .8rem; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-family: var(--mono); }

/* Link lists */
.link-cols { columns: 2 180px; column-gap: 1.5rem; padding: 0; list-style: none; margin: 0; }
.link-cols li { break-inside: avoid; padding: .25rem 0; }

/* Footer */
.site-footer { margin-top: 4rem; border-top: 1px solid var(--line); background: var(--bg-alt); padding: 3rem 0 2rem; font-size: .95rem; }
.foot-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.site-footer h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .35rem 0; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--brand); text-decoration: underline; }
.foot-bottom { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.2rem; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; color: var(--muted); font-size: .88rem; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .cta { display: none; } }

/* Grid children must be allowed to shrink below their content width (prevents horizontal scroll on phones). */
.hero-grid, .split, .grid-2 { grid-template-columns: minmax(0, 1fr); }
.hero-grid > *, .split > *, .grid-2 > *, .grid > *, .mp-body > * { min-width: 0; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); } }
@media (min-width: 900px) { .split, .grid-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.mp-main { overflow-x: auto; }
@media (max-width: 480px) { .mp-table th:nth-child(5), .mp-table td:nth-child(5) { display: none; } .mock-pos { font-size: .72rem; } }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
[hidden] { display: none !important; }

/* Contact page */
.contact-grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; gap: 2rem; } }
.c-cards { display: grid; gap: 1rem; }
.c-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.15rem 1.3rem; }
.c-card .ic-badge { margin: 0; flex: none; }
.c-card h2 { font-size: 1.05rem; margin: .1rem 0 .25rem; }
.c-card p { margin: 0; color: var(--muted); }
.c-card a { color: var(--text); text-decoration: none; font-weight: 600; }
.c-card a:hover { color: var(--brand); }
.c-form { padding: 1.6rem; box-shadow: var(--shadow); }
.c-form h2 { margin-bottom: 1rem; }
.c-form form { display: grid; gap: 1rem; }
.f-grid { display: grid; gap: 1rem; }
@media (min-width: 560px) { .f-grid { grid-template-columns: 1fr 1fr; } }
.c-form label { display: grid; gap: .35rem; font-size: .92rem; font-weight: 600; color: var(--text); }
.c-form .req { color: var(--accent-700); }
.c-card a.dir { color: var(--brand); font-weight: 600; font-size: .95rem; }
.c-form input, .c-form select, .c-form textarea { width: 100%; min-height: 46px; padding: .6rem .8rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-alt); color: var(--text); font: inherit; font-weight: 400; }
.c-form textarea { resize: vertical; min-height: 130px; }
.c-form input:focus, .c-form select:focus, .c-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); background: var(--surface); }
.f-err { margin: 0; color: #b91c1c; font-weight: 600; font-size: .92rem; }
.btn-wa { background: #128c4b; color: #fff; }
.btn-wa:hover { background: #0e6f3b; color: #fff; }
.ic-badge.wa { background: #e7f6ee; color: #128c4b; }
.foot-nap { font-style: normal; margin-top: .8rem; line-height: 1.6; }
.foot-nap a { color: inherit; }

/* Floating WhatsApp button */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.22); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
@media print { .wa-float { display: none; } }
@media (prefers-color-scheme: dark) { .ic-badge.wa { background: #12301f; color: #4ade80; } .f-err { color: #fca5a5; } }

/* Real app screenshots in a window frame */
.app-shot { margin: 0; }
.app-frame { border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 2px 6px rgba(17, 24, 39, .06), 0 24px 60px -12px rgba(23, 86, 196, .28); }
.app-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #0f172a; color: #cbd5e1; font-size: .78rem; font-weight: 600; }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #475569; }
.app-bar i:nth-child(1) { background: #f87171; } .app-bar i:nth-child(2) { background: #fbbf24; } .app-bar i:nth-child(3) { background: #34d399; }
.app-bar span { margin-left: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.app-frame img { display: block; width: 100%; height: auto; }
.app-shot figcaption { margin-top: .8rem; text-align: center; color: var(--muted); font-size: .95rem; }
@media (min-width: 980px) and (prefers-reduced-motion: no-preference) {
  .app-shot.tilt { perspective: 1600px; }
  .app-shot.tilt .app-frame { transform: rotateY(-7deg) rotateX(2deg); transform-origin: left center; transition: transform .5s ease; }
  .app-shot.tilt:hover .app-frame { transform: none; }
}
@media (prefers-color-scheme: dark) { .app-frame { box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .6); } }

/* Screen tour */
.section-tour { background: linear-gradient(180deg, var(--bg) 0%, var(--brand-50) 100%); }
.tour { max-width: 1100px; margin: 0 auto; }
.tour-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1.6rem; }
.tour-tabs button { min-height: 42px; padding: .45rem 1.05rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.tour-tabs button:hover { border-color: var(--brand); color: var(--brand); }
.tour-tabs button[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (prefers-color-scheme: dark) { .tour-tabs button[aria-selected="true"] { color: #0d0f1c; } }
@media (max-width: 560px) { .tour-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: .4rem; scrollbar-width: none; } .tour-tabs button { flex: none; } }

/* Company stats strip */
.stats { background: var(--bg-alt); border-block: 1px solid var(--line); padding: 1.6rem 0 2rem; }
.stats-by { text-align: center; color: var(--muted); font-size: .9rem; margin: 0 0 1.1rem; }
.stats-by b { color: var(--text); }
.stats-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); }
.stats-row li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .55rem; padding: 1.1rem .8rem; }
.stats-row li:nth-child(odd) { border-right: 1px solid var(--line); }
.stats-row li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.stats-row strong { font-size: clamp(2.3rem, 6vw, 3.4rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--brand-600); }
.stats-row span { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); max-width: 32ch; line-height: 1.5; }
@media (min-width: 860px) {
  .stats-row { grid-template-columns: repeat(4, 1fr); }
  .stats-row li { border-bottom: 0 !important; border-right: 1px solid var(--line); padding: 1.4rem 1rem; }
  .stats-row li:last-child { border-right: 0; }
}
@media (prefers-color-scheme: dark) { .stats-row strong { color: #fff; } }
