/* Scangle — mobile-first marketing site */
:root {
  --orange: #ff6a00;
  --orange-deep: #ef7c00;
  --orange-soft: #fff1e6;
  --ink: #121212;
  --muted: #5a5a5a;
  --soft: #f5f5f5;
  --line: #e4e4e4;
  --white: #ffffff;
  --max: 72rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 4.5rem;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 0.75rem); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-bottom: 5.5rem;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.03em; font-weight: 750; }
::selection { background: #ffc9a3; color: var(--ink); }

.skip {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
}
.skip:focus { top: 0.75rem; }

:focus-visible {
  outline: 3px solid var(--orange-deep);
  outline-offset: 3px;
}

.container {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(255,255,255,0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - (var(--pad) * 2), calc(var(--max) + 2rem));
  margin-inline: auto;
}
.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.logo img { width: 9.5rem; height: auto; }
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.375rem;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0.625rem;
}
.menu-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s var(--ease), opacity 0.2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem var(--pad) 1.25rem;
  flex-direction: column;
  gap: 0.25rem;
}
.nav.open { display: flex; }
.nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.25rem;
  font-size: 1rem;
  font-weight: 600;
}
.nav a:hover { color: var(--orange-deep); }
.nav-cta {
  margin-top: 0.35rem;
  border: 1px solid #c8c8c8;
  border-radius: 0.5rem;
  padding-inline: 1rem !important;
  justify-content: space-between;
}

/* Hero — one composition, brand + product */
.hero {
  display: grid;
  gap: 1.75rem;
  padding: 2rem 0 2.5rem;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b5344;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 1.35rem;
  height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}
.hero h1 {
  font-size: clamp(2.35rem, 9vw, 3.75rem);
  letter-spacing: -0.045em;
  max-width: 12ch;
}
.hero h1 span { color: var(--orange-deep); display: block; }
.hero-lead {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 1.0625rem;
  max-width: 34rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.5rem;
  align-items: center;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border-radius: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 700;
  transition: transform 0.2s var(--ease), background 0.2s;
}
.button:hover { transform: translateY(-1px); }
.button.orange { background: var(--orange); color: var(--ink); }
.button.black { background: var(--ink); color: var(--white); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  font-weight: 700;
  font-size: 0.9375rem;
}
.text-link:hover { color: var(--orange-deep); }
.hero-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  margin-top: 1.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #777;
}
.hero-foot i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #aaa;
  align-self: center;
}
.hero-visual {
  position: relative;
  background:
    radial-gradient(120% 90% at 80% 0%, #ffe3cc 0%, transparent 55%),
    linear-gradient(160deg, #f3f3f3 0%, #ebebeb 100%);
  min-height: 18rem;
  overflow: hidden;
}
.hero-visual img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.hero-caption {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  padding: 1rem 1.15rem 1.25rem;
  background: linear-gradient(to top, rgba(245,245,245,0.95), transparent);
  position: absolute;
  inset: auto 0 0 0;
}
.hero-caption .tiny { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; color: #666; }
.hero-caption strong { display: block; font-size: 1.25rem; margin-top: 0.35rem; letter-spacing: -0.03em; }

.band {
  border-block: 1px solid var(--line);
  padding: 1.15rem 0;
}
.band .container {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.band p { color: var(--muted); font-size: 0.9375rem; }
.band-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.85rem;
  font-weight: 700;
  font-size: 0.9375rem;
}
.band-list b { color: var(--orange); font-weight: 700; }

/* Sections */
.section { padding: 3.25rem 0; }
.section-head { margin-bottom: 1.75rem; }
.section-head h2 {
  font-size: clamp(1.85rem, 6.5vw, 2.75rem);
  max-width: 16ch;
}
.section-head p {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 36rem;
}

.product-grid {
  display: grid;
  gap: 1.5rem;
}
.product {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  padding-top: 1.35rem;
}
.product-media {
  background: var(--soft);
  overflow: hidden;
  margin-bottom: 1.15rem;
}
.product-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  mix-blend-mode: multiply;
  background: #f3f3f3;
}
.product .tag {
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orange-deep);
  margin-bottom: 0.45rem;
}
.product h3 { font-size: 1.45rem; margin-bottom: 0.55rem; }
.product p { color: var(--muted); }
.product details {
  margin-top: 0.85rem;
  border-top: 1px solid var(--line);
  padding-top: 0.65rem;
}
.product summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9375rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  list-style: none;
}
.product summary::-webkit-details-marker { display: none; }
.product summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1.25rem;
  color: var(--orange-deep);
}
.product details[open] summary::after { content: "–"; }
.product details p { margin-top: 0.35rem; font-size: 0.975rem; }

