/* ===================================================================
   TONIControl — Design System
   Shared stylesheet for every page of the site.
=================================================================== */

/* ============ TOKENS ============ */
:root{
  --ink:#10192A;
  --ink-soft:#48556D;
  --ink-faint:#7C879A;
  --paper:#EFF3F4;
  --paper-raised:#FFFFFF;
  --line:#D9E0E3;
  --line-strong:#C2CBD0;
  --teal:#0B9E90;
  --teal-ink:#066C63;
  --teal-soft:#DFF3F0;
  --amber:#E85A2A;
  --amber-soft:#FCE3D6;
  --focus:#0B9E90;
  --shadow: 0 1px 2px rgba(16,25,42,0.04), 0 12px 28px -14px rgba(16,25,42,0.18);
  --shadow-lift: 0 2px 4px rgba(16,25,42,0.04), 0 22px 44px -22px rgba(16,25,42,0.30);
  --plate:#F3F6F7;        /* product photos are baked against this exact tone */
  --plate-edge:#E4EAEC;
  --glow: radial-gradient(60% 55% at 72% 18%, rgba(11,158,144,0.13), transparent 70%);

  --font-display:"Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body:"IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono:"IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: 1.75rem;
  --fs-xl: clamp(2rem, 1.6rem + 2vw, 2.75rem);
  --fs-2xl: clamp(2.75rem, 2rem + 3.5vw, 4.25rem);
  --fs-3xl: clamp(3.25rem, 2.2rem + 5vw, 5.75rem);
  --fs-hero: clamp(2.9rem, 1.9rem + 4.2vw, 4.9rem);

  --space-1: 0.5rem;
  --space-2: 0.875rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6.5rem;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --container: 1180px;
  --container-narrow: 860px;
}

@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --ink:#EEF2F4;
    --ink-soft:#B4BFCE;
    --ink-faint:#7E8CA0;
    --paper:#0A1420;
    --paper-raised:#111E2E;
    --line:#233144;
    --line-strong:#324259;
    --teal:#35D8C4;
    --teal-ink:#8FF0E1;
    --teal-soft:rgba(53,216,196,0.12);
    --amber:#FF8A5A;
    --amber-soft:rgba(255,138,90,0.14);
    --focus:#35D8C4;
    --shadow: 0 1px 2px rgba(0,0,0,0.3), 0 20px 40px -20px rgba(0,0,0,0.6);
  --shadow-lift: 0 2px 6px rgba(0,0,0,0.35), 0 28px 56px -24px rgba(0,0,0,0.75);
  --plate:#F3F6F7;
  --plate-edge:#DFE6E9;
  --glow: radial-gradient(60% 55% at 72% 18%, rgba(53,216,196,0.14), transparent 70%);
    --shadow-lift: 0 2px 6px rgba(0,0,0,0.35), 0 28px 56px -24px rgba(0,0,0,0.75);
    --plate:#F3F6F7;
    --plate-edge:#DFE6E9;
    --glow: radial-gradient(60% 55% at 72% 18%, rgba(53,216,196,0.14), transparent 70%);
  }
}
:root[data-theme="dark"]{
  --ink:#EEF2F4;
  --ink-soft:#B4BFCE;
  --ink-faint:#7E8CA0;
  --paper:#0A1420;
  --paper-raised:#111E2E;
  --line:#233144;
  --line-strong:#324259;
  --teal:#35D8C4;
  --teal-ink:#8FF0E1;
  --teal-soft:rgba(53,216,196,0.12);
  --amber:#FF8A5A;
  --amber-soft:rgba(255,138,90,0.14);
  --focus:#35D8C4;
  --shadow: 0 1px 2px rgba(0,0,0,0.3), 0 20px 40px -20px rgba(0,0,0,0.6);
}

/* ============ BASE ============ */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:var(--fs-base);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; }
h1,h2,h3,h4{ margin:0; text-wrap:balance; font-family:var(--font-display); font-weight:800; letter-spacing:0.01em; }
p{ margin:0; }
ul{ margin:0; padding:0; list-style:none; }
button{ font:inherit; background:none; border:none; cursor:pointer; color:inherit; }
::selection{ background:var(--teal); color:#04231F; }
:focus-visible{ outline:2px solid var(--focus); outline-offset:3px; border-radius:4px; }

.wrap{ max-width:var(--container); margin:0 auto; padding-inline:clamp(1.25rem, 4vw, 2.5rem); }
.wrap-narrow{ max-width:var(--container-narrow); margin:0 auto; padding-inline:clamp(1.25rem, 4vw, 2.5rem); }

.eyebrow{
  font-family:var(--font-mono);
  font-size:var(--fs-xs);
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--teal-ink);
  display:inline-flex;
  align-items:center;
  gap:0.6em;
}
.eyebrow::before{
  content:"";
  width:7px; height:7px; border-radius:50%;
  background:var(--teal);
  box-shadow:0 0 0 3px var(--teal-soft);
}

/* ============ NAV ============ */
.nav{
  position:sticky; top:0; z-index:50;
  background:color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding-block:0.85rem;
  gap:1.5rem;
}
.brand{ display:flex; align-items:center; gap:0.65rem; text-decoration:none; }
.brand-mark{ width:34px; height:34px; flex:none; }
.brand-word{ font-family:var(--font-display); font-weight:800; font-size:1.3rem; letter-spacing:0.01em; color:var(--ink); line-height:1; }
.brand-word small{ display:block; font-family:var(--font-mono); font-size:0.55rem; font-weight:500; letter-spacing:0.2em; color:var(--ink-faint); margin-top:0.28em; }

