/* ShowIt.io — site stylesheet */

@font-face { font-family: "Baumans"; src: url("../fonts/baumans.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../fonts/open-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../fonts/open-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../fonts/open-sans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --orange: #e56038;
  --orange-dark: #c94a24;
  --orange-soft: #fbe3da;
  --sand: #ebe8de;
  --sand-light: #f6f4ee;
  --line: #d6d0c1;
  --ink: #2b2925;
  --ink-soft: #5e5a50;
  --dark: #2f2d29;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(43 41 37 / .06), 0 8px 24px rgb(43 41 37 / .08);
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 1rem/1.65 "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--sand-light);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(235 232 222 / .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-top: 4px solid var(--orange);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: baseline; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand-name { font-family: "Baumans", "Open Sans", sans-serif; font-size: 1.9rem; color: var(--orange); line-height: 1; }
.brand-tag { font-size: .8rem; color: var(--ink-soft); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; align-items: center; }
.nav a {
  display: block; padding: .5rem .8rem; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.nav a:hover { background: rgb(229 96 56 / .1); color: var(--orange-dark); }
.nav a[aria-current="page"] { color: var(--orange-dark); background: rgb(229 96 56 / .12); }
.nav .lang a { border: 1px solid var(--line); font-size: .85rem; margin-left: .4rem; }
.nav .cta a { background: var(--orange); color: #fff; }
.nav .cta a:hover { background: var(--orange-dark); color: #fff; }
.menu-btn {
  display: none; align-items: center; gap: .5rem;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: .45rem .75rem; font: 600 .9rem "Open Sans", sans-serif; color: var(--ink); cursor: pointer;
}
.menu-btn .bars, .menu-btn .bars::before, .menu-btn .bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: .2s;
}
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; }
.menu-btn .bars::before { top: -6px; }
.menu-btn .bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .bars { background: transparent; }
.menu-btn[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .brand-tag { display: none; }
  .nav { position: absolute; inset: 100% 0 auto 0; background: var(--sand); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: .5rem 1.25rem 1rem; }
  .nav a { padding: .8rem .6rem; }
  .nav .lang a { margin: .4rem 0 0; text-align: center; }
  .nav .cta a { text-align: center; margin-top: .4rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.3rem; border-radius: 10px; border: 2px solid transparent;
  font-weight: 700; text-decoration: none; cursor: pointer; font-size: 1rem; font-family: inherit;
  transition: background .15s, color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Hero ---------- */
.hero { background: var(--sand); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; padding-block: 4.5rem; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: .9rem; }
.hero p.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 34em; margin-bottom: 1.8rem; }
.hero-img { border-radius: 20px; box-shadow: var(--shadow); aspect-ratio: 1200 / 847; object-fit: cover; width: 100%; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 2.5rem; gap: 2rem; }
}

.page-head { background: var(--sand); border-bottom: 1px solid var(--line); padding-block: 2.6rem 2rem; }
.page-head p { color: var(--ink-soft); font-size: 1.1rem; max-width: 42em; margin: 0; }
.crumbs { font-size: .85rem; margin-bottom: .8rem; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); }

/* ---------- Sections ---------- */
.section { padding-block: 4rem; }
.section-alt { background: var(--white); border-block: 1px solid var(--line); }
.section-head { max-width: 40em; margin-bottom: 2.2rem; }
.section-head p { color: var(--ink-soft); }

.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; position: relative; transition: transform .15s, box-shadow .15s, border-color .15s;
}
.card p { color: var(--ink-soft); margin: 0; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--orange); }
.card-link h3 a { color: var(--ink); text-decoration: none; }
.card-link h3 a::after { content: ""; position: absolute; inset: 0; }
.card .more { display: inline-block; margin-top: 1rem; font-weight: 700; color: var(--orange-dark); font-size: .9rem; }
.icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--orange-soft); color: var(--orange-dark); margin-bottom: 1rem;
}
.icon svg { width: 28px; height: 28px; }

.steps { counter-reset: step; }
.step { padding-left: 0; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange); color: #fff; font-weight: 700; margin-bottom: .9rem;
}
.step p { color: var(--ink-soft); margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 2rem; } }

