/* Innom sales site. Same palette and brand mark as the kiosk; system fonts so
   the page loads nothing from third parties. */

:root {
  --paper: #f5f4f0;
  --paper-2: #ecebe5;
  --card: #ffffff;
  --ink: #16181f;
  --ink-2: #4a4e5c;
  --ink-3: #8b8f9c;
  --line: #e3e1da;
  --accent: #4f5de8;
  --accent-2: #3f4cd0;
  --accent-soft: #e8eafd;
  --ok: #138a4f;
  --ok-soft: #ddf3e7;
  --err: #c2322b;
  --dark: #0d0e14;
  --dark-2: #171925;
  --radius: 22px;
  --radius-s: 14px;
  --shadow: 0 1px 2px rgba(22, 24, 31, .05), 0 8px 30px rgba(22, 24, 31, .08);
  --shadow-lg: 0 2px 6px rgba(22, 24, 31, .06), 0 30px 80px rgba(22, 24, 31, .18);
  --wrap: 1180px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }

/* --- brand */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); position: relative; }
.brand-mark::after { /* an open door, as in the app */
  content: ""; position: absolute; left: 8px; top: 6px; width: 10px; height: 16px;
  background: var(--paper); border-radius: 2px 2px 0 0;
  transform: skewY(-12deg); transform-origin: left bottom;
}