.nav-links{ display:flex; align-items:center; gap:1.75rem; }
.nav-links a{ text-decoration:none; font-size:0.9rem; font-weight:500; color:var(--ink-soft); transition:color .15s ease; position:relative; }
.nav-links a:hover{ color:var(--ink); }
.nav-links a[aria-current="page"]{ color:var(--ink); }
.nav-links a[aria-current="page"]::after{
  content:""; position:absolute; left:0; right:0; bottom:-0.9rem; height:2px; background:var(--teal);
}
.nav-right{ display:flex; align-items:center; gap:1.25rem; }
.lang-switch{
  display:inline-flex; font-family:var(--font-mono); font-size:0.72rem; letter-spacing:0.05em;
  border:1px solid var(--line-strong); border-radius:100px; overflow:hidden;
}
.lang-switch a{ padding:0.4rem 0.7rem; text-decoration:none; color:var(--ink-faint); font-weight:600; }
.lang-switch a[aria-current="true"]{ background:var(--ink); color:var(--paper); }
.nav-cta{
  display:inline-flex; align-items:center; gap:0.5rem;
  background:var(--ink); color:var(--paper);
  padding:0.6rem 1.1rem; border-radius:100px;
  font-size:0.85rem; font-weight:600; text-decoration:none;
  white-space:nowrap;
  transition:transform .15s ease, background .15s ease;
}
.nav-cta:hover{ background:var(--teal); transform:translateY(-1px); }

.nav-toggle{
  display:none; width:38px; height:38px; border-radius:8px;
  align-items:center; justify-content:center; flex:none;
  border:1px solid var(--line-strong);
}
.nav-toggle svg{ width:18px; height:18px; }
.nav-toggle .icon-close{ display:none; }
.nav-toggle[aria-expanded="true"] .icon-open{ display:none; }
.nav-toggle[aria-expanded="true"] .icon-close{ display:block; }

.nav-mobile{
  display:none;
  flex-direction:column;
  border-top:1px solid var(--line);
  padding:1rem clamp(1.25rem, 4vw, 2.5rem) 1.5rem;
  gap:0.25rem;
}
.nav-mobile a{
  text-decoration:none; color:var(--ink-soft); font-weight:500; font-size:1rem;
  padding:0.75rem 0.25rem; border-bottom:1px solid var(--line);
}
.nav-mobile a[aria-current="page"]{ color:var(--teal-ink); }
.nav-mobile .nav-cta{ margin-top:1rem; justify-content:center; }
.nav.is-open .nav-mobile{ display:flex; }

@media (max-width: 980px){
  .nav-links{ display:none; }
  .nav-toggle{ display:inline-flex; }
}

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex; align-items:center; gap:0.55rem;
  padding:0.9rem 1.5rem;
  border-radius:100px;
  font-weight:600; font-size:0.95rem;
  text-decoration:none;
  border:1px solid transparent;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn-primary{ background:var(--amber); color:#1B0A02; }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 14px 24px -12px color-mix(in srgb, var(--amber) 60%, transparent); }
.btn-ghost{ background:transparent; border-color:var(--line-strong); color:var(--ink); }
.btn-ghost:hover{ border-color:var(--teal); color:var(--teal-ink); }
.btn-sm{ padding:0.6rem 1.1rem; font-size:0.85rem; }

/* ============ HERO (home) ============ */
.hero{ padding-block: clamp(2.5rem, 6vw, 5.5rem) var(--space-6); position:relative; overflow:clip; }
.hero > .wrap{ position:relative; z-index:1; }
.hero-grid{ display:grid; grid-template-columns: 1.05fr 0.95fr; gap:clamp(2rem, 5vw, 4rem); align-items:center; }
.hero h1{ font-size:var(--fs-3xl); line-height:0.98; margin-block:0.5rem 1.1rem; text-transform:uppercase; }
.hero h1 em{ font-style:normal; color:var(--teal); }
.hero-sub{ max-width:46ch; color:var(--ink-soft); font-size:var(--fs-md); line-height:1.55; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:0.9rem; margin-top:2rem; }
.hero-meta{ display:flex; gap:2rem; margin-top:2.75rem; flex-wrap:wrap; }
.hero-meta div{ font-family:var(--font-mono); }
.hero-meta .n{ font-size:1.5rem; font-weight:600; color:var(--ink); font-variant-numeric:tabular-nums; }
.hero-meta .l{ font-size:0.72rem; color:var(--ink-faint); letter-spacing:0.06em; text-transform:uppercase; margin-top:0.2rem; }

/* ============ PAGE HERO (inner pages) ============ */
.page-hero{ padding-block: clamp(2.25rem, 5vw, 3.5rem) var(--space-5); border-bottom:1px solid var(--line); }
.page-hero h1{ font-size:var(--fs-2xl); line-height:1; text-transform:uppercase; margin-top:0.6rem; }
.page-hero p{ color:var(--ink-soft); font-size:var(--fs-md); margin-top:1.1rem; max-width:62ch; }
.page-hero-row{ display:flex; flex-wrap:wrap; align-items:flex-start; justify-content:space-between; gap:1.5rem 2rem; }

/* Terminal panel (home hero) */
.panel{ background:var(--paper-raised); border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow); overflow:hidden; }
.panel-bar{ display:flex; align-items:center; justify-content:space-between; padding:0.85rem 1.15rem; border-bottom:1px solid var(--line); background:color-mix(in srgb, var(--paper) 60%, var(--paper-raised)); }
.panel-bar-label{ font-family:var(--font-mono); font-size:0.72rem; letter-spacing:0.08em; color:var(--ink-faint); text-transform:uppercase; }
.panel-dots{ display:flex; gap:0.4rem; }
.panel-dots span{ width:8px; height:8px; border-radius:50%; background:var(--line-strong); }
.clock-face{ padding: 1.75rem 1.15rem 1.25rem; text-align:center; border-bottom:1px solid var(--line); }
.clock-time{ font-family:var(--font-mono); font-size:clamp(2.4rem, 5vw, 3.2rem); font-weight:600; letter-spacing:0.02em; color:var(--ink); font-variant-numeric:tabular-nums; }
.clock-time .sec{ color:var(--teal); }
.clock-date{ margin-top:0.35rem; font-family:var(--font-mono); font-size:0.78rem; color:var(--ink-faint); text-transform:capitalize; }
.feed{ padding:0.85rem 1.15rem 1.15rem; display:flex; flex-direction:column; gap:0.55rem; }
.feed-row{ display:flex; align-items:center; gap:0.75rem; padding:0.6rem 0.7rem; border-radius:var(--radius-sm); background:color-mix(in srgb, var(--paper) 55%, transparent); font-size:0.85rem; opacity:0; transform:translateY(4px); animation: feedIn .5s ease forwards; }
.feed-row .badge-icon{ width:26px; height:26px; flex:none; border-radius:7px; background:var(--teal-soft); display:flex; align-items:center; justify-content:center; }
.feed-row .badge-icon svg{ width:14px; height:14px; color:var(--teal-ink); }
.feed-row .who{ font-weight:600; color:var(--ink); }
.feed-row .what{ color:var(--ink-faint); font-family:var(--font-mono); font-size:0.76rem; margin-left:auto; white-space:nowrap; }
.feed-row.out .badge-icon{ background:var(--amber-soft); }
.feed-row.out .badge-icon svg{ color:var(--amber); }
@keyframes feedIn{ to{ opacity:1; transform:translateY(0);} }