.cta-band { background: var(--orange); color: #fff; border-radius: 20px; padding: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { margin: 0 0 .3rem; }
.cta-band p { margin: 0; opacity: .92; }
.cta-band .btn { background: #fff; color: var(--orange-dark); }
.cta-band .btn:hover { background: var(--ink); color: #fff; }

/* ---------- Sensor pages ---------- */
.subnav { background: var(--white); border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; margin: 0; padding: .7rem 0; display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: thin; }
.subnav a {
  display: block; white-space: nowrap; padding: .4rem .9rem; border-radius: 999px;
  border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .9rem; font-weight: 600;
}
.subnav a:hover { border-color: var(--orange); color: var(--orange-dark); }
.subnav a[aria-current="page"] { background: var(--orange); border-color: var(--orange); color: #fff; }

.product { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.product + .product { margin-top: 3.5rem; padding-top: 3.5rem; border-top: 1px solid var(--line); }
.product-main > * + * { margin-top: 1.5rem; }
.product-main ul { padding-left: 1.2rem; margin: 0 0 1em; }
.product-aside { display: grid; gap: 1.25rem; position: sticky; top: 96px; }
.product-aside h3 { display: flex; align-items: center; gap: .55rem; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.product-aside h3 svg { width: 20px; height: 20px; color: var(--orange); }
@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; }
  .product-aside { position: static; }
}

.specs { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.specs dt, .specs dd { padding: .55rem 0; border-top: 1px solid var(--sand); margin: 0; }
.specs dt { color: var(--ink-soft); padding-right: 1rem; }
.specs dd { font-weight: 600; text-align: right; white-space: nowrap; }
.specs dt:first-of-type, .specs dd:first-of-type { border-top: 0; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: .4rem 0 .4rem 1.6rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .85rem; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.note { font-size: .9rem; color: var(--ink-soft); }

.zoom { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--white); cursor: zoom-in; position: relative; padding: 0; width: 100%; }
.zoom img { width: 100%; transition: transform .3s; }
.zoom:hover img { transform: scale(1.03); }
.zoom .zoom-hint {
  position: absolute; right: .75rem; bottom: .75rem; background: rgb(43 41 37 / .78); color: #fff;
  font-size: .8rem; font-weight: 600; padding: .3rem .65rem; border-radius: 999px;
}
figure { margin: 0; }
figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: .5rem; }

.dashboard { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.dashboard-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line); font-size: .9rem; font-weight: 600; }
.live { display: inline-flex; align-items: center; gap: .4rem; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2fa84f; box-shadow: 0 0 0 3px rgb(47 168 79 / .2); }
.dashboard iframe { display: block; width: 100%; height: 600px; border: 0; }

/* ---------- Lightbox ---------- */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1100px); max-height: 94vh; }
dialog.lightbox::backdrop { background: rgb(20 19 17 / .85); }
dialog.lightbox img { max-height: 88vh; width: auto; margin: 0 auto; border-radius: 10px; }
dialog.lightbox .close {
  position: fixed; top: 1rem; right: 1rem; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: #fff; color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer;
}
dialog.lightbox p { color: #fff; text-align: center; margin: .6rem 0 0; font-size: .9rem; }

/* ---------- Contact / prose ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .icon { margin: 0; flex: none; width: 44px; height: 44px; }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; font-size: .85rem; color: var(--ink-soft); font-weight: 600; }

.prose { max-width: 46em; }
.prose h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.prose ul { padding-left: 1.2rem; }
.prose table { border-collapse: collapse; width: 100%; font-size: .92rem; margin-bottom: 1.2rem; }
.prose th, .prose td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--sand); }
.table-scroll { overflow-x: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #cfcabe; margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #ffb399; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-block: 3.2rem 2.4rem; }
.footer-grid h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #9c968a; margin-bottom: .9rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-grid .brand-name { font-size: 1.7rem; }
.footer-grid p { font-size: .92rem; margin-top: .6rem; }
.footer-bottom { border-top: 1px solid #45423c; padding-block: 1.2rem; font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: #fff; cursor: pointer; }
.linkbtn:hover { color: #ffb399; text-decoration: underline; }
.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #45423c; }
.social a:hover { background: var(--orange); text-decoration: none; }
.social svg { width: 18px; height: 18px; fill: #fff; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Cookie banner ---------- */
.consent {
  position: fixed; z-index: 200; left: 1rem; right: 1rem; bottom: 1rem; margin-inline: auto; max-width: 560px;
  background: var(--white); color: var(--ink); border-radius: 16px; border: 1px solid var(--line);
  box-shadow: 0 10px 40px rgb(0 0 0 / .25); padding: 1.4rem;
}
.consent[hidden] { display: none; }
.consent h2 { font-size: 1.1rem; margin-bottom: .4rem; }
.consent p { font-size: .9rem; color: var(--ink-soft); }
.consent fieldset { border: 0; padding: 0; margin: 0 0 1rem; display: grid; gap: .55rem; }
.consent label { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; cursor: pointer; }
.consent label span small { display: block; color: var(--ink-soft); }
.consent input { margin-top: .3rem; accent-color: var(--orange); width: 18px; height: 18px; }
.consent .btn { padding: .65rem 1rem; font-size: .9rem; }
.consent .btn-row { justify-content: flex-end; }
.consent-details[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
.linkbtn-inline { background: none; border: 0; padding: 0; font: inherit; color: var(--orange-dark); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mt { margin-top: 1.4rem; }
.pt0 { padding-top: 0; }
.split.top { align-items: start; }
.h-card { font-size: 1.3rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.question { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.question h3 { margin-bottom: .2rem; }