/* --- header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(245, 244, 240, .85); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 15px; }
.cart-btn:hover { border-color: var(--ink-3); }
.login-btn { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 4px; }
.login-btn:hover { color: var(--ink-2); }
.cart-count { background: var(--accent); color: #fff; border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 12px; padding: 0 6px; }
.cart-btn.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.08); } }

/* --- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 13px 22px; font-weight: 650; font-size: 16px; text-decoration: none; border: 1px solid transparent; transition: background .15s, border-color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-3); background: var(--card); }
.btn-block { width: 100%; }
.btn .ico { width: 18px; height: 18px; }
.icon-btn { border: 0; background: transparent; width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; color: var(--ink-2); }
.icon-btn:hover { background: var(--paper-2); color: var(--ink); }

/* --- hero */
.hero { padding: 72px 0 56px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
h1 { font-size: clamp(40px, 5.4vw, 64px); font-weight: 800; letter-spacing: -.035em; }
.hl { color: var(--accent); }
.lead { font-size: 19px; color: var(--ink-2); margin-top: 20px; max-width: 34em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 22px; flex-wrap: wrap; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.ticks li { display: flex; align-items: center; gap: 6px; }
.ticks .ico { width: 18px; height: 18px; color: var(--ok); stroke-width: 2.4; }

.hero-art { position: relative; padding: 10px 40px 70px 0; }
.device { background: #1b1d26; border-radius: 26px; padding: 14px; box-shadow: var(--shadow-lg); }
.device img { border-radius: 14px; width: 100%; height: auto; }
.device-tablet { transform: rotate(-1.5deg); }
.device-tablet.sm { transform: none; border-radius: 18px; padding: 9px; box-shadow: var(--shadow); }
.device-tablet.sm img { border-radius: 10px; }
.device-browser { background: #2a2d3a; border-radius: 14px; padding: 26px 0 0; position: relative; box-shadow: var(--shadow); overflow: hidden; }
.device-browser::before { content: ""; position: absolute; left: 12px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; box-shadow: 14px 0 #febc2e, 28px 0 #28c840; }
.device-browser img { border-radius: 0; }
.label-card { position: absolute; right: 0; bottom: 0; width: 44%; background: #fff; border-radius: 10px; padding: 6px; box-shadow: var(--shadow-lg); transform: rotate(4deg); }
.label-card img { border-radius: 6px; }
.toast { position: absolute; left: -24px; bottom: 36px; display: flex; gap: 12px; align-items: flex-start; background: var(--card); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-lg); font-size: 14px; line-height: 1.35; }
.toast small { color: var(--ink-3); }
.toast .dot { width: 10px; height: 10px; margin-top: 4px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }

/* --- strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-in > div { padding: 26px 0; display: flex; flex-direction: column; gap: 2px; }
.strip-in > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.strip b { font-size: 28px; letter-spacing: -.03em; }
.strip span { color: var(--ink-2); font-size: 15px; }

/* --- sections */
.sec { padding: 104px 0; }
.sec-alt { background: var(--paper-2); }
.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head h2, .gdpr h2, .contact h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.sub { color: var(--ink-2); font-size: 18px; margin-top: 16px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--card); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.step-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 20px; }
.steps h3 { font-size: 20px; margin-bottom: 10px; }
.steps p { color: var(--ink-2); }

.gallery { margin-top: 64px; }
.tabs { display: inline-flex; background: var(--paper-2); border-radius: 999px; padding: 4px; margin-bottom: 28px; }
.tabs button { border: 0; background: transparent; border-radius: 999px; padding: 9px 20px; font-weight: 600; color: var(--ink-2); }
.tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 28px; }
.shots figure { margin: 0; }
.shots figcaption { margin-top: 14px; font-weight: 600; color: var(--ink-2); font-size: 15px; }

/* --- cases */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.case { background: var(--card); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.case::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--c, var(--accent)); }
.case-food { --c: #138a4f; }
.case-prod { --c: #d97a1c; }
.case-office { --c: #4f5de8; }
.case-edu { --c: #a64fd0; }
.case-kicker { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
.case h3 { font-size: 22px; margin: 8px 0 14px; }
.case > p:not(.case-kicker) { color: var(--ink-2); }
.case ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.case li { padding-left: 26px; position: relative; font-weight: 500; font-size: 15px; }
.case li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2.4px solid var(--c); border-bottom: 2.4px solid var(--c); transform: rotate(-45deg); }

/* --- features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feat { background: var(--card); padding: 30px; }
.feat .ico { width: 28px; height: 28px; color: var(--accent); margin-bottom: 16px; }
.feat h3 { font-size: 18px; margin-bottom: 8px; }
.feat p { color: var(--ink-2); font-size: 15px; }

/* --- GDPR */
.sec-dark { background: var(--dark); color: #e9eaf2; }
.sec-dark .lead { color: #a6a9ba; }
.sec-dark .eyebrow { color: #8f9aff; }
.gdpr { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.gdpr-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.gdpr-list li { display: flex; gap: 16px; background: var(--dark-2); border: 1px solid #252838; border-radius: var(--radius-s); padding: 18px 20px; }
.gdpr-list .ico { color: #6ee7a8; margin-top: 2px; }
.gdpr-list b { display: block; margin-bottom: 2px; }
.gdpr-list span { color: #a6a9ba; font-size: 15px; }

/* --- shop */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.product-art { height: 150px; display: grid; place-items: center; background: linear-gradient(145deg, var(--accent-soft), #f4f0ff); color: var(--accent); }
.product-art .ico { width: 64px; height: 64px; stroke-width: 1.3; }
.product-body { padding: 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product h3 { font-size: 20px; }
.product .tagline { color: var(--ink-2); font-size: 15px; }
.product ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 7px; font-size: 14px; color: var(--ink-2); }
.product li { display: flex; gap: 8px; }
.product li .ico { width: 16px; height: 16px; color: var(--ok); stroke-width: 2.4; margin-top: 3px; }
.product-foot { margin-top: auto; padding-top: 20px; display: grid; gap: 12px; }
.price { font-weight: 750; font-size: 18px; }
.price.ask { color: var(--ink-2); font-weight: 650; font-size: 16px; }
.opt { display: grid; gap: 4px; font-size: 13px; color: var(--ink-3); font-weight: 600; }
.opt select, .qty-input { border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; background: var(--card); font-size: 15px; font-weight: 500; color: var(--ink); }
.add-row { display: flex; gap: 8px; }
.add-row .btn { flex: 1; padding: 11px 16px; font-size: 15px; }
.qty-input { width: 64px; text-align: center; }

/* --- contact */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.contact-card { background: var(--card); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.contact-card .who { font-size: 22px; font-weight: 750; }
.contact-card .org { color: var(--ink-3); margin-top: -14px; }
.contact-card a { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 17px; color: var(--ink); text-decoration: none; }
.contact-card a .ico { color: var(--accent); }
.contact-card a:hover { color: var(--accent); }

/* --- footer */
.foot { padding: 48px 0 56px; border-top: 1px solid var(--line); }
.foot-in { display: grid; gap: 10px; }
.foot p { color: var(--ink-2); font-size: 15px; }
.foot .muted { color: var(--ink-3); font-size: 14px; }

/* --- cart drawer */
.scrim { position: fixed; inset: 0; background: rgba(13, 14, 20, .38); z-index: 40; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: var(--card); z-index: 41; display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden; transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s .28s; box-shadow: var(--shadow-lg); }
.drawer.open { transform: none; visibility: visible; transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 12px 24px; }
.drawer-head h2 { font-size: 22px; }
.drawer-body { flex: 1; overflow: auto; padding: 4px 24px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 20px 24px 24px; display: grid; gap: 12px; }
.total { display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; }
.empty { color: var(--ink-3); padding: 40px 0; text-align: center; }
.line { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.line-name { font-weight: 650; }
.line-meta { font-size: 13px; color: var(--ink-3); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.stepper button { border: 0; background: transparent; width: 32px; height: 32px; border-radius: 999px; font-size: 18px; line-height: 1; color: var(--ink-2); }
.stepper button:hover { background: var(--paper-2); }
.stepper span { min-width: 22px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

/* --- quote dialog */
.modal { border: 0; padding: 0; border-radius: var(--radius); width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 32px); box-shadow: var(--shadow-lg); background: var(--card); color: var(--ink); }
.modal::backdrop { background: rgba(13, 14, 20, .45); }
.modal-in { padding: 24px 28px 28px; display: grid; gap: 16px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; }
.modal-head h2 { font-size: 24px; }
.quote-summary { background: var(--paper); border-radius: var(--radius-s); padding: 14px 16px; font-size: 14px; color: var(--ink-2); }
.quote-summary b { color: var(--ink); }
.quote-summary ul { margin: 6px 0 0; padding-left: 18px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.modal input, .modal select, .modal textarea { border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; font-size: 16px; font-weight: 400; background: var(--card); color: var(--ink); width: 100%; }
.modal input:focus, .modal select:focus, .modal textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.modal input[aria-invalid="true"] { border-color: var(--err); }
.modal-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.form-err { color: var(--err); font-weight: 600; font-size: 14px; }
.copy-box { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px; font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--paper); color: var(--ink-2); resize: vertical; }

.shots img { cursor: zoom-in; }
.shots .device { transition: transform .15s, box-shadow .15s; }
.shots figure:hover .device { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* --- screenshot viewer */
.lightbox { border: 0; padding: 0; background: transparent; width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; overflow: hidden; }
.lightbox::backdrop { background: rgba(13, 14, 20, .94); }
.lightbox[open] { display: grid; place-items: center; }
.lb-fig { margin: 0; max-width: min(1400px, 92vw); display: grid; gap: 14px; justify-items: center; }
.lb-fig img { max-width: 100%; max-height: calc(100vh - 120px); width: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); background: #fff; }
.lb-fig figcaption { color: #e9eaf2; font-weight: 600; font-size: 16px; text-align: center; }
.lb-btn { position: fixed; border: 0; width: 48px; height: 48px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; font-size: 32px; line-height: 1; }
.lb-btn:hover { background: rgba(255, 255, 255, .24); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; } .lb-fig img { max-height: calc(100vh - 160px); } }

.snack { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; z-index: 60; opacity: 0; transition: transform .25s, opacity .25s; pointer-events: none; }
.snack.show { transform: translate(-50%, 0); opacity: 1; }

/* --- responsive */
@media (max-width: 1080px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 18px; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .login-btn { margin-left: auto; }
  .hero { padding-top: 40px; }
  .hero-in, .gdpr, .contact { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { padding-right: 20px; }
  .toast { left: 0; }
  .steps, .cases { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .strip-in { grid-template-columns: 1fr 1fr; }
  .strip-in > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip-in > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sec { padding: 72px 0; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .cart-label { display: none; }
  .shots, .products, .features, .grid2 { grid-template-columns: 1fr; }
  .toast { display: none; }
  .case, .steps li, .feat { padding: 24px; }
  .modal-in { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