/* ============ SECTION HEADS ============ */
.section{ padding-block: var(--space-6); border-top:1px solid var(--line); }
.section-tight{ padding-block: var(--space-5); }
.section:first-child, main > .section:first-child{ border-top:none; }
.section-head{ max-width:56ch; margin-bottom:var(--space-4); }
.section-head h2{ font-size:var(--fs-2xl); line-height:1; text-transform:uppercase; margin-top:0.6rem; }
.section-head p{ color:var(--ink-soft); font-size:var(--fs-md); margin-top:1rem; max-width:52ch; }
.section-head.with-badge{ display:flex; flex-wrap:wrap; align-items:flex-start; justify-content:space-between; gap:1.5rem 2rem; max-width:none; }
.section-head.with-badge > div{ max-width:56ch; }

/* ============ PROSE (Sobre, textos longos) ============ */
.prose{ max-width:68ch; }
.prose p{ color:var(--ink-soft); font-size:var(--fs-md); line-height:1.75; margin-bottom:1.3rem; }
.prose p:last-child{ margin-bottom:0; }
.prose strong{ color:var(--ink); }

/* ============ STAT STRIP ============ */
.stats{ display:grid; grid-template-columns:repeat(4,1fr); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; background:var(--paper-raised); }
.stat{ padding:1.6rem 1.4rem; border-left:1px solid var(--line); }
.stat:first-child{ border-left:none; }
.stat .n{ font-family:var(--font-mono); font-size:2rem; font-weight:600; color:var(--teal-ink); font-variant-numeric:tabular-nums; }
.stat .l{ margin-top:0.35rem; font-size:0.85rem; color:var(--ink-soft); }

/* ============ CARDS / GRIDS ============ */
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.25rem; }
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem; }
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:1.25rem; }
.grid-fit{ display:grid; grid-template-columns:repeat(auto-fit, minmax(210px, 1fr)); gap:1.25rem; }

.spec-tag{
  display:inline-flex; align-items:center; gap:0.4em;
  font-family:var(--font-mono); font-size:0.68rem; letter-spacing:0.06em; text-transform:uppercase;
  color:var(--amber); background:var(--amber-soft);
  padding:0.28em 0.65em; border-radius:100px;
  margin-bottom:0.9rem;
}
.spec-tag.alt{ color:var(--teal-ink); background:var(--teal-soft); }