.text-card {
  background: var(--soft);
  padding: 1.35rem 1.25rem;
  border-top: 3px solid var(--orange);
}
.text-card h3 { font-size: 1.25rem; margin-bottom: 0.45rem; }
.text-card p { color: var(--muted); }
.accessory-note {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.85rem;
}
.catalog-note {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: #717171;
}

/* Software dark */
.software {
  background: var(--ink);
  color: var(--white);
  padding: 3.25rem 0;
}
.software .eyebrow { color: #ff9a5c; }
.software .eyebrow::before { background: var(--orange); }
.software h2 { color: var(--white); }
.software .section-head p { color: #b5b5b5; }
.soft-list { display: grid; gap: 0; }
.soft-item {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.85rem;
  padding: 1.1rem 0;
  border-top: 1px solid #333;
}
.soft-item:last-child { border-bottom: 1px solid #333; }
.soft-item span { color: #ff9a5c; font-size: 0.8125rem; font-weight: 700; padding-top: 0.2rem; }
.soft-item h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.soft-item p { color: #a8a8a8; font-size: 1rem; }
.example-panel {
  margin-top: 1.75rem;
  background: #222;
  border: 1px solid #383838;
  padding: 1rem;
  border-radius: 0.75rem;
}
.example-panel .label {
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: #333;
  color: #ddd;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}
.demo-dash {
  background: #fafafa;
  color: var(--ink);
  border-radius: 0.5rem;
  padding: 1rem;
}
.demo-dash .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 0.85rem 0;
}
.demo-dash .metric {
  background: var(--white);
  border: 1px solid #e6e6e6;
  border-radius: 0.4rem;
  padding: 0.85rem;
}
.demo-dash .metric small { display: block; color: #777; font-size: 0.8125rem; }
.demo-dash .metric strong { display: block; font-size: 1.5rem; letter-spacing: -0.03em; margin-top: 0.2rem; }
.demo-note { margin-top: 0.75rem; font-size: 0.8125rem; color: #aaa; }

/* Apps */
.apps-grid {
  display: grid;
  gap: 1rem;
}
.app-card {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.25rem;
  background: var(--white);
}
.app-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orange-deep);
}
.app-card h3 { font-size: 1.25rem; margin: 0.45rem 0 0.55rem; }
.app-card > p { color: var(--muted); }
.app-purpose {
  display: block;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #eee;
  font-size: 0.875rem;
  color: #717171;
}
.app-preview { margin-top: 0.75rem; }
.app-preview summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.app-preview summary::-webkit-details-marker { display: none; }
.mini-ui {
  margin-top: 0.75rem;
  background: #f4f4f4;
  border-radius: 0.5rem;
  padding: 1rem;
  font-size: 0.875rem;
}
.mini-ui.dark { background: #1b1b1b; color: #fff; }
.mini-title {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #e0e0e0;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.mini-ui.dark .mini-title { border-bottom-color: #444; }
.ui-badge {
  font-size: 0.75rem;
  font-weight: 600;
  background: #ececec;
  color: #666;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}
.mini-ui.dark .ui-badge { background: #333; color: #ccc; }
.menu-choices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.menu-choices div {
  border: 1px solid #e4e4e4;
  border-radius: 0.35rem;
  padding: 0.5rem 0.35rem;
}
.menu-choices span { display: block; color: var(--orange-deep); font-weight: 700; font-size: 0.75rem; margin-bottom: 0.35rem; }
.menu-choices small { display: block; color: #777; margin-top: 0.25rem; }
.ui-total {
  display: flex;
  justify-content: space-between;
  background: var(--orange);
  color: var(--ink);
  border-radius: 0.35rem;
  padding: 0.55rem 0.65rem;
  font-weight: 700;
}
.ticket-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.ticket-grid > div { border: 1px solid #ddd; border-radius: 0.35rem; overflow: hidden; background: #fff; }
.ticket-grid header { background: #ffdfce; padding: 0.45rem 0.5rem; font-weight: 800; }
.ticket-grid header span { display: block; font-weight: 500; font-size: 0.75rem; }
.ticket-grid p { padding: 0.35rem 0.5rem 0; margin: 0; font-size: 0.8125rem; }
.ticket-grid footer { margin-top: 0.5rem; padding: 0.35rem 0.5rem; background: #fff0e7; color: #923407; font-size: 0.75rem; font-weight: 700; }
.ticket-grid footer.ready { background: #262626; color: #fff; }
.table-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.3rem; margin: 0.65rem 0; }
.table-grid span {
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 0.25rem;
  padding: 0.35rem 0;
  font-size: 0.75rem;
  background: #fff;
}
.table-grid .on { background: var(--orange); border-color: var(--orange); font-weight: 700; }
.queue-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; text-align: center; }
.queue-cols span { display: block; font-size: 0.75rem; color: #bbb; margin-bottom: 0.35rem; }
.queue-cols strong { display: block; font-size: 1.75rem; letter-spacing: -0.03em; }
.queue-cols .ready strong { color: #ff976d; font-size: 2.1rem; }
.receipt-line { display: flex; justify-content: space-between; margin: 0.55rem 0; }
.customer-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed #ccc;
  padding-top: 0.65rem;
  margin-top: 0.65rem;
}
.customer-total strong { font-size: 1.4rem; }
.insight-metrics { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0.75rem; margin-bottom: 0.75rem; }
.insight-metrics span { display: block; color: #777; font-size: 0.75rem; }
.insight-metrics strong { display: block; font-size: 1.25rem; }
.bars {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  height: 3.5rem;
  border-bottom: 1px solid #ddd;
}
.bars i { flex: 1; height: var(--h); background: #ffd0ba; border-radius: 2px 2px 0 0; display: block; }
.bars i:nth-last-child(-n+2) { background: var(--orange); }

/* Solutions */
.solutions-grid {
  display: grid;
  gap: 1rem;
}
.solution {
  background: var(--soft);
  padding: 1.5rem 1.25rem;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.solution.orange { background: var(--orange); }
.solution.dark { background: #1e1e1e; color: #fff; }
.solution .idx {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.solution h3 {
  font-size: 1.65rem;
  margin: 1.25rem 0 0.85rem;
}
.solution p { color: #5f5f5f; flex: 1; }
.solution.orange p { color: #3a1607; }
.solution.dark p { color: #b8b8b8; }
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.15rem;
}
.tags span {
  font-size: 0.75rem;
  border: 1px solid #c9c9c9;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
.solution.orange .tags span { border-color: #9a360e; }
.solution.dark .tags span { border-color: #666; }
.solution-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid #c6c6c6;
  font-weight: 750;
  font-size: 0.9375rem;
}
.solution.orange .solution-link { border-top-color: #c24112; }
.solution.dark .solution-link { border-top-color: #555; }

/* Automation */
.automation { background: var(--soft); }
.workflow {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.75rem;
}
.workflow article {
  border-top: 1px solid #bcbcbc;
  padding-top: 1rem;
}
.workflow article > span {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--orange-deep);
}
.workflow h3 { font-size: 1.35rem; margin: 0.85rem 0 0.5rem; }
.workflow p { color: var(--muted); }
.workflow-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}
.workflow-tools a {
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 0.35rem;
  padding: 0.4rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}
.workflow-tools a:hover { border-color: var(--orange-deep); color: var(--orange-deep); }

/* Custom */
.custom h2 { font-size: clamp(2rem, 7vw, 3.25rem); max-width: 14ch; }
.custom h2 span { color: var(--orange-deep); }
.custom-copy { margin-top: 1.25rem; }
.custom-copy p { color: var(--muted); max-width: 36rem; }
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.15rem 0 1.35rem;
}
.chips span {
  background: var(--soft);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.875rem;
  font-weight: 600;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

/* Footer */
footer {
  background: #141414;
  color: rgba(255, 255, 255, 0.88);
  border-top: none;
  padding: 2rem 0 calc(2.25rem + 4.5rem);
}
.footer-inner { display: flex; flex-direction: column; gap: 0.85rem; }
.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}
.footer-logo { min-height: 40px; }
.footer-logo img { width: 8.5rem; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.35rem;
}
.footer-links a {
  min-height: 44px;
  padding: 0 0.55rem;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.88);
}
.footer-links a:hover { color: #fff; }
.footer-tagline {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.4;
}
.footer-top-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-top-link:hover { color: rgba(255, 255, 255, 0.85); }
@media (max-width: 639px) {
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  }
  .reveal.in {
    opacity: 1;
    transform: none;
  }
  .hero-visual img {
    animation: rise 0.9s var(--ease) both;
  }
  @keyframes rise {
    from { opacity: 0.55; transform: translateY(10px) scale(1.02); }
    to { opacity: 1; transform: none; }
  }
}

/* Tablet */
@media (min-width: 640px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .apps-grid { grid-template-columns: 1fr 1fr; }
  .solutions-grid { grid-template-columns: 1fr 1fr; }
  .workflow { grid-template-columns: 1fr 1fr; }
  .accessory-note { grid-template-columns: 1fr 1fr; }
  .hero-visual { min-height: 22rem; }
  .menu-toggle span:nth-child(3) { display: block; }
}

/* Desktop */
@media (min-width: 900px) {
  :root { --header-h: 5rem; }
  .menu-toggle { display: none; }
  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    border: 0;
    padding: 0;
    background: transparent;
  }
  .nav a {
    min-height: 44px;
    font-size: 0.9375rem;
    padding: 0;
  }
  .nav-cta {
    margin-top: 0;
    padding-inline: 1rem !important;
    border: 1px solid #bcbcbc;
  }
  .logo img { width: 11rem; }
  .hero {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 2.5rem;
    padding: 3.5rem 0 4rem;
  }
  .hero-visual { min-height: 28rem; }
  .hero-visual img { aspect-ratio: 1 / 1; max-height: 28rem; margin-inline: auto; }
  .band .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
  .product { border-top: 0; padding-top: 0; }
  .software-inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 3rem;
    align-items: center;
  }
  .example-panel { margin-top: 0; }
  .apps-grid { grid-template-columns: repeat(3, 1fr); }
  .solutions-grid { grid-template-columns: repeat(3, 1fr); }
  .workflow { grid-template-columns: repeat(4, 1fr); }
  .custom-layout {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 3rem;
    align-items: center;
  }
  .custom-copy { margin-top: 0; }
  .section { padding: 4.5rem 0; }
  .software { padding: 4.5rem 0; }
}

@media (min-width: 1100px) {
  .apps-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 2.15rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .text-link { justify-content: center; }
}

/* Contact */
.contact { border-top: 1px solid var(--line); }
.contact-grid {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}
.contact-card {
  background: #fafafa;
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  padding: 1.35rem 1.25rem 1.25rem;
}
.contact-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.contact-card address {
  font-style: normal;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.975rem;
  margin-bottom: 0.85rem;
}
.contact-ids {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--ink);
  word-break: break-word;
}
.contact-ids p { margin: 0; }
.contact-id-label {
  display: inline;
  font-weight: 600;
  color: #666;
  margin-right: 0.35rem;
}
.contact-action {
  width: 100%;
  min-height: 48px;
  justify-content: center;
}
@media (max-width: 420px) {
  .contact-ids { grid-template-columns: 1fr; gap: 0.35rem; }
}
@media (min-width: 900px) {
  .contact-card { padding: 1.5rem 1.5rem 1.35rem; }
}

/* Always-visible WhatsApp in footer */
.footer-whatsapp {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 48px;
  min-height: 48px;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
}
.footer-whatsapp:hover { filter: brightness(0.96); color: #fff; }
.footer-whatsapp:focus-visible {
  outline: 3px solid #0b6b33;
  outline-offset: 3px;
}
.footer-whatsapp svg { flex-shrink: 0; display: block; }
.footer-whatsapp-label { display: none; }
@media (min-width: 640px) {
  .footer-whatsapp-label { display: inline; }
}
@media (prefers-reduced-motion: no-preference) {
  .footer-whatsapp {
    transition: transform 0.2s var(--ease), filter 0.2s, bottom 0.2s var(--ease);
  }
  .footer-whatsapp:hover { transform: translateY(-2px); }
}

/* Cookie consent bar */
.cookie-banner {
  --cookie-orange: #f15a24;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding:
    1.15rem max(var(--pad), env(safe-area-inset-right))
    max(1.15rem, env(safe-area-inset-bottom))
    max(var(--pad), env(safe-area-inset-left));
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06);
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}
.cookie-banner-text {
  margin: 0;
  color: #4a4a4a;
  font-size: 0.875rem;
  line-height: 1.55;
  max-width: 52rem;
}
.cookie-banner-text a {
  color: var(--cookie-orange);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-text a:hover { color: var(--orange-deep); }
.cookie-banner-text a:focus-visible {
  outline: 3px solid var(--orange-deep);
  outline-offset: 3px;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.65rem;
  flex-shrink: 0;
}
.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  border-radius: 0.35rem;
  font-size: 0.9375rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: none;
}
.cookie-btn:focus-visible {
  outline: 3px solid var(--orange-deep);
  outline-offset: 3px;
}
.cookie-btn-accept {
  background: var(--cookie-orange);
  color: #fff;
  border-color: var(--cookie-orange);
}
.cookie-btn-accept:hover { filter: brightness(0.96); }
.cookie-btn-reject {
  background: var(--white);
  color: #333;
  border-color: #d0d0d0;
}
.cookie-btn-reject:hover { border-color: #999; }
body.cookie-banner-open {
  padding-bottom: calc(5.5rem + var(--cookie-banner-h, 10rem));
}
body.cookie-banner-open .footer-whatsapp {
  bottom: calc(var(--cookie-banner-h, 10rem) + max(1rem, env(safe-area-inset-bottom)));
}
@media (prefers-reduced-motion: no-preference) {
  .cookie-btn { transition: filter 0.2s var(--ease), border-color 0.2s var(--ease); }
}
@media (min-width: 768px) {
  .cookie-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2rem;
  }
  .cookie-banner-actions {
    flex-direction: row;
    flex-wrap: nowrap;
  }
  .cookie-btn {
    width: auto;
    min-width: 7.5rem;
  }
}

/* Cookies policy page */
.policy-page h1 {
  font-size: clamp(2rem, 6vw, 2.75rem);
  max-width: 16ch;
}
.policy-body {
  max-width: 40rem;
  display: grid;
  gap: 1.25rem;
}
.policy-body h2 {
  font-size: 1.25rem;
  margin-top: 0.5rem;
}
.policy-body p { color: var(--muted); }
.policy-body code {
  font-size: 0.875em;
  background: var(--soft);
  padding: 0.1em 0.35em;
  border-radius: 0.25rem;
}
.policy-body a {
  color: var(--orange-deep);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.policy-back { margin-top: 1rem; }


/* Product catalog (hardware + software) — Sunmi-style grid, Scangle content */
.catalog-controls {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.catalog-filter-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--muted);
}
.catalog-filter-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 2.5rem 0.75rem 0.9rem;
  border: 1px solid #d0d0d0;
  border-radius: 0.4rem;
  background:
    var(--white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M1 1l5 5 5-5'/%3E%3C/svg%3E")
    no-repeat right 1rem center;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
}
.catalog-filter-nav {
  display: none;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
}
.catalog-filter-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #555;
  border-bottom: 2px solid transparent;
}
.catalog-filter-nav a:hover,
.catalog-filter-nav a:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--orange);
}
.catalog-group {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
  margin-bottom: 2.25rem;
}
.catalog-group.is-hidden { display: none; }
.catalog-group-title {
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
}
.catalog-group-lead {
  margin: -0.35rem 0 1.15rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}
.catalog-grid-text .catalog-card-text {
  justify-content: flex-start;
  padding-top: 1.25rem;
}
.catalog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.catalog-card {
  display: flex;
  flex-direction: column;
  background: #f3f3f3;
  padding: 1rem 0.85rem 1.15rem;
  min-width: 0;
}
.catalog-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f3f3;
  padding: 0.65rem;
  margin-bottom: 0.85rem;
  min-height: 8.5rem;
}
.catalog-card-media img {
  width: 100%;
  height: auto;
  max-height: 11rem;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.catalog-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 8.5rem;
  margin-bottom: 0.85rem;
  background: #ebebeb;
  color: #8a8a8a;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.catalog-card h4 {
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
  line-height: 1.25;
}
.catalog-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.45;
}
.catalog-card-text .catalog-card-placeholder { min-height: 7rem; }

@media (min-width: 640px) {
  .catalog-grid { gap: 1.1rem; }
  .catalog-card { padding: 1.15rem 1rem 1.35rem; }
  .catalog-card h4 { font-size: 1.0625rem; }
  .catalog-card-media { min-height: 10rem; }
  .catalog-card-media img { max-height: 13rem; }
}

@media (min-width: 900px) {
  .catalog-controls {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
  }
  .catalog-filter-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .catalog-filter-select {
    display: none;
  }
  .catalog-filter-nav { display: flex; flex: 1; }
  .catalog-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
  .catalog-group-title { font-size: 1.5rem; }
  .catalog-card-media { min-height: 12rem; padding: 1rem; }
  .catalog-card-media img { max-height: 14rem; }
}

@media (max-width: 360px) {
  .catalog-grid { gap: 0.65rem; }
  .catalog-card { padding: 0.75rem 0.65rem 1rem; }
  .catalog-card h4 { font-size: 0.9375rem; }
  .catalog-card > p { font-size: 0.875rem; }
}
