/*
Theme Name: LOGIN SOFT
Theme URI: https://login-ks.org
Author: LOGIN SOFT
Description: Tema e faqes zyrtare të LOGIN SOFT (ERP për biznese). Moduli, partnerët dhe kontakti menaxhohen nga paneli i WordPress.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: login-soft
*/

:root {
	--ink: #0b2f4d;
	--deep: #0b2f4d;
	--bg: #fff;
	--tint-plum: #fbf1f7;
	--ink-2: #14507a;
	--brand: #0b4b75;
	--plum: #762058;
	--paper: #f3f6f9;
	--white: #fff;
	--line: #d5dee7;
	--muted: #4d5f6e;
	--accent: #762058;
	--link: #0b4b75;
	--on-dark: #f0b8da;
	--plum-ink: #762058;
	--yes: #1a7f4b;
	--radius: 6px;
	--font-head: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
	--font-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
	--font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
html { color-scheme: light dark; }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--link); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 600; line-height: 1.12; }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; max-width: 68ch; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--deep); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 40px); }

/* Buttons */
.btn { display: inline-block; font: 600 1rem/1 var(--font-body); padding: 15px 24px; border-radius: var(--radius); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s; }
.btn--primary { background: var(--plum); color: #fff; }
.btn--primary:hover { background: #8e2a6b; }
.hero .btn--primary { background: #fff; color: var(--deep); }
.hero .btn--primary:hover { background: #e8eef4; }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { border-color: #fff; }
.btn--sm { padding: 11px 18px; font-size: .95rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { max-height: 44px; width: auto; }
.brand .logo--light { display: block; }
.brand .logo--dark { display: none; }
.brand__mark { display: grid; place-items: center; width: 34px; height: 34px; background: var(--deep); color: #fff; font: 600 1.2rem var(--font-head); border-radius: 4px; }
.brand__name { font: 600 1.15rem var(--font-head); letter-spacing: .02em; }
.brand__name b { font-weight: 600; color: var(--link); }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav__list { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav__list a { white-space: nowrap; color: var(--ink); text-decoration: none; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav__list a:hover, .nav__list .current-menu-item a { border-bottom-color: var(--accent); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 44px; height: 44px; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 20px; height: 2px; background: var(--ink); margin: auto; position: relative; content: ""; }
.nav-toggle__bars::before { position: absolute; top: -6px; left: 0; }
.nav-toggle__bars::after { position: absolute; top: 6px; left: 0; }

/* Hero */
.hero { background: var(--deep); color: #fff; padding: 72px 0 80px; }
.hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero__kicker { color: var(--on-dark); font-weight: 600; margin-bottom: 18px; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero__lead { color: #c3d3de; font-size: 1.2rem; max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.ledger { margin: 0; background: var(--white); color: var(--ink); border-radius: var(--radius); border-top: 6px solid var(--accent); padding: 22px 24px 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); transform: rotate(1.2deg); font-variant-numeric: tabular-nums; }
.ledger__head { display: flex; justify-content: space-between; font: 600 .95rem var(--font-head); padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.ledger table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.ledger th { text-align: left; font-weight: 500; color: var(--muted); padding: 10px 0 6px; }
.ledger th:last-child, .ledger td:last-child { text-align: right; }
.ledger td { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.ledger tfoot td { font-weight: 700; border-bottom: 0; border-top: 2px solid var(--ink); padding-top: 10px; }
.ledger__auto { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); }
.ledger__auto li { padding-left: 22px; position: relative; }
.ledger__auto li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 6px; height: 10px; border: solid #1a8a52; border-width: 0 2px 2px 0; transform: rotate(40deg); }
.ledger figcaption { text-align: right; font-size: .75rem; color: var(--muted); margin-top: 8px; }

/* Facts */
.facts { background: var(--paper); border-bottom: 1px solid var(--line); }
.facts__in { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts p { margin: 0; padding: 22px 24px; max-width: none; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); }
.facts p:first-child { border-left: 0; padding-left: 0; }
.facts strong { font: 600 1.8rem var(--font-head); }
.facts span { color: var(--muted); font-size: .95rem; }

/* Sections */
.section { padding: 88px 0; }
.section--tint { background: var(--paper); }
.section__lead { color: var(--muted); font-size: 1.1rem; margin-bottom: 32px; }
.about { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; }
.steps { border-left: 4px solid var(--accent); padding-left: 28px; }
.steps ol { margin: 0; padding-left: 1.2em; }
.steps li { padding: 4px 0; font-weight: 500; }

/* Module tabs */
.tabs { display: grid; grid-template-columns: 230px 1fr; gap: 32px; align-items: start; }
.tabs__list { display: flex; flex-direction: column; gap: 4px; }
.tabs__list [role="tab"] { text-align: left; font: 600 1rem var(--font-body); padding: 13px 16px; background: transparent; border: 1px solid transparent; border-left: 4px solid transparent; border-radius: var(--radius); color: var(--ink-2); cursor: pointer; }
.tabs__list [role="tab"]:hover { background: var(--white); }
.tabs__list [aria-selected="true"] { background: var(--white); border-color: var(--line); border-left-color: var(--accent); color: var(--ink); }
.tabs__panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; margin-bottom: 20px; }
.js .tabs__panel { margin-bottom: 0; }
.tabs__panel[hidden] { display: none; }
.tabs__aud { color: var(--muted); }
.feats { columns: 2 260px; column-gap: 32px; margin: 24px 0; }
.feat { break-inside: avoid; margin-bottom: 20px; }
.feat h4 { font-size: 1rem; padding-top: 10px; border-top: 2px solid var(--ink); margin-bottom: 8px; }
.feat ul { list-style: none; margin: 0; padding: 0; }
.feat li { padding: 3px 0 3px 16px; position: relative; font-size: .98rem; }
.feat li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 8px; height: 2px; background: var(--accent); }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 32px; }
.trio h3 { padding-top: 12px; border-top: 2px solid var(--ink); }
.trio p { color: var(--muted); }

.partners { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.partners li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); min-width: 170px; padding: 22px 28px; display: grid; place-items: center; font: 600 1.1rem var(--font-head); color: var(--ink-2); }
.partners img { max-height: 48px; width: auto; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact__info { margin: 0 0 20px; }
.contact__info dt { font-weight: 600; margin-top: 14px; }
.contact__info dd { margin: 0; color: var(--muted); }
.social a { margin-right: 18px; }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.form label { display: block; font-weight: 600; margin: 14px 0 6px; font-size: .95rem; }
.form label:first-of-type { margin-top: 0; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #9fb0bc; border-radius: var(--radius); background: var(--white); color: var(--ink); }
.form [aria-invalid="true"], .form :user-invalid { border-color: #b3261e; }
.form .btn { margin-top: 20px; }
.form__hp { position: absolute; left: -9999px; }
.form__note { padding: 12px 14px; border-radius: var(--radius); margin-bottom: 18px; max-width: none; }
.form__note--ok { background: #e3f4ea; color: #14532d; }
.form__note--err { background: #fde8e6; color: #7a1a14; }

/* Inner pages */
.page { padding: 64px 0 96px; }
.entry { font-size: 1.1rem; }
.entry h2, .entry h3 { margin-top: 1.6em; }
.post-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.post-item h2 { font-size: 1.5rem; margin-bottom: .2em; }
.post-item h2 a { color: var(--ink); text-decoration: none; }
.meta { color: var(--muted); font-size: .9rem; }
.navigation.pagination { margin-top: 32px; }
.nav-links { display: flex; gap: 14px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--deep); color: #fff; padding: 56px 0 28px; }
.site-footer__in { width: min(1120px, 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; }
.site-footer__brand { font: 600 1.3rem var(--font-head); margin-bottom: 6px; }
.muted-on-dark { color: #b6c7d3; max-width: 44ch; }
.site-footer a { color: #fff; }
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer__copy { grid-column: 1 / -1; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); color: #b6c7d3; font-size: .9rem; max-width: none; }

/* Responsive */
@media (max-width: 900px) {
	.hero__in, .about, .contact, .site-footer__in { grid-template-columns: 1fr; gap: 40px; }
	.ledger { transform: none; max-width: 460px; }
	.tabs { grid-template-columns: 1fr; gap: 16px; }
	.tabs__list { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
	.tabs__list [role="tab"] { white-space: nowrap; border-left-width: 1px; border-bottom: 3px solid transparent; }
	.tabs__list [aria-selected="true"] { border-left-color: var(--line); border-bottom-color: var(--accent); }
	.trio { grid-template-columns: 1fr; gap: 24px; }
	.section { padding: 64px 0; }
}
@media (max-width: 1020px) {
	.nav { margin-left: 0; }
	.tools { margin-left: auto; }
	.nav-toggle { display: block; }
	.nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 16px 20px 22px; flex-direction: column; align-items: flex-start; gap: 16px; }
	.nav.is-open { display: flex; }
	.nav__list { flex-direction: column; gap: 6px; }
}
@media (max-width: 560px) {
	.facts__in { grid-template-columns: 1fr; }
	.facts p { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
	.facts p:first-child { border-top: 0; }
	.tabs__panel, .form { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}


/* ===== Extra pages and features ===== */
.btn--line { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--bg); }
.pagehead { background: var(--deep); color: #fff; padding: 56px 0 52px; }
.pagehead h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: .3em; }
.pagehead p { color: #c3d3de; font-size: 1.15rem; max-width: 60ch; }
.pagehead .crumb { font-size: .95rem; margin-bottom: 10px; }
.pagehead .crumb a { color: var(--on-dark); }
.pagehead__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.pagehead .btn--primary { background: #fff; color: var(--deep); }
.wrap--narrow2 { width: min(900px, 100% - 40px); }
.wrap--narrow2 h2 { margin-top: 1.6em; }
.wrap--narrow2 > h2:first-child { margin-top: 0; }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: block; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); text-decoration: none; color: var(--ink); font-weight: 500; }
.chips a:hover { border-color: var(--plum); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-bottom: 16px; }
.card { display: block; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--plum); border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--ink); }
.card:hover { border-color: var(--brand); border-top-color: var(--plum); }
.card h2, .card h3 { font-size: 1.2rem; }
.card p { color: var(--muted); margin-bottom: .4em; }
.card img { margin-bottom: 12px; border-radius: 4px; }

.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--white); }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare thead th { background: var(--deep); color: #fff; font-family: var(--font-head); }
.compare thead a { color: #fff; }
.compare tbody th { text-align: left; font-weight: 500; }
.compare tbody tr:nth-child(even) { background: var(--paper); }
.compare .yes { color: var(--yes); font-weight: 600; font-size: 1.2rem; }
.compare .no { color: var(--muted); }
.compare__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font: 600 1.1rem var(--font-head); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--plum-ink); font-size: 1.5rem; line-height: 1; }
.faq[open] summary::after { content: "–"; }
.faq__a { padding: 0 0 18px; color: var(--muted); }
.faq__more { margin-top: 28px; }

.plain { padding-left: 1.2em; }
.plain li { padding: 3px 0; }

.quiz { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.quiz__step { color: var(--muted); font-size: .95rem; margin-bottom: 10px; }
.quiz fieldset { border: 0; margin: 0; padding: 0; }
.quiz legend { font: 600 1.5rem var(--font-head); margin-bottom: 16px; padding: 0; }
.quiz__opt { margin-bottom: 8px; }
.quiz__opt input { position: absolute; opacity: 0; }
.quiz__opt label { display: block; padding: 14px 16px; background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.quiz__opt input:checked + label { border-color: var(--plum); background: var(--tint-plum); color: var(--ink); }
.quiz__opt input:focus-visible + label { outline: 3px solid var(--brand); outline-offset: 2px; }
.quiz__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.quiz__kicker { color: var(--plum-ink); font-weight: 600; margin-bottom: 4px; }
.quiz__result h2:focus { outline: none; }
button:disabled, .btn:disabled { opacity: .5; cursor: not-allowed; }

.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.calc__out { background: var(--deep); color: #fff; border-radius: var(--radius); padding: 32px; }
.calc__out .meta { color: #b6c7d3; }
.calc__label { color: var(--on-dark); font-weight: 600; margin-bottom: 4px; }
.calc__big { font: 600 2.4rem/1.1 var(--font-head); margin-bottom: 8px; }
.calc__out .btn--primary { background: #fff; color: var(--deep); }
.form input[type="number"], .form input[type="date"], .form select { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #9fb0bc; border-radius: var(--radius); background: var(--white); color: var(--ink); }
.form input[type="text"][name="log"], .form input[type="password"] { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #9fb0bc; border-radius: var(--radius); }

.badge { font-size: .8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #fde8c8; color: #6b3b00; }
.badge--progress { background: #d6e8f7; color: #0b3d63; }
.badge--done { background: #d9f0e2; color: #14532d; }

.wa { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; align-items: center; gap: 8px; background: #1f7a4d; color: #fff; text-decoration: none; font-weight: 600; padding: 12px 18px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.wa:hover { background: #17633e; }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 560px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }
.consent[hidden] { display: none; }
.consent p { margin-bottom: 12px; }

@media (max-width: 900px) {
	.calc { grid-template-columns: 1fr; }
	.quiz { padding: 22px; }
}
@media (max-width: 560px) {
	.wa span { display: none; }
	.wa { padding: 14px; }
	}


/* ===== Header tools, search, logo variants ===== */
.tools { display: flex; align-items: center; gap: 4px; }
.icon-btn { background: none; border: 1px solid transparent; border-radius: var(--radius); width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink); cursor: pointer; }
.icon-btn:hover { border-color: var(--line); }
.hsearch { border-top: 1px solid var(--line); background: var(--paper); padding: 14px 0; }
.hsearch[hidden] { display: none; }
.searchform { display: flex; gap: 10px; max-width: 640px; margin-bottom: 24px; }
.hsearch .searchform { margin-bottom: 0; }
.searchform input[type="search"] { flex: 1; min-width: 0; font: inherit; padding: 12px 14px; border: 1px solid #9fb0bc; border-radius: var(--radius); background: var(--white); color: var(--ink); }
.results { list-style: none; padding: 0; margin: 0; }
.results li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.results h2 { font-size: 1.3rem; margin: 6px 0 4px; }
.results h2 a { color: var(--ink); }
.results p { color: var(--muted); margin: 0; }

/* ===== Resources: legal, guides, changelog ===== */
.callout { background: var(--paper); border-left: 4px solid var(--plum); border-radius: var(--radius); padding: 18px 22px; margin: 28px 0; }
.callout h2 { font-size: 1.2rem; margin-top: 0; }
.cards--list { grid-template-columns: 1fr; margin-bottom: 24px; }
.guide { display: grid; grid-template-columns: 200px 1fr; gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.guide__cover { border-radius: var(--radius); border: 1px solid var(--line); }
.guide .form { margin-top: 12px; }
.check label { display: block; font-weight: 400; margin: 10px 0 0; font-size: .95rem; }
.check input { margin-right: 8px; }
.rel__month { margin: 36px 0 8px; font-size: 1.3rem; border-bottom: 2px solid var(--ink); padding-bottom: 6px; }
.rel { padding: 16px 0; border-bottom: 1px solid var(--line); }
.rel header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 6px; }
.rel .entry { font-size: 1rem; color: var(--muted); }
.chips a[aria-current="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
@media (max-width: 700px) { .guide { grid-template-columns: 1fr; gap: 16px; } .guide__cover { max-width: 160px; } }

/* ===== Dark mode (follows the device, or the visitor's choice) ===== */
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) { --ink: #f4f7fa; --ink-2: #d6e3ee; --bg: #0a1620; --white: #112331; --paper: #0d1d29; --line: #27394a; --muted: #b3c4d2; --link: #7cc0ec; --tint-plum: #3a1a2f; --plum-ink: #f0b8da; --yes: #4ade80; }
	:root:not([data-theme="light"]) .logo--light { display: none; }
	:root:not([data-theme="light"]) .logo--dark { display: block; }
	:root:not([data-theme="light"]) .form input, :root:not([data-theme="light"]) .form select, :root:not([data-theme="light"]) .form textarea { border-color: #3b5166; }
}
:root[data-theme="dark"] { --ink: #f4f7fa; --ink-2: #d6e3ee; --bg: #0a1620; --white: #112331; --paper: #0d1d29; --line: #27394a; --muted: #b3c4d2; --link: #7cc0ec; --tint-plum: #3a1a2f; --plum-ink: #f0b8da; --yes: #4ade80; }
:root[data-theme="dark"] .logo--light { display: none; }
:root[data-theme="dark"] .logo--dark { display: block; }
:root[data-theme="dark"] .form input, :root[data-theme="dark"] .form select, :root[data-theme="dark"] .form textarea { border-color: #3b5166; }

/* Day / night button: moon in day mode, sun in night mode */
.theme-toggle .icon-sun { display: none; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
	:root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ===== Module pictures, business cycle ===== */
.panel--img { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 32px; align-items: start; }
.panel__media img, .modimg { display: block; width: 100%; height: auto; border-radius: 12px; }
.panel__body .feats { margin-top: 16px; }
.pagehead__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.pagehead__media img { display: block; width: 100%; max-width: 440px; height: auto; border-radius: 14px; margin-left: auto; box-shadow: 0 18px 44px rgba(0, 0, 0, .35); }
.cards--img { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card--img { padding: 14px 14px 20px; }
.card--img img { width: 100%; height: auto; margin-bottom: 12px; border-radius: 8px; }
.card--img h3 { margin: 0 0 4px; }
.about__photo { margin: 0 0 20px -32px; }
.about__photo img { display: block; width: 100%; max-width: 420px; height: auto; border-radius: var(--radius); }
.cycle { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: c; }
.cycle li { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px 16px; display: flex; flex-direction: column; gap: 4px; font-size: .95rem; }
.cycle li:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 50%; width: 10px; height: 10px; border: solid var(--plum); border-width: 2px 2px 0 0; transform: translateY(-50%) rotate(45deg); }
.cycle strong { font: 600 1.1rem var(--font-head); color: var(--ink); }
.cycle span:not(.cycle__n) { color: var(--muted); }
.cycle__n { width: 28px; height: 28px; border-radius: 50%; background: var(--plum); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.cycle__more { margin-top: 20px; color: var(--muted); }
:root[data-theme="dark"] .panel__media img, :root[data-theme="dark"] .pagehead__media img, :root[data-theme="dark"] .card--img img { filter: brightness(.92); }
@media (max-width: 1100px) { .cycle { grid-template-columns: repeat(3, 1fr); } .cycle li:nth-child(3n)::after { display: none; } }
@media (max-width: 900px) { .panel--img { grid-template-columns: 1fr; } .panel__media { max-width: 320px; } .pagehead__grid { grid-template-columns: 1fr; gap: 24px; } .pagehead__media img { margin-left: 0; max-width: 340px; } .about__photo { margin-left: 0; } }
@media (max-width: 560px) { .cycle { grid-template-columns: 1fr; } .cycle li::after { display: none; } }

/* Partner logos always sit on a white tile so dark logos stay visible in night mode */
.partners li { background: #fff; color: #14507a; border-color: #d5dee7; }

/* ===== Modules showcase: rows, scroll animation, animated graphics ===== */
.modules { padding-bottom: 40px; }
.modnav { position: static; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 28px 0 0; }
.modnav__in { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.modnav__in::-webkit-scrollbar { display: none; }
.modnav a { flex: none; padding: 9px 16px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .95rem; border: 1px solid transparent; white-space: nowrap; }
.modnav a:hover { background: var(--white); }
.modnav a[aria-current="true"] { background: var(--plum); color: #fff; }

.mod { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 84px 0; border-top: 1px solid var(--line); scroll-margin-top: 150px; }
.mod:first-child { border-top: 0; }
.mod:nth-child(even) .mod__media { order: 2; }
.mod__media { position: relative; }
.mod__media::before { content: ""; position: absolute; inset: -6% -6% -6% -6%; border-radius: 40px; background: linear-gradient(135deg, var(--line), transparent 70%); opacity: .8; transform: translate3d(0, calc(var(--py, 0px) * -.6), 0); }
.mod__frame { position: relative; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; filter: drop-shadow(0 24px 34px rgba(11, 47, 77, .18)); }
.mod__frame svg, .mod__frame img { display: block; width: 100%; height: auto; border-radius: 18px; }
.mod__num { color: var(--muted); font-weight: 600; letter-spacing: .06em; margin-bottom: 6px; }
.mod__num span { color: var(--plum-ink); font-size: 1.1rem; }
.mod h3 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 600; margin-bottom: .3em; }
.mod__aud { color: var(--muted); font-size: 1.1rem; }
.mod__stats { display: flex; gap: 36px; list-style: none; margin: 22px 0 8px; padding: 18px 0; border-block: 1px solid var(--line); }
.mod__stats strong { font: 600 2.3rem/1 var(--font-head); color: var(--plum-ink); margin-right: 6px; font-variant-numeric: tabular-nums; }
.mod__stats span { color: var(--muted); }
.mod__feats { margin: 18px 0 24px; position: relative; }
.mod__feats.is-collapsed { max-height: 290px; overflow: hidden; }
.mod__feats.is-collapsed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(to bottom, transparent, var(--paper)); pointer-events: none; }
.fg { margin-bottom: 16px; }
.fg h4 { font: 700 .8rem var(--font-body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 8px; }
.chips-s { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips-s li { padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: .92rem; }
.more-btn { margin: -8px 0 22px; background: none; border: 0; padding: 4px 0; color: var(--link); font: 600 .98rem var(--font-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.mod__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* reveal on scroll (only when JavaScript is available) */
.js .mod .mod__media, .js .mod .mod__body { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .mod .mod__body { transition-delay: .12s; }
.js .mod.is-in .mod__media, .js .mod.is-in .mod__body { opacity: 1; transform: none; }

/* animated parts of the SVG graphics */
.bar { transform-box: fill-box; transform-origin: 50% 100%; }
.js .mod:not(.is-in) .bar { transform: scaleY(0); }
.mod.is-in .bar { animation: barGrow .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 90ms); }
.draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .mod:not(.is-in) .draw { stroke-dashoffset: 1; }
.mod.is-in .draw { animation: draw 1.5s ease both .5s; }
.dot { transform-box: fill-box; transform-origin: center; }
.js .mod:not(.is-in) .dot { opacity: 0; }
.mod.is-in .dot { animation: pop .45s ease both; animation-delay: calc(.5s + var(--i, 0) * .17s); }
.mod.is-in .gear { transform-box: fill-box; transform-origin: center; animation: spin 16s linear infinite; }
.mod.is-in .gear--rev { animation-duration: 11s; animation-direction: reverse; }
.mod.is-in .float { animation: bob 5.5s ease-in-out infinite; animation-delay: var(--d, 0s); }
.mod.is-in .pulse { transform-box: fill-box; transform-origin: center; animation: pulse 3.2s ease-in-out infinite; }
@keyframes barGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }

@media (max-width: 900px) {
	.mod { grid-template-columns: 1fr; gap: 28px; padding: 56px 0; }
	.mod:nth-child(even) .mod__media { order: 0; }
	.mod__media { max-width: 520px; }
	.mod__media::before { inset: -3% 0; }
	.modnav { top: 69px; }
	.mod__stats strong { font-size: 1.9rem; }
}
@media (prefers-reduced-motion: reduce) {
	.js .mod .mod__media, .js .mod .mod__body { opacity: 1; transform: none; transition: none; }
	.js .mod:not(.is-in) .bar { transform: none; }
	.js .mod:not(.is-in) .draw { stroke-dashoffset: 0; }
	.js .mod:not(.is-in) .dot { opacity: 1; }
	.mod__frame, .mod__media::before { transform: none; }
	.mod.is-in .bar, .mod.is-in .draw, .mod.is-in .dot, .mod.is-in .gear, .mod.is-in .float, .mod.is-in .pulse { animation: none; }
}


/* ===== Sage-style structure: sub-navigation, hero, trust strip, capabilities, tour, pricing ===== */
#content [id] { scroll-margin-top: 130px; }
.subnav { position: sticky; top: 69px; z-index: 45; background: var(--white); border-bottom: 1px solid var(--line); }
.subnav__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 52px; }
.subnav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__list a { display: block; padding: 15px 14px 13px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; border-bottom: 3px solid transparent; white-space: nowrap; }
.subnav__list a:hover { color: var(--ink); }
.subnav__list a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--plum); }
.subnav__right { display: flex; align-items: center; gap: 16px; flex: none; }
.subnav__tel { color: var(--ink); font-weight: 500; text-decoration: none; font-variant-numeric: tabular-nums; }
.subnav--page .subnav__in { justify-content: flex-start; }

.hero { padding: 64px 0 72px; }
.hero__in { grid-template-columns: 1fr 1.02fr; gap: 56px; }
.hero h1 { max-width: 17ch; }
.hero__lead { font-size: 1.1rem; }
.hero__checks { list-style: none; margin: 22px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; color: #e3ecf3; font-weight: 500; }
.hero__checks li { display: flex; align-items: center; gap: 8px; }
.hero__checks .ico { width: 22px; height: 22px; color: #6ee7a0; }

/* live stock + barcode panel */
.scan { margin: 0; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 28px 70px rgba(0, 0, 0, .38); overflow: hidden; font-size: .86rem; font-variant-numeric: tabular-nums; }
.scan__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--paper); border-bottom: 1px solid var(--line); }
.scan__dots { display: flex; gap: 5px; }
.scan__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.scan__title { font-weight: 600; }
.scan__live { margin-left: auto; display: flex; align-items: center; gap: 6px; font: 500 .72rem var(--font-mono); color: #1a7f4b; letter-spacing: .08em; }
.scan__live i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: livePulse 1.6s ease-in-out infinite; }
.scan__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 14px; padding: 14px 14px 10px; }
.scan .lbl { margin: 0 0 6px; font: 500 .68rem var(--font-body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); display: flex; justify-content: space-between; }
.scan .lbl b { color: var(--ink); font-family: var(--font-mono); letter-spacing: 0; }
.barcode { position: relative; height: 84px; background: #fff; border: 1px solid #d5dee7; border-radius: 6px; padding: 8px 10px; overflow: hidden; }
.barcode svg { display: block; width: 100%; height: 100%; }
.barcode svg rect { fill: #0b2f4d; }
.beam { position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: #e11d48; box-shadow: 0 0 10px 3px rgba(225, 29, 72, .5); opacity: 0; }
.scanning .beam { animation: beam .9s ease-in-out forwards; }
.scan__scanner.is-ok .barcode { box-shadow: inset 0 0 0 2px #22c55e; }
.ean { margin: 6px 0 0; font: 500 .82rem var(--font-mono); letter-spacing: .12em; }
.scan__ok { margin: 4px 0 0; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .8rem; }
.scan__ok span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.is-ok .scan__ok { color: #1a7f4b; font-weight: 600; }
.is-ok .scan__ok span { background: #22c55e; }
#sc-lines { list-style: none; margin: 0; padding: 0; min-height: 90px; }
#sc-lines li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
#sc-lines li.new { animation: lineIn .45s ease; }
#sc-lines li span:nth-child(2) { color: var(--muted); }
.scan__total { margin: 8px 0 0; display: flex; justify-content: space-between; font-weight: 600; padding-top: 6px; border-top: 2px solid var(--ink); }
.scan__stock { padding: 4px 14px 6px; }
.scan__stock table { width: 100%; border-collapse: collapse; }
.scan__stock td { padding: 6px 4px; border-top: 1px solid var(--line); vertical-align: middle; }
.scan__stock td:first-child { width: 28%; }
.scan__stock td:nth-child(3) { text-align: right; font: 500 .92rem var(--font-mono); width: 14%; }
.scan__stock td:nth-child(4) { width: 22%; text-align: right; }
.lv { display: block; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.lv i { display: block; height: 100%; background: var(--brand); border-radius: 4px; transition: width .6s ease, background-color .4s; }
.lv.low i { background: #d97706; }
.chip { display: inline-block; padding: 2px 8px; border-radius: 999px; font: 600 .72rem var(--font-body); white-space: nowrap; }
.chip--down { background: #fde8e6; color: #9a1b13; }
.chip--up { background: #d9f0e2; color: #14532d; }
.chip--low { background: #fdebc8; color: #7a4a00; }
.flash-down td { animation: flashDown 1.1s ease; }
.flash-up td { animation: flashUp 1.1s ease; }
.scan__log { list-style: none; margin: 0; padding: 8px 14px 4px; border-top: 1px solid var(--line); background: var(--paper); min-height: 74px; }
.scan__log li { display: flex; gap: 10px; padding: 3px 0; color: var(--muted); font-size: .8rem; }
.scan__log li.new { animation: lineIn .45s ease; }
.scan__log time { font-family: var(--font-mono); color: var(--ink); }
.scan figcaption { padding: 6px 14px 10px; background: var(--paper); text-align: right; font-size: .7rem; color: var(--muted); }
@keyframes beam { 0% { top: 6px; opacity: 1; } 50% { top: calc(100% - 8px); opacity: 1; } 100% { top: 6px; opacity: 0; } }
@keyframes lineIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes flashDown { 0% { background: rgba(225, 29, 72, .22); } 100% { background: transparent; } }
@keyframes flashUp { 0% { background: rgba(34, 197, 94, .26); } 100% { background: transparent; } }
@keyframes livePulse { 50% { opacity: .35; } }

/* trust strip + why cards */
.trusted { background: var(--white); border-bottom: 1px solid var(--line); }
.trusted__in { display: flex; align-items: center; gap: 28px; padding-block: 20px; flex-wrap: wrap; }
.trusted__lbl { margin: 0; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }
.partners--strip { gap: 12px; }
.partners--strip li { min-width: 0; padding: 10px 20px; font-size: .95rem; font-weight: 500; }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
.why > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--white); }
.ico { color: var(--plum-ink); display: block; margin-bottom: 12px; }
.why h3 { font-size: 1.15rem; }
.why p { color: var(--muted); margin: 0; }

/* capabilities */
.caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 28px 0; }
.cap { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.cap:hover { border-color: var(--plum); transform: translateY(-2px); }
.cap h3 { font-size: 1.08rem; margin-bottom: 6px; }
.cap p { color: var(--muted); font-size: .94rem; margin-bottom: 10px; }
.cap ul { list-style: none; margin: auto 0 0; padding: 10px 0 0; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-2); }
.cap li { padding: 3px 0 3px 16px; position: relative; }
.cap li::before { content: ""; position: absolute; left: 0; top: .85em; width: 7px; height: 2px; background: var(--plum); }
.cap__go { margin-top: auto; color: var(--link); font-weight: 600; font-size: .92rem; }
.caps--ind { grid-template-columns: repeat(3, 1fr); }
.capsec { padding-bottom: 20px; }
.capblock { display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; padding: 64px 0; border-bottom: 1px solid var(--line); align-items: start; }
.capblock:last-child { border-bottom: 0; }
.capblock__side { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.capblock__lbl { font: 500 .72rem var(--font-body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.capblock__side .chips { margin-bottom: 18px; }
.chip-off { display: block; padding: 10px 16px; border: 1px dashed var(--line); border-radius: 999px; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 18px 0; }
.ticks li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 7px; height: 12px; border: solid #1a7f4b; border-width: 0 2px 2px 0; transform: rotate(40deg); }

/* product tour band */
.tourband { background: var(--deep); color: #fff; padding: 72px 0; }
.tourband__in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.tourband h2 { color: #fff; }
.tourband p { color: #c3d3de; }
.tourband__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.tourband .btn--primary { background: #fff; color: var(--deep); }
.tourband__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tourband__steps button { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; background: rgba(255, 255, 255, .06); color: #fff; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); padding: 14px 16px; font: 500 .98rem var(--font-body); cursor: pointer; transition: background-color .15s; }
.tourband__steps button:hover { background: rgba(255, 255, 255, .14); }
.tourband__steps span { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--plum); display: grid; place-items: center; font-weight: 600; }

/* tour dialog + mock screens */
.tour { border: 0; padding: 0; border-radius: 14px; width: min(1100px, 94vw); max-height: 92vh; background: var(--white); color: var(--ink); box-shadow: 0 30px 90px rgba(0, 0, 0, .5); }
.tour::backdrop { background: rgba(6, 20, 32, .74); }
.tour[open] { display: flex; flex-direction: column; }
.tour__head { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.tour__count { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; }
.tour__close { background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 36px; height: 36px; font-size: 1.4rem; line-height: 1; color: var(--ink); cursor: pointer; }
.tour__body { display: grid; grid-template-columns: 1.45fr .75fr; gap: 28px; padding: 22px; overflow: auto; }
.tour__info h3 { font-size: 1.35rem; }
.tour__info ul { padding-left: 1.1em; color: var(--ink-2); }
.tour__info li { padding: 3px 0; }
.tour__note { color: var(--muted); font-size: .8rem; margin-top: 18px; }
.tour__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); }
.tour__dots { display: flex; gap: 8px; }
.tour__dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; }
.tour__dots button.on { background: var(--plum); transform: scale(1.3); }
.tour__s[hidden] { display: none; }
.m { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--white); box-shadow: 0 10px 30px rgba(11, 47, 77, .12); font-size: .82rem; }
.m__top { display: flex; align-items: center; gap: 6px; background: var(--deep); color: #fff; padding: 9px 12px; }
.m__top i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.m__top b { margin-left: 8px; font-weight: 600; }
.m__tabs { display: flex; gap: 2px; padding: 8px 12px 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.m__tabs span { padding: 7px 14px; color: var(--muted); border-radius: 6px 6px 0 0; }
.m__tabs span.on { background: var(--white); color: var(--ink); font-weight: 600; border: 1px solid var(--line); border-bottom-color: var(--white); margin-bottom: -1px; }
.m__body { position: relative; padding: 14px; min-height: 270px; }
.mt { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.mt th { text-align: left; padding: 7px 8px; background: var(--paper); font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); }
.mt td { padding: 7px 8px; border-bottom: 1px solid var(--line); }
.mt td:last-child, .mt th:last-child { text-align: right; }
.mt tfoot td { font-weight: 600; border-top: 2px solid var(--ink); border-bottom: 0; }
.mt em { font-style: normal; font-weight: 600; font-size: .72rem; padding: 2px 8px; border-radius: 999px; }
.mt em.ok { background: #d9f0e2; color: #14532d; } .mt em.wa { background: #fdebc8; color: #7a4a00; } .mt em.no { background: #e6ebf0; color: #3f5265; }
.mn { margin: 12px 0 0; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.kpis > div { border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; background: var(--paper); }
.kpis small { display: block; color: var(--muted); }
.kpis b { font: 500 1.15rem var(--font-mono); } .kpis b.p { color: var(--plum-ink); }
.mchart { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin-bottom: 12px; padding: 0 4px; border-bottom: 1px solid var(--line); }
.mchart i { flex: 1; background: var(--brand); border-radius: 4px 4px 0 0; } .mchart i.p { background: var(--plum); }
.pos { display: grid; grid-template-columns: 130px 1fr; gap: 14px; align-items: start; }
.pos__scan { text-align: center; }
.pos__bc { position: relative; height: 70px; border: 1px solid var(--line); border-radius: 6px; background: repeating-linear-gradient(90deg, #0b2f4d 0 2px, #fff 2px 5px, #0b2f4d 5px 6px, #fff 6px 10px); overflow: hidden; }
.pos__beam { position: absolute; left: 0; right: 0; height: 2px; top: 6px; background: #e11d48; box-shadow: 0 0 8px 2px rgba(225, 29, 72, .5); animation: beamLoop 1.8s ease-in-out infinite; }
@keyframes beamLoop { 0%, 100% { top: 6px; } 50% { top: 60px; } }
.pos small { font-family: var(--font-mono); color: var(--muted); }
.lv { min-width: 70px; }
.hs { position: absolute; z-index: 2; }
.hs i { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--plum); box-shadow: 0 0 0 0 rgba(118, 32, 88, .5); animation: hsPulse 1.8s infinite; }
.hs b { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); background: var(--deep); color: #fff; font-weight: 500; font-size: .76rem; padding: 6px 10px; border-radius: 6px; white-space: nowrap; }
@keyframes hsPulse { 70% { box-shadow: 0 0 0 12px rgba(118, 32, 88, 0); } 100% { box-shadow: 0 0 0 0 rgba(118, 32, 88, 0); } }

/* pricing */
.editions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 26px 0; }
.edition { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--plum); border-radius: var(--radius); padding: 26px; }
.edition h2, .edition h3 { font-size: 1.25rem; }
.edition p { color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 28px 0; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; position: relative; }
.plan--hot { border-color: var(--plum); box-shadow: 0 10px 30px rgba(118, 32, 88, .14); }
.plan__badge { position: absolute; top: -12px; left: 24px; margin: 0; background: var(--plum); color: #fff; font-size: .75rem; font-weight: 600; padding: 3px 12px; border-radius: 999px; }
.plan__price { margin: 6px 0 10px; } .plan__price strong { font: 600 1.9rem var(--font-head); } .plan__price span { color: var(--muted); }
.plan__desc { color: var(--muted); }
.plan__feats { list-style: none; padding: 0; margin: 10px 0 22px; } .plan__feats li { padding: 5px 0 5px 22px; position: relative; font-size: .95rem; }
.plan__feats li::before { content: ""; position: absolute; left: 3px; top: 10px; width: 6px; height: 10px; border: solid #1a7f4b; border-width: 0 2px 2px 0; transform: rotate(40deg); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.cmimet__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

@media (max-width: 1100px) { .caps { grid-template-columns: repeat(2, 1fr); } .caps--ind { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) {
	.hero__in, .tourband__in, .capblock, .editions, .why { grid-template-columns: 1fr; gap: 28px; }
	.tour__body { grid-template-columns: 1fr; }
	.subnav__right .subnav__tel { display: none; }
	.capblock { padding: 44px 0; }
}
@media (max-width: 560px) { .caps, .caps--ind, .tourband__steps { grid-template-columns: 1fr; } .scan__grid { grid-template-columns: 1fr; } .subnav__right { display: none; } .pos { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .scan__live i, .hs i, .pos__beam, .scanning .beam, .flash-up td, .flash-down td, #sc-lines li.new, .scan__log li.new { animation: none !important; } .lv i { transition: none; } }

[hidden] { display: none !important; }
.hs--up b { top: auto; bottom: 22px; }

.subnav__ext { color: var(--link); font-weight: 600; text-decoration: none; font-size: .92rem; white-space: nowrap; }
@media (max-width: 960px) { .subnav__ext { display: none; } }


/* ===== Client logos marquee (click to pause) ===== */
.trusted { padding: 22px 0 26px; overflow: hidden; }
.trusted__head { margin-bottom: 14px; }
.trusted__lbl { margin: 0; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 12px; }
.marquee__track { display: flex; align-items: center; width: max-content; margin: 0; padding: 4px 0; list-style: none; }
.marquee__track li { flex: none; margin-right: 14px; display: grid; place-items: center; min-width: 150px; height: 72px; padding: 10px 24px; background: #fff; border: 1px solid #d5dee7; border-radius: var(--radius); color: #14507a; font: 500 1rem var(--font-head); }
.marquee__track img { display: block; max-height: 44px; max-width: 150px; width: auto; height: auto; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.marquee__track li:hover img { filter: none; opacity: 1; }
.marquee.is-ready .marquee__track { animation: marqueeMove var(--dur, 30s) linear infinite; }
.marquee--rev.is-ready .marquee__track { animation-direction: reverse; }
@media (hover: hover) { .marquee:hover .marquee__track { animation-play-state: paused; } }
.marquee:active .marquee__track { animation-play-state: paused; }
@keyframes marqueeMove { from { transform: translateX(0); } to { transform: translateX(calc(var(--shift, 0px) * -1)); } }
@media (prefers-reduced-motion: reduce) {
	.marquee { -webkit-mask-image: none; mask-image: none; cursor: default; }
	.marquee__track { width: auto; flex-wrap: wrap; gap: 12px; }
	.marquee__track li { margin-right: 0; }
	.marquee.is-ready .marquee__track { animation: none; }
}


/* LOGMICRO Online info band */
.infoband { background: var(--paper); border-bottom: 1px solid var(--line); }
.infoband__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 28px; }
.infoband h2 { font-size: 1.25rem; margin-bottom: 6px; }
.infoband p { margin: 0; color: var(--muted); max-width: 64ch; }
.infoband__links { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
@media (max-width: 860px) { .infoband__in { flex-direction: column; align-items: flex-start; gap: 18px; } }

/* ===== LOGMICRO showcase: pinned, scroll / drag / swipe, with "+" hotspots ===== */
.sc { --stick: 69px; --sc-accent: var(--plum); --sc-on: #fff; --sc-glow: rgba(118, 32, 88, .10); --sc-dot: rgba(11, 75, 117, .14); position: relative; padding-inline: clamp(18px, 5vw, 72px); background: radial-gradient(900px 520px at 78% 8%, var(--sc-glow), transparent 70%), radial-gradient(var(--sc-dot) 1px, transparent 1.5px) 0 0 / 30px 30px; }
.home .sc { --stick: 121px; }
.sc { overflow-x: clip; }
.platforms--inline .sc { padding-inline: 0; }
:root[data-theme="dark"] .sc { --sc-accent: #d98bbd; --sc-on: #1b0b14; --sc-glow: rgba(217, 139, 189, .14); --sc-dot: rgba(180, 205, 230, .12); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sc { --sc-accent: #d98bbd; --sc-on: #1b0b14; --sc-glow: rgba(217, 139, 189, .14); --sc-dot: rgba(180, 205, 230, .12); } }
.sc__pin { position: relative; display: flex; flex-direction: column; padding-block: 14px; }
.js .sc__pin { position: sticky; top: var(--stick); height: calc(100vh - var(--stick)); }
.sc__stage { position: relative; flex: 1; min-height: 0; margin-block: 6px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.sc__stage.is-drag { cursor: grabbing; }
.sc__slide { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); align-items: center; gap: clamp(16px, 4vw, 64px); padding-block: 24px; }
.js .sc__slide { position: absolute; inset: 0; padding-block: 0; opacity: 0; pointer-events: none; will-change: transform, opacity; }
.js .sc__slide.on { pointer-events: auto; }
.sc__copy h3 { font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.04; letter-spacing: -.03em; margin: 0 0 .45em; font-weight: 600; }
.sc__copy p { margin: 0 0 1.2em; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.6; color: var(--muted); max-width: 42ch; }
.sc__copy ul { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 2px solid var(--sc-accent); display: grid; gap: .5em; font-size: .98rem; }
.sc__shot { position: relative; height: 100%; min-height: 0; container-type: size; display: grid; place-items: center; }
.sc__img { position: relative; width: 100%; aspect-ratio: var(--ratio); }
@supports (width: 1cqw) { .sc__shot .sc__img { width: min(100cqw, calc(100cqh * (var(--ratio)))); } }
.sc__tilt { position: absolute; inset: 0; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .18s ease-out; }
.sc__tilt img { display: block; width: 100%; height: 100%; object-fit: contain; -webkit-user-drag: none; pointer-events: none; filter: drop-shadow(0 22px 34px rgba(11, 47, 77, .28)); }
.sc__tilt::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 40%), rgba(255, 255, 255, .16), transparent 42%); opacity: var(--glare, 0); transition: opacity .3s; }
.sc__sweep { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .28) 50%, transparent 62%); background-size: 260% 100%; background-position: 130% 0; mix-blend-mode: soft-light; }
.sc__spot { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; mix-blend-mode: screen; background: radial-gradient(circle at var(--sx, 50%) var(--sy, 50%), rgba(255, 255, 255, .30) 0, rgba(255, 255, 255, .14) 34px, transparent 96px); }
.sc__spot.on { opacity: 1; }
.sc-hs { position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; border: 2px solid var(--sc-on); background: var(--sc-accent); color: var(--sc-on); font: 700 17px/1 var(--font-body); cursor: pointer; padding: 0; display: grid; place-items: center; z-index: 2; transition: transform .25s; }
.sc-hs::before { content: "+"; }
.sc-hs.open { transform: rotate(45deg); }
.sc-hs:focus-visible { outline: 3px solid var(--sc-accent); outline-offset: 3px; }
.sc-pop { position: absolute; z-index: 4; padding: 12px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 14px 34px rgba(0, 0, 0, .3); font-size: .88rem; line-height: 1.45; color: var(--muted); cursor: default; pointer-events: none; animation: popIn .25s ease both; }
.sc-pop b { display: block; color: var(--ink); font-size: .95rem; margin-bottom: 3px; }
.sc__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sc__tabs { display: flex; gap: 6px; }
.sc__tabs button { appearance: none; background: none; border: 0; color: var(--muted); font: 600 1rem var(--font-body); padding: 10px 14px; cursor: pointer; position: relative; border-radius: 8px; }
.sc__tabs button::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--sc-accent); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.sc__tabs button[aria-selected="true"] { color: var(--ink); }
.sc__tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.sc__nav { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .9rem; }
.sc__nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font-size: 1.1rem; }
.sc__nav button:hover:not(:disabled) { border-color: var(--sc-accent); }
.sc__nav button:disabled { opacity: .35; cursor: default; }
.sc button:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 2px; }
/* the pictures come alive when their slide is in front */
.sc__slide.on .sc__img { animation: scIn .9s cubic-bezier(.2, .8, .2, 1) both; }
.sc__slide.on .sc__sweep { animation: scSweep 1.5s ease-out .55s both; }
.sc__slide.on .sc-hs { animation: hsPop .5s cubic-bezier(.3, 1.6, .4, 1) calc(.6s + var(--i) * .15s) backwards, hsPulse 3.4s ease-out calc(2s + var(--i) * .5s) infinite; }
.sc__slide.on .sc-hs.open { animation: none; }
.sc-hs.hint { animation: hsHint 1.3s ease-out !important; }
@keyframes scIn { from { opacity: 0; transform: translateX(40px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes scSweep { 0% { opacity: 1; background-position: 130% 0; } 100% { opacity: 1; background-position: -30% 0; } }
@keyframes hsPop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes hsPulse { 0% { box-shadow: 0 0 0 0 var(--sc-accent); } 18%, 100% { box-shadow: 0 0 0 14px transparent; } }
@keyframes hsHint { 0% { box-shadow: 0 0 0 0 var(--sc-accent); transform: scale(1); } 40% { transform: scale(1.3); } 100% { box-shadow: 0 0 0 22px transparent; transform: scale(1); } }
@keyframes popIn { from { opacity: 0; transform: translateY(6px) scale(.97); } to { opacity: 1; transform: none; } }
/* without JavaScript the three slides are simply stacked */
html:not(.js) .sc__bar { display: none; }
@media (max-width: 820px) {
	.sc__slide { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; gap: 8px; }
	.sc__shot { order: -1; }
	.sc__copy ul { display: none; }
	.sc__copy h3 { font-size: 1.9rem; }
	.sc__nav span { display: none; }
	.platforms--inline .sc { padding-inline: 0; }
	.sc__bar { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
	.sc__slide.on .sc__img, .sc__slide.on .sc__sweep, .sc__slide.on .sc-hs, .sc-hs.hint, .sc-pop { animation: none !important; }
	.sc__tilt { transition: none; transform: none; }
}