.logo-badge{ --badge-size: 40px; display:inline-flex; align-items:center; justify-content:center; width:var(--badge-size); height:var(--badge-size); background:#FFFFFF; border-radius:10px; box-shadow:var(--shadow); padding:5px; flex:none; }
.logo-badge img{ width:100%; height:100%; object-fit:contain; }
.logo-badge.lg{ --badge-size: 68px; border-radius:14px; padding:9px; }

/* Product plate: every product photo sits on an identical lit panel, so a set
   of catalogue shots from different sources still reads as one family. */
.product-photo{
  position:relative;
  background:
    radial-gradient(120% 95% at 50% 12%, #FFFFFF 0%, var(--plate) 62%, var(--plate-edge) 100%);
  border-radius:var(--radius-md);
  aspect-ratio: 4 / 3;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
  margin-bottom:1.25rem;
  box-shadow: inset 0 0 0 1px rgba(16,25,42,0.06);
}
.product-photo img{
  width:auto; height:88%; max-width:88%; object-fit:contain;
  mix-blend-mode:multiply;
  transition: transform .45s cubic-bezier(.2,.7,.3,1);
}
.product-photo::after{
  content:""; position:absolute; inset:auto 18% 7% 18%; height:10px;
  background:radial-gradient(50% 100% at 50% 50%, rgba(16,25,42,0.18), transparent 70%);
  filter:blur(3px);
}
.card:hover .product-photo img, .pcard:hover .product-photo img{ transform:scale(1.045); }

.card{
  background:var(--paper-raised); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:1.75rem 1.5rem;
  display:flex; flex-direction:column; height:100%;
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover{ transform:translateY(-4px); border-color:var(--line-strong); box-shadow:var(--shadow-lift); }
.card > .spec-tag{ align-self:flex-start; }
.card-icon{ width:46px; height:46px; border-radius:12px; background:var(--teal-soft); display:flex; align-items:center; justify-content:center; margin-bottom:1.1rem; }
.card-icon svg{ width:24px; height:24px; color:var(--teal-ink); }
.card h3{ font-size:1.15rem; text-transform:none; letter-spacing:0; margin-bottom:0.5rem; }
.card p{ color:var(--ink-soft); font-size:0.92rem; line-height:1.6; }
.card-link{ display:inline-flex; align-items:center; gap:0.4rem; margin-top:1rem; font-size:0.85rem; font-weight:600; color:var(--teal-ink); text-decoration:none; }
.card-link svg{ width:14px; height:14px; }

/* Category / hub cards (Produtos index) */
.cat-card{ display:flex; flex-direction:column; background:var(--paper-raised); border:1px solid var(--line); border-radius:var(--radius-lg); padding:2rem; text-decoration:none; color:inherit; transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.cat-card:hover{ transform:translateY(-4px); border-color:var(--teal); box-shadow:var(--shadow); }
.cat-card .card-icon{ width:52px; height:52px; }
.cat-card .card-icon svg{ width:26px; height:26px; }
.cat-card h3{ font-size:1.3rem; text-transform:uppercase; margin-bottom:0.5rem; }
.cat-card p{ color:var(--ink-soft); font-size:0.95rem; margin-bottom:1.25rem; }
.cat-card .card-link{ margin-top:auto; }

/* Spec list (RFID / IoT product detail) */
.spec-list{ display:grid; grid-template-columns:repeat(2,1fr); gap:0.6rem 1.5rem; margin-top:1.1rem; padding-top:1.1rem; border-top:1px solid var(--line); }
.spec-list div{ font-size:0.82rem; }
.spec-list dt{ font-family:var(--font-mono); font-size:0.68rem; text-transform:uppercase; letter-spacing:0.05em; color:var(--ink-faint); margin:0; }
.spec-list dd{ margin:0.15rem 0 0; color:var(--ink); font-weight:600; font-variant-numeric:tabular-nums; }

/* ============ PROCESS ============ */
.process{ counter-reset:step; }
.process-row{ display:grid; grid-template-columns: 90px 1fr; gap:1.5rem; padding-block:1.6rem; border-top:1px solid var(--line); align-items:start; }
.process-row:last-child{ border-bottom:1px solid var(--line); }
.process-num{ font-family:var(--font-mono); font-size:1.6rem; color:var(--ink-faint); font-variant-numeric:tabular-nums; }
.process-row:hover .process-num{ color:var(--teal); }
.process-body h3{ font-size:1.15rem; text-transform:none; letter-spacing:0; margin-bottom:0.4rem; }
.process-body p{ color:var(--ink-soft); max-width:60ch; font-size:0.95rem; }

/* ============ PRODUCTS (teaser grid on home / hub) ============ */
.products-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(228px, 1fr)); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; }
.product{ background:var(--paper-raised); padding:1.75rem 1.6rem; display:flex; flex-direction:column; gap:0.9rem; min-height:150px; text-decoration:none; color:inherit; transition:background .15s ease; }
.product:hover{ background:color-mix(in srgb, var(--teal-soft) 55%, var(--paper-raised)); }
.product-tag{ font-family:var(--font-mono); font-size:0.68rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--ink-faint); }
.product h4{ font-family:var(--font-body); font-weight:600; font-size:1.02rem; letter-spacing:0; text-transform:none; }
.product p{ font-size:0.85rem; color:var(--ink-soft); margin-top:auto; }

/* ============ TRUST BAND ============ */
.trust{ background:var(--ink); color:var(--paper); border-radius:var(--radius-lg); padding:clamp(2.5rem, 5vw, 4.5rem); display:grid; grid-template-columns: 1.3fr 0.7fr; gap:2.5rem; align-items:center; }
.trust blockquote{ margin:0; font-family:var(--font-display); font-size:clamp(1.6rem, 2vw + 1rem, 2.4rem); font-weight:700; line-height:1.15; text-transform:uppercase; }
.trust cite{ display:block; margin-top:1.25rem; font-style:normal; font-family:var(--font-mono); font-size:0.8rem; color:color-mix(in srgb, var(--paper) 60%, transparent); letter-spacing:0.05em; }
.trust-side{ border-left:1px solid color-mix(in srgb, var(--paper) 20%, transparent); padding-left:2.5rem; }
.trust-side .n{ font-family:var(--font-mono); font-size:3rem; font-weight:600; color:var(--teal); line-height:1; }
.trust-side .l{ margin-top:0.5rem; font-size:0.9rem; color:color-mix(in srgb, var(--paper) 75%, transparent); }

/* ============ VALUES (Sobre) ============ */
.values-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem; margin-top:var(--space-4); }
.value{ padding:1.5rem; border-top:3px solid var(--teal); background:var(--paper-raised); border-radius:0 0 var(--radius-md) var(--radius-md); box-shadow:var(--shadow); }
.value h3{ font-size:1.05rem; text-transform:none; margin-bottom:0.5rem; }
.value p{ color:var(--ink-soft); font-size:0.9rem; }

/* Timeline (Sobre) */
.timeline{ margin-top:var(--space-4); border-left:2px solid var(--line); padding-left:2rem; display:flex; flex-direction:column; gap:1.75rem; }
.timeline-item{ position:relative; }
.timeline-item::before{ content:""; position:absolute; left:-2.45rem; top:0.3rem; width:11px; height:11px; border-radius:50%; background:var(--teal); box-shadow:0 0 0 4px var(--teal-soft); }
.timeline-item .yr{ font-family:var(--font-mono); font-size:0.85rem; color:var(--teal-ink); font-weight:600; }
.timeline-item h3{ font-size:1.1rem; text-transform:none; margin:0.3rem 0 0.35rem; }
.timeline-item p{ color:var(--ink-soft); font-size:0.92rem; max-width:60ch; }

/* ============ CONTACT ============ */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:start; }
.contact-list{ display:flex; flex-direction:column; gap:1.4rem; margin-top:1.5rem; }
.contact-item{ display:flex; gap:1rem; align-items:flex-start; }
.contact-item .ci-icon{ width:38px; height:38px; border-radius:10px; background:var(--teal-soft); display:flex; align-items:center; justify-content:center; flex:none; }
.contact-item .ci-icon svg{ width:19px; height:19px; color:var(--teal-ink); }
.contact-item a, .contact-item span{ text-decoration:none; font-weight:600; color:var(--ink); }
.contact-item .ci-label{ display:block; font-size:0.75rem; color:var(--ink-faint); font-weight:500; margin-bottom:0.15rem; }
.contact-card{ background:var(--paper-raised); border:1px solid var(--line); border-radius:var(--radius-lg); padding:2.25rem; }
.contact-card h3{ font-size:1.4rem; text-transform:uppercase; margin-bottom:0.6rem; }
.contact-card p{ color:var(--ink-soft); font-size:0.95rem; margin-bottom:1.6rem; }
.map-embed{ border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; margin-top:var(--space-4); height:360px; }
.map-embed iframe{ width:100%; height:100%; border:0; display:block; }

/* ============ BREADCRUMB ============ */
.crumb{ display:flex; align-items:center; gap:0.5rem; font-size:0.82rem; color:var(--ink-faint); margin-bottom:1rem; flex-wrap:wrap; }
.crumb a{ text-decoration:none; color:var(--ink-faint); }
.crumb a:hover{ color:var(--teal-ink); }
.crumb span.sep{ opacity:0.5; }
.crumb span.current{ color:var(--ink-soft); }

/* ============ FOOTER ============ */
footer{ border-top:1px solid var(--line); padding-block: var(--space-5) 2.5rem; margin-top: var(--space-5); }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; gap:2.5rem; padding-bottom:2.5rem; border-bottom:1px solid var(--line); }
.footer-about{ display:flex; gap:0.75rem; }
.footer-about p{ color:var(--ink-faint); font-size:0.85rem; margin-top:0.6rem; line-height:1.6; }
.footer-col h4{ font-family:var(--font-mono); font-size:0.72rem; text-transform:uppercase; letter-spacing:0.08em; color:var(--ink-faint); margin-bottom:1rem; }
.footer-col ul{ display:flex; flex-direction:column; gap:0.65rem; }
.footer-col a{ text-decoration:none; color:var(--ink-soft); font-size:0.9rem; }
.footer-col a:hover{ color:var(--teal-ink); }
.footer-row{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem; padding-top:1.75rem; }
.footer-row p{ font-size:0.82rem; color:var(--ink-faint); }
.footer-brand{ display:flex; align-items:center; gap:0.55rem; }

/* ============ REVEAL ============ */
/* Only hide things when we know JS is running to bring them back — otherwise a
   blocked script or a crawler would be served an apparently empty page. */
.js .reveal{ opacity:0; transform:translateY(14px); transition:opacity .6s ease, transform .6s ease; }
.js .reveal.in{ opacity:1; transform:translateY(0); }

@media (prefers-reduced-motion: reduce){
  .js .reveal{ opacity:1; transform:none; transition:none; }
  .feed-row{ opacity:1; transform:none; animation:none; }
  html{ scroll-behavior:auto; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; }
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .grid-3{ grid-template-columns:1fr; }
  .grid-2{ grid-template-columns:1fr; }
  .products-grid{ grid-template-columns:repeat(2,1fr); }
  .stats{ grid-template-columns:repeat(2,1fr); }
  .stat:nth-child(3){ border-left:none; }
  .stat{ border-bottom:1px solid var(--line); }
  .trust{ grid-template-columns:1fr; }
  .trust-side{ border-left:none; border-top:1px solid color-mix(in srgb, var(--paper) 20%, transparent); padding-left:0; padding-top:1.75rem; }
  .contact-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; gap:2rem; }
  .values-grid{ grid-template-columns:1fr; }
}
@media (max-width: 600px){
  .grid-4{ grid-template-columns:1fr; }
  .products-grid{ grid-template-columns:1fr; }
  .process-row{ grid-template-columns:56px 1fr; }
  .hero-meta{ gap:1.5rem; }
  .footer-grid{ grid-template-columns:1fr; }
  .spec-list{ grid-template-columns:1fr 1fr; }
}

/* ===================================================================
   POLISH LAYER
   Added in the end-of-year refresh: richer surfaces, a product-led hero,
   equal-height product cards, editorial feature rows and a spec table.
=================================================================== */

/* ---- page surface ---------------------------------------------- */
/* The page keeps one flat surface colour; the tint lives on the hero only, so
   nothing depends on how a body background propagates to the canvas. */
body{ background-color: var(--paper); }
.hero{
  background-image:
    var(--glow),
    linear-gradient(180deg, color-mix(in srgb, var(--paper-raised) 60%, var(--paper)) 0%, var(--paper) 100%);
}
.section-alt{ background:color-mix(in srgb, var(--paper-raised) 55%, var(--paper)); }

/* ---- nav: lifts off the page once you start scrolling ----------- */
.nav{ transition: background .25s ease, box-shadow .25s ease, border-color .25s ease; }
.nav.is-stuck{
  background:color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter:saturate(1.6) blur(12px);
  backdrop-filter:saturate(1.6) blur(12px);
  box-shadow:0 1px 0 var(--line), 0 10px 30px -22px rgba(16,25,42,0.5);
}
.brand-logo{ height:30px; width:auto; flex:none; }
.brand-logo.for-dark{ display:none; }
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .brand-logo.for-light{ display:none; }
  :root:not([data-theme="light"]) .brand-logo.for-dark{ display:block; }
}
:root[data-theme="dark"] .brand-logo.for-light{ display:none; }
:root[data-theme="dark"] .brand-logo.for-dark{ display:block; }

/* ---- hero ------------------------------------------------------- */
.hero{ padding-block: clamp(3rem, 7vw, 6rem) var(--space-6); }
.hero::before{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--line) 55%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--line) 55%, transparent) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 60% at 65% 30%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(70% 60% at 65% 30%, #000 0%, transparent 72%);
  opacity:0.75;
}
.hero h1{ font-size:var(--fs-hero); letter-spacing:-0.005em; }
.hero-sub{ max-width:52ch; }

/* product + live panel stacked composition on the right of the hero */
.hero-stage{ position:relative; display:flex; align-items:center; justify-content:center; min-height:420px; }
.hero-stage .hero-device{
  width:min(100%, 420px);
  filter: drop-shadow(0 40px 50px rgba(16,25,42,0.28));
  position:relative; z-index:1;
}
.hero-stage .hero-device img{ width:100%; height:auto; }
.hero-stage .panel{
  position:absolute; right:-6%; bottom:2%; width:min(74%, 330px); z-index:2;
  backdrop-filter:blur(2px);
}
.hero-stage::before{
  content:""; position:absolute; width:78%; aspect-ratio:1; border-radius:50%;
  background:radial-gradient(circle, color-mix(in srgb, var(--teal) 22%, transparent), transparent 62%);
  filter:blur(18px);
}

/* ---- trust / partner strip -------------------------------------- */
.credstrip{
  display:flex; flex-wrap:wrap; align-items:center; gap:0.75rem 2.25rem;
  padding:1.1rem 1.4rem;
  border:1px solid var(--line); border-radius:100px;
  background:color-mix(in srgb, var(--paper-raised) 80%, transparent);
}
.credstrip .cred{
  display:inline-flex; align-items:center; gap:0.55rem;
  font-size:0.86rem; color:var(--ink-soft);
}
.credstrip .cred svg{ width:17px; height:17px; color:var(--teal); flex:none; }
.credstrip .cred strong{ color:var(--ink); font-weight:600; }

/* ---- section heads with an action on the right ------------------ */
.section-head.row{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:1.5rem 2.5rem; max-width:none; flex-wrap:wrap;
}
.section-head.row > div{ max-width:52ch; }

/* ---- product cards ---------------------------------------------- */
.pgrid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(255px, 1fr)); gap:1.25rem; }
.pcard{
  display:flex; flex-direction:column; height:100%;
  background:var(--paper-raised); border:1px solid var(--line);
  border-radius:var(--radius-lg); padding:1.1rem 1.1rem 1.5rem;
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pcard:hover{ transform:translateY(-5px); border-color:var(--line-strong); box-shadow:var(--shadow-lift); }
.pcard .product-photo{ margin-bottom:1.1rem; }
.pcard-body{ padding-inline:0.4rem; display:flex; flex-direction:column; flex:1; }
.pcard h3{ font-family:var(--font-body); font-weight:700; font-size:1.05rem; letter-spacing:0.01em; margin-bottom:0.45rem; }
.pcard p{ color:var(--ink-soft); font-size:0.9rem; line-height:1.6; }
.pcard .spec-tag{ align-self:flex-start; margin-bottom:0.75rem; }
.pcard .pcard-foot{
  margin-top:auto; padding-top:1rem;
  display:flex; flex-wrap:wrap; gap:0.4rem;
}
.chip{
  font-family:var(--font-mono); font-size:0.66rem; letter-spacing:0.04em;
  color:var(--ink-soft); background:color-mix(in srgb, var(--paper) 70%, transparent);
  border:1px solid var(--line); border-radius:6px; padding:0.25em 0.5em;
}
/* icon-only cards keep the same silhouette as photographed ones */
.product-photo.is-icon{ background:linear-gradient(160deg, var(--teal-soft), color-mix(in srgb, var(--paper) 80%, transparent)); box-shadow:none; }
.product-photo.is-icon::after{ display:none; }
.product-photo.is-icon svg{ width:62px; height:62px; color:var(--teal-ink); opacity:0.9; }

/* ---- editorial feature row (image one side, copy the other) ------ */
.feature-row{
  display:grid; grid-template-columns:1fr 1fr; gap:clamp(2rem, 5vw, 4.5rem);
  align-items:center;
}
.feature-row + .feature-row{ margin-top:var(--space-5); }
.feature-row.flip .feature-media{ order:2; }
.feature-media{
  border-radius:var(--radius-lg); overflow:hidden; position:relative;
  background:radial-gradient(110% 90% at 50% 10%, #FFFFFF, var(--plate) 60%, var(--plate-edge) 100%);
  aspect-ratio: 5 / 4; display:flex; align-items:center; justify-content:center;
  box-shadow: inset 0 0 0 1px rgba(16,25,42,0.06), var(--shadow);
}
.feature-media img{ width:72%; height:auto; mix-blend-mode:multiply; }
.feature-copy h3{ font-size:var(--fs-lg); text-transform:uppercase; margin-bottom:0.9rem; }
.feature-copy p{ color:var(--ink-soft); font-size:var(--fs-md); line-height:1.65; }
.feature-list{ margin-top:1.5rem; display:flex; flex-direction:column; gap:0.75rem; }
.feature-list li{ display:flex; gap:0.7rem; align-items:flex-start; font-size:0.95rem; color:var(--ink-soft); }
.feature-list svg{ width:18px; height:18px; color:var(--teal); flex:none; margin-top:0.25rem; }

/* ---- comparison table ------------------------------------------- */
.table-wrap{ overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius-lg); background:var(--paper-raised); }
.spec-table{ width:100%; border-collapse:collapse; min-width:620px; font-size:0.9rem; }
.spec-table th, .spec-table td{ padding:0.95rem 1.1rem; text-align:left; border-bottom:1px solid var(--line); }
.spec-table thead th{
  font-family:var(--font-mono); font-size:0.7rem; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--ink-faint); font-weight:500; background:color-mix(in srgb, var(--paper) 55%, transparent);
  position:sticky; top:0;
}
.spec-table tbody tr:last-child th, .spec-table tbody tr:last-child td{ border-bottom:none; }
.spec-table tbody tr:hover{ background:color-mix(in srgb, var(--teal-soft) 40%, transparent); }
.spec-table th[scope="row"]{ font-family:var(--font-body); font-weight:700; color:var(--ink); white-space:nowrap; }
.spec-table .yes{ color:var(--teal-ink); font-weight:600; }
.spec-table .no{ color:var(--ink-faint); }

/* ---- closing call to action ------------------------------------- */
.cta-band{
  position:relative; overflow:hidden;
  background:var(--ink); color:var(--paper);
  border-radius:var(--radius-lg);
  padding:clamp(2.5rem, 5vw, 4.25rem);
  display:grid; grid-template-columns:1.25fr 0.75fr; gap:2.5rem; align-items:center;
}
.cta-band::before{
  content:""; position:absolute; inset:0;
  background:radial-gradient(70% 120% at 85% 0%, color-mix(in srgb, var(--teal) 30%, transparent), transparent 62%);
}
.cta-band > *{ position:relative; }
.cta-band h2{ font-size:var(--fs-xl); text-transform:uppercase; line-height:1.05; }
.cta-band p{ margin-top:1rem; color:color-mix(in srgb, var(--paper) 78%, transparent); font-size:var(--fs-md); }
.cta-actions{ display:flex; flex-direction:column; gap:0.85rem; }
.cta-band .btn-ghost{ border-color:color-mix(in srgb, var(--paper) 35%, transparent); color:var(--paper); }
.cta-band .btn-ghost:hover{ border-color:var(--teal); color:var(--teal); }

/* ---- misc ------------------------------------------------------- */
.lede{ font-size:var(--fs-md); color:var(--ink-soft); max-width:60ch; line-height:1.65; }
.anchor-nav{ display:flex; flex-wrap:wrap; gap:0.5rem; margin-top:1.5rem; }
.anchor-nav a{
  text-decoration:none; font-size:0.84rem; font-weight:600; color:var(--ink-soft);
  border:1px solid var(--line); border-radius:100px; padding:0.45rem 0.95rem;
  background:var(--paper-raised); transition:border-color .15s ease, color .15s ease;
}
.anchor-nav a:hover{ border-color:var(--teal); color:var(--teal-ink); }
.note-card{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:1.25rem;
  background:var(--paper-raised); border:1px solid var(--line);
  border-left:3px solid var(--teal);
  border-radius:var(--radius-md); padding:1.5rem 1.6rem;
}
.note-card h3{ font-size:1.1rem; text-transform:none; margin-bottom:0.35rem; }
.note-card p{ color:var(--ink-soft); font-size:0.92rem; max-width:62ch; }

@media (max-width: 980px){
  .hero-stage{ min-height:340px; margin-top:2.5rem; }
  .hero-stage .panel{ right:0; bottom:-4%; width:min(80%, 300px); }
  .feature-row{ grid-template-columns:1fr; }
  .feature-row.flip .feature-media{ order:0; }
  .cta-band{ grid-template-columns:1fr; }
  .credstrip{ border-radius:var(--radius-lg); }
}
@media (max-width: 600px){
  .pgrid{ grid-template-columns:1fr 1fr; gap:0.9rem; }
  .pcard{ padding:0.75rem 0.75rem 1.1rem; }
  .pcard h3{ font-size:0.98rem; }
  .pcard p{ font-size:0.84rem; }
  .hero-stage .panel{ position:static; width:100%; margin-top:1.5rem; }
  .hero-stage{ flex-direction:column; min-height:0; }
}

/* footer + nav brand lockup */
.footer-logo{ flex:none; display:block; }
.footer-logo .brand-logo{ height:44px; }
.brand{ gap:0.7rem; }

/* ---- hero composition tuning ------------------------------------ */
.hero-grid{ align-items:center; }
.hero-stage{ min-height:480px; padding-right:3rem; }
.hero-stage .hero-device{ width:min(100%, 330px); margin-left:-2rem; }
.hero-stage .panel{ right:-2%; bottom:8%; width:min(78%, 318px); }
.credstrip{ background:var(--paper-raised); }

/* RFID / spec cards: photo sits above the tag, tighter than a pcard */
.card > .product-photo{ aspect-ratio: 5 / 4; margin-bottom:1.1rem; }

/* section heads that carry a link on the right-hand side */
.section-head.row h2{ margin-top:0.6rem; }

/* alternating section tone needs its own top rule to stay crisp */
.section-alt{ border-top:1px solid var(--line); }

/* ---- hero composition, second pass ------------------------------ */
.hero{ padding-block: clamp(2.75rem, 6vw, 5rem) var(--space-5); }
.hero-grid{ grid-template-columns: 1.08fr 0.92fr; }
.hero h1{ font-size:clamp(2.6rem, 1.6rem + 3.4vw, 4.1rem); }
.hero-sub{ max-width:48ch; }
.hero-stage{ min-height:460px; padding-right:0; }
.hero-stage .hero-device{
  position:absolute; left:0; top:50%; transform:translateY(-50%);
  width:46%; margin:0;
}
.hero-stage .panel{ position:absolute; right:0; bottom:6%; width:62%; }
.credstrip{ width:fit-content; max-width:100%; margin-top:2.25rem; }

@media (max-width: 980px){
  .hero-stage{ min-height:0; padding-top:1rem; display:block; }
  .hero-stage .hero-device{ position:static; transform:none; width:min(56%, 240px); margin:0 auto 1.25rem; }
  .hero-stage .panel{ position:static; width:100%; max-width:420px; margin:0 auto; }
  .hero-stage::before{ display:none; }
  .credstrip{ width:auto; }
}

/* ---- hero composition, final tuning ----------------------------- */
.hero{ padding-block: clamp(2.75rem, 6vw, 5rem) var(--space-4); }
.hero-stage{ min-height:430px; }
.hero-stage .hero-device{ width:44%; left:0; }
.hero-stage .panel{ width:64%; right:0; bottom:4%; }
.feed-row .who{ white-space:nowrap; }
.feed-row{ font-size:0.82rem; }
.clock-time{ font-size:clamp(2.1rem, 4vw, 2.8rem); }

/* product shots fill more of their plate */
.product-photo img{ height:100%; max-width:94%; }
.product-photo.is-icon svg{ width:70px; height:70px; }

/* ===================================================================
   RESPONSIVE OVERRIDES — kept last so they win over the tuning above
=================================================================== */
@media (max-width: 980px){
  /* nav collapses to brand + burger; language and CTA move into the panel */
  .nav-inner{ gap:1rem; }
  .nav-right{ display:none; }
  .nav-toggle{ display:inline-flex; margin-left:auto; }
  .brand-word{ font-size:1.15rem; }

  .hero{ padding-block: 2.25rem var(--space-4); }
  .hero-grid{ grid-template-columns:1fr; }
  .hero-stage{ position:static; min-height:0; padding:0; margin-top:2.25rem; display:block; }
  .hero-stage::before{ display:none; }
  .hero-stage .hero-device{
    position:static; transform:none; width:min(52%, 220px); margin:0 auto 1.5rem;
  }
  .hero-stage .panel{ position:static; width:100%; max-width:430px; margin:0 auto; }
  .credstrip{ width:auto; }

  .feature-row{ grid-template-columns:1fr; }
  .feature-row.flip .feature-media{ order:0; }
  .cta-band{ grid-template-columns:1fr; }
  .section-head.row{ align-items:flex-start; }
}

@media (max-width: 680px){
  .pgrid{ grid-template-columns:repeat(2, minmax(0,1fr)); gap:0.85rem; }
  .pcard{ padding:0.7rem 0.7rem 1.1rem; border-radius:var(--radius-md); }
  .pcard-body{ padding-inline:0.25rem; }
  .pcard h3{ font-size:0.95rem; }
  .pcard p{ font-size:0.82rem; line-height:1.5; }
  .pcard .spec-tag{ font-size:0.6rem; }
  .pcard .pcard-foot{ display:none; }
  .credstrip{ flex-direction:column; align-items:flex-start; gap:0.6rem; padding:1rem 1.15rem; }
  .note-card{ flex-direction:column; align-items:flex-start; }
  .hero h1{ font-size:clamp(2.1rem, 8vw, 2.9rem); }
}

@media (max-width: 430px){
  .pgrid{ grid-template-columns:1fr; }
}
