/* Sensing Solutions – site styles
   Tokens first, then base, layout, components, page sections. */

:root {
  --ink: #0b1f33;
  --ink-2: #14304d;
  --ink-3: #5b6b7c;
  --line: #dfe6ee;
  --paper: #ffffff;
  --mist: #f3f6f9;
  --brand: #1a8fc9;
  --brand-ink: #0b6a9c;
  --signal: #ffc20e;
  --signal-ink: #1a1500;
  --ok: #0e7a4f;
  --err: #b42318;

  --font-head: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --r-s: 6px;
  --r-m: 12px;
  --r-l: 20px;
  --shadow-s: 0 1px 2px rgba(11, 31, 51, .06), 0 2px 8px rgba(11, 31, 51, .05);
  --shadow-m: 0 8px 28px rgba(11, 31, 51, .12);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1rem/1.65 var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--brand-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; font-stretch: 92%; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-s); z-index: 200; }
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.eyebrow { font: 500 .78rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 14px; display: block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  font: 600 .95rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--signal); color: var(--signal-ink); }
.btn--accent:hover { background: #ffd24a; color: var(--signal-ink); box-shadow: 0 6px 18px rgba(255, 194, 14, .35); }
.btn--ghost { border-color: currentColor; background: transparent; color: inherit; }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: inherit; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--mist); color: var(--ink); }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; color: inherit; }
.linklike:hover { text-decoration: underline; }

/* Top bar + header */
.topbar { background: var(--ink); color: #c8d4e0; font-size: .82rem; }
.topbar__in { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; }
.topbar p { margin: 0; }
.topbar__links { display: flex; gap: 22px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand img { width: auto; height: 42px; }
.nav { flex: 1; }
.nav__list { display: flex; gap: 2px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border: 0; background: none;
  font: 500 .95rem/1 var(--font-body); color: var(--ink); text-decoration: none; cursor: pointer; border-radius: var(--r-s);
}
.nav__link:hover, .nav__link[aria-expanded="true"], .nav__link[aria-current="page"] { background: var(--mist); color: var(--ink); }
.nav__link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brand); border-radius: var(--r-s) var(--r-s) 0 0; }
.nav__link svg { transition: transform .2s; }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.header__cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-m); padding: 32px 0 36px; display: none; }
.mega.is-open { display: block; animation: drop .18s ease-out; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.mega__grid { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; }
.mega__title { font: 700 .8rem/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
.mega li + li { margin-top: 8px; }
.mega a, .mega .linklike { color: var(--ink); text-decoration: none; font-size: .95rem; line-height: 1.35; display: inline-block; }
.mega a:hover, .mega .linklike:hover { color: var(--brand-ink); text-decoration: underline; }
.mega__col--note { border-left: 1px solid var(--line); padding-left: 24px; }
.has-mega { position: static; }
.header { position: sticky; }
.header__in { position: relative; }

.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer { position: fixed; inset: calc(var(--header-h) + var(--topbar-h, 0px)) 0 0 0; background: #fff; z-index: 90; overflow-y: auto; overscroll-behavior: contain; }
.drawer[hidden] { display: none; }
.drawer__panel { padding: 20px var(--gutter) 40px; max-width: 560px; margin: 0 auto; }
.drawer__label { font: 500 .78rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 18px 0 10px; }
.drawer__group { border-bottom: 1px solid var(--line); }
.drawer__group summary { list-style: none; cursor: pointer; padding: 16px 0; font: 600 1.1rem/1.2 var(--font-head); display: flex; justify-content: space-between; }
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer__group summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; line-height: 1; color: var(--ink-3); }
.drawer__group[open] summary::after { content: "–"; }
.drawer__group ul { padding: 0 0 14px; }
.drawer__group li a { display: block; padding: 10px 0 10px 4px; color: var(--ink-2); text-decoration: none; }
.drawer__plain li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font: 600 1.1rem/1.2 var(--font-head); color: var(--ink); text-decoration: none; }
.drawer__foot { display: grid; gap: 10px; margin-top: 26px; }
body.menu-open { overflow: hidden; }

.notice { padding: 14px 0; font-weight: 500; font-size: .95rem; }
.notice--ok { background: #e3f6ec; color: #0b5a3a; }
.notice--error { background: #fde9e7; color: #8a1c12; }

/* Hero */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before { /* faint measurement grid */
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000 40%, #000 80%, transparent);
}
.hero__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-block: clamp(48px, 8vw, 104px); }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--signal); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #c8d4e0; max-width: 34em; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn--ghost { color: #fff; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; padding: 0; font-size: .92rem; color: #aebccb; }
.hero__meta li { display: flex; align-items: center; gap: 8px; }
.hero__meta li::before { content: ""; width: 7px; height: 7px; background: var(--signal); border-radius: 50%; }

.stage { position: relative; aspect-ratio: 1 / 1; max-width: 520px; margin-inline: auto; width: 100%; display: grid; place-items: center; }
.stage__ring { position: absolute; border: 1.5px solid rgba(26,143,201,.55); border-radius: 50%; inset: 0; margin: auto; animation: pulse 4.5s ease-out infinite; opacity: 0; }
.stage__ring:nth-child(1) { width: 38%; height: 38%; animation-delay: 0s; }
.stage__ring:nth-child(2) { width: 38%; height: 38%; animation-delay: 1.5s; }
.stage__ring:nth-child(3) { width: 38%; height: 38%; animation-delay: 3s; }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.55); opacity: 0; } }
.stage__card { position: relative; width: 66%; aspect-ratio: 1; background: #fff; border-radius: var(--r-l); box-shadow: 0 30px 70px rgba(0,0,0,.45); display: grid; place-items: center; padding: 8%; }
.stage__card img { mix-blend-mode: multiply; transform: rotate(-8deg); }
.stage__tag { position: absolute; background: #fff; color: var(--ink); border-radius: 10px; padding: 8px 12px; box-shadow: var(--shadow-m); font: 500 .78rem/1.25 var(--font-mono); }
.stage__tag b { display: block; font: 700 .95rem/1.2 var(--font-head); }
.stage__tag--a { left: 0; top: 14%; }
.stage__tag--b { right: 0; bottom: 12%; }

/* Proof strip */
.proof { background: var(--mist); border-bottom: 1px solid var(--line); }
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof__item { padding: 28px 24px; border-left: 1px solid var(--line); }
.proof__item:first-child { border-left: 0; padding-left: 0; }
.proof__num { font: 800 clamp(1.7rem, 3vw, 2.4rem)/1 var(--font-head); display: block; margin-bottom: 6px; }
.proof__lbl { font-size: .9rem; color: var(--ink-3); }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--mist { background: var(--mist); }
.section--dark { background: var(--ink); color: #fff; }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section__head h2 { margin: 0; max-width: 18ch; }
.section__head p { max-width: 42ch; color: var(--ink-3); margin: 0; }

/* Category bento */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; padding: 26px; border-radius: var(--r-l); background: var(--mist); border: 1px solid var(--line); text-decoration: none; color: var(--ink); overflow: hidden; grid-column: span 2; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: var(--brand); color: var(--ink); }
.cat:nth-child(1) { grid-column: span 3; }
.cat:nth-child(2) { grid-column: span 3; }
.cat h3 { font-size: 1.35rem; margin-bottom: 8px; }
.cat p { color: var(--ink-3); font-size: .94rem; max-width: 30ch; margin: 0; }
.cat__img { position: absolute; right: -4%; bottom: -6%; width: 46%; max-width: 230px; mix-blend-mode: multiply; transition: transform .35s ease; }
.cat:nth-child(-n+2) .cat__img { width: 40%; max-width: 280px; }
.cat:hover .cat__img { transform: scale(1.07) rotate(-4deg); }
.cat__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 600; font-size: .92rem; color: var(--brand-ink); }
.cat__more svg { transition: transform .2s; }
.cat:hover .cat__more svg { transform: translateX(4px); }
.cat__count { font: 500 .75rem/1 var(--font-mono); color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; }
.on-request { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.on-request > span { font-size: .9rem; color: var(--ink-3); margin-right: 6px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: .88rem; cursor: pointer; transition: border-color .15s, background .15s; }
.chip:hover { border-color: var(--brand); background: #eef7fc; }

/* Why us */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.why__item { padding: 32px 32px 32px 0; }
.why__item + .why__item { padding-left: 32px; border-left: 1px solid var(--line); }
.why__n { font: 500 .8rem/1 var(--font-mono); color: var(--brand-ink); margin-bottom: 18px; display: block; }
.why__item p { color: var(--ink-3); margin: 0; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; padding: 28px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-l); background: rgba(255,255,255,.04); counter-increment: s; }
.step::before { content: counter(s, decimal-leading-zero); font: 500 .85rem/1 var(--font-mono); color: var(--signal); display: block; margin-bottom: 40px; }
.step p { color: #b9c7d6; margin: 0; }

/* Catalogue */
[hidden] { display: none !important; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .88rem; }
.btn--ghost-dark { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost-dark:hover { background: var(--mist); color: var(--ink); }
.band.band--soft { background: var(--mist); color: var(--ink); border: 1px solid var(--line); }
.band.band--soft p { color: var(--ink-3); opacity: 1; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.subnav a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .92rem; font-weight: 500; }
.subnav a:hover { border-color: var(--brand); }
.subnav a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-bottom: 28px; }
.toolbar__search { position: relative; flex: 0 1 280px; min-width: 220px; color: var(--ink-3); }
.toolbar__search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.toolbar__search input { width: 100%; min-height: 44px; padding: 0 14px 0 42px; border: 1.5px solid #c7d2de; border-radius: 999px; font: inherit; font-size: .95rem; color: var(--ink); background: #fff; }
.toolbar__search input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(26,143,201,.18); }
.fgroup { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fgroup__label { font: 500 .72rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-right: 4px; }
.fchip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 13px; font-size: .86rem; cursor: pointer; }
.fchip:hover { border-color: var(--brand); }
.fchip[aria-pressed="true"] { background: var(--brand-ink); border-color: var(--brand-ink); color: #fff; }
.toolbar__count { margin: 0 0 0 auto; font-size: .88rem; color: var(--ink-3); display: flex; gap: 12px; align-items: center; }
.toolbar__count .linklike { color: var(--brand-ink); text-decoration: underline; }
.empty { padding: 40px 0; text-align: center; color: var(--ink-3); }
.empty .linklike { color: var(--brand-ink); text-decoration: underline; }

.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; transition: box-shadow .2s, border-color .2s, transform .2s; }
.pcard:hover { box-shadow: var(--shadow-m); border-color: #b9c8d8; transform: translateY(-2px); }
.pcard__img { display: grid; place-items: center; aspect-ratio: 1 / 1; padding: 14px; background: #fff; border: 0; border-bottom: 1px solid var(--line); cursor: zoom-in; }
.pcard__img img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s; }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__body { display: flex; flex-direction: column; gap: 10px; padding: 16px; flex: 1; }
.pcard__pn { font: 500 .82rem/1.35 var(--font-mono); letter-spacing: 0; margin: 0; word-break: break-word; color: var(--ink); }
.pcard__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pcard__chips li { background: var(--mist); border-radius: 6px; padding: 3px 8px; font-size: .78rem; color: var(--ink-2); }
.pcard__note { font-size: .82rem; color: var(--ink-3); margin: 0; line-height: 1.45; }
.pcard__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
.pcard__more { color: var(--brand-ink); font-size: .88rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pcard--feature { grid-column: span 2; flex-direction: row; background: var(--mist); }
.pcard--feature img { width: 46%; object-fit: contain; mix-blend-mode: multiply; padding: 10px; }
.pcard--feature .pcard__body { justify-content: center; align-items: flex-start; }
.pcard--feature .pcard__pn { font: 700 1.2rem/1.2 var(--font-head); }

.dialog--detail { width: min(860px, calc(100vw - 24px)); }
.dialog__close--abs { position: absolute; right: 14px; top: 14px; z-index: 2; }
.detail { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(20px, 4vw, 40px); align-items: center; }
.detail__img { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); aspect-ratio: 1; display: grid; place-items: center; padding: 20px; }
.detail__img img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.detail h2 { font: 500 1.25rem/1.25 var(--font-mono); letter-spacing: 0; word-break: break-word; margin-bottom: 18px; }
.specs { margin: 0 0 22px; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.specs dt { color: var(--ink-3); }
.specs dd { margin: 0; font-weight: 500; }
.detail__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.detail__note { font-size: .82rem; color: var(--ink-3); margin: 14px 0 0; }

/* Icons, illustration, visual service blocks */
.ico { flex: none; }
.icon-tile { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #e6f3fa; color: var(--brand-ink); margin-bottom: 20px; transition: background .2s, color .2s, transform .2s; }
.icon-tile--signal { background: #fff3c4; color: #7a5b00; margin-bottom: 0; }
.svc:hover .icon-tile, .scard:hover .icon-tile { background: var(--brand); color: #fff; transform: translateY(-2px); }

.page-head--split { overflow: hidden; }
.page-head__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.page-head__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-head__actions .btn--ghost { color: #fff; }
.ill { width: 100%; max-width: 560px; height: auto; margin-inline: auto; }
.ill__arcs path { animation: arc 2.4s ease-in-out infinite; opacity: .25; }
.ill__arcs path:nth-child(2) { animation-delay: .35s; }
.ill__arcs path:nth-child(3) { animation-delay: .7s; }
@keyframes arc { 0%, 100% { opacity: .2; } 45% { opacity: 1; } }

.scards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.scard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s, border-color .25s; }
.scard:hover { box-shadow: var(--shadow-m); transform: translateY(-4px); border-color: var(--brand); }
.scard h3 { font-size: 1.2rem; }
.scard p { color: var(--ink-3); margin-bottom: 18px; font-size: .96rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.chips li { background: var(--mist); border-radius: 999px; padding: 5px 12px; font-size: .8rem; color: var(--ink-2); }

.seq { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: q; position: relative; list-style: none; margin: 0; padding: 0; }
.seq li { position: relative; padding: 0 24px 0 0; counter-increment: q; }
.seq li:not(:last-child)::after { content: ""; position: absolute; top: 34px; left: 80px; right: 8px; border-top: 2px dashed #b9c8d8; }
.seq__ico { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); color: var(--brand-ink); margin-bottom: 18px; position: relative; z-index: 1; }
.seq li h3::before { content: counter(q, decimal-leading-zero) "  "; font: 500 .8rem/1 var(--font-mono); color: var(--ink-3); }
.seq p { margin: 0; color: var(--ink-3); font-size: .94rem; }

.model { display: flex; gap: 18px; align-items: center; }
.model h3 { margin-bottom: 4px; }
.model { border-left: 0; padding: 22px; }
.step__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(255,194,14,.12); color: var(--signal); margin-bottom: 26px; }
.step::before { display: none; }
.inds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.inds li { display: flex; align-items: center; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-m); font-weight: 500; background: #fff; transition: border-color .2s, background .2s; }
.inds li:hover { border-color: var(--brand); background: #f4fafd; }
.inds .ico { color: var(--brand-ink); }

/* Company, policy, 404 */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.about--rev { grid-template-columns: 1fr 1fr; }
.about p { color: var(--ink-3); font-size: 1.05rem; max-width: 58ch; }
.about__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.dist { background: var(--ink); color: #fff; border-radius: var(--r-l); padding: 32px; }
.dist .icon-tile { background: rgba(255,194,14,.14); color: var(--signal); }
.dist__kicker { font: 500 .78rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #93a6ba !important; margin: 0 0 8px; font-size: .78rem !important; }
.about .dist__name { font: 800 2.4rem/1.1 var(--font-head); color: #fff; margin: 0 0 12px; max-width: none; }
.dist__note { color: #c8d4e0 !important; margin: 0; font-size: .98rem !important; }
.plainlist { list-style: disc; padding-left: 1.2em; margin: 0 0 1em; }
.plainlist li { margin-bottom: .5em; }
.notfound { text-align: center; padding-block: 40px; }
.notfound__code { display: block; font: 800 clamp(5rem, 16vw, 9rem)/1 var(--font-head); color: var(--brand); opacity: .22; margin-bottom: 8px; }
.notfound p { color: var(--ink-3); }
.tags a { color: inherit; text-decoration: none; }
.tags li:hover { border-color: var(--brand); }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc { padding: 30px 26px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s; }
.svc:hover { background: var(--mist); }
.svc__n { font: 500 .8rem/1 var(--font-mono); color: var(--brand-ink); display: block; margin-bottom: 36px; }
.svc h3 { font-size: 1.15rem; }
.svc p { color: var(--ink-3); font-size: .94rem; margin: 0; }
.svc-more { margin: 32px 0 0; }
.svc-list { border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 6vw, 80px); padding-block: 40px; border-bottom: 1px solid var(--line); }
.svc-row h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0; }
.svc-row .svc__n { margin-bottom: 14px; }
.svc-row p { color: var(--ink-3); font-size: 1.05rem; }
.ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.ticks li { position: relative; padding-left: 24px; font-size: .95rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.model { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--signal); border-radius: var(--r-m); padding: 26px; }
.model p { margin: 0; color: var(--ink-3); }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 500; background: var(--mist); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.quote blockquote { margin: 0; font-size: 1.05rem; line-height: 1.55; }
.quote figcaption { font-size: .88rem; color: var(--ink-3); }
.quote figcaption b { display: block; color: var(--ink); font-weight: 600; }

/* CTA band */
.band { background: var(--brand); color: #fff; border-radius: var(--r-l); padding: clamp(32px, 5vw, 60px); display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.band h2 { margin: 0 0 8px; }
.band p { margin: 0; opacity: .92; max-width: 46ch; }

/* Page header (inner pages) */
.page-head { background: var(--ink); color: #fff; padding-block: clamp(40px, 6vw, 72px); }
.page-head h1 { font-size: clamp(2rem, 4.2vw, 3rem); margin: 0 0 12px; }
.page-head p { color: #c8d4e0; max-width: 56ch; margin: 0; }
.crumbs { display: flex; gap: 8px; font-size: .85rem; color: #93a6ba; margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a { color: #c8d4e0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.contact__list { display: grid; gap: 22px; }
.contact__list dt { font: 500 .78rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.contact__list dd { margin: 0; font-size: 1.05rem; }
.contact__list a { color: var(--ink); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-s); }

/* Forms */
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field span { font-size: .85rem; font-weight: 600; }
.field input, .field textarea, .field select, .inline-form input {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid #c7d2de; border-radius: var(--r-s);
  font: inherit; font-size: 1rem; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus, .inline-form input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(26,143,201,.18); }
.form-status { margin: 0; font-size: .9rem; min-height: 1.4em; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-err { color: var(--err); }

.dialog { border: 0; padding: 0; border-radius: var(--r-l); width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); box-shadow: 0 30px 80px rgba(0,0,0,.35); color: var(--ink); }
.dialog::backdrop { background: rgba(7, 18, 31, .6); backdrop-filter: blur(3px); }
.dialog[open] { animation: pop .22s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.dialog__form { padding: clamp(20px, 4vw, 32px); display: grid; gap: 20px; }
.dialog__head { display: flex; justify-content: space-between; gap: 16px; }
.dialog__head h2 { font-size: 1.6rem; margin-bottom: 4px; }
.dialog__head p { margin: 0; color: var(--ink-3); font-size: .95rem; }
.dialog__close { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; }
.dialog__close:hover { background: var(--mist); }
.dialog__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; }

/* Footer */
.footer { background: var(--ink); color: #b9c7d6; padding-top: clamp(40px, 6vw, 72px); font-size: .95rem; }
.footer a { color: #e5edf5; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__cta h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.footer__cta p { margin: 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 48px; }
.footer__logo { filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer address { font-style: normal; line-height: 1.9; }
.footer h3 { color: #fff; font: 500 .78rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer li + li { margin-top: 10px; }
.footer__small { font-size: .9rem; margin-bottom: 14px; }
.inline-form { display: grid; gap: 10px; }
.inline-form input { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; }
.inline-form input::placeholder { color: #8ea0b3; }
.inline-form .form-status.is-ok { color: #6fe0b0; }
.inline-form .form-status.is-err { color: #ffb4a8; }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
.footer__legal p { margin: 0; }

/* Motion */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .stage__ring { opacity: .4; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .mega__grid { grid-template-columns: repeat(3, 1fr); }
  .mega__col--note { border-left: 0; padding-left: 0; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav, .header__cta .btn { display: none; }
  .burger { display: flex; }
  .topbar__msg { display: none; }
  .topbar__in { justify-content: center; }
  .topbar__links a:nth-child(2), .topbar__links a:nth-child(3) { display: none; }
  .hero__in { grid-template-columns: 1fr; gap: 20px; }
  .stage { max-width: 380px; order: -1; }
  .hero__in { padding-top: 32px; }
  .proof__grid { grid-template-columns: repeat(2, 1fr); }
  .proof__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .cat, .cat:nth-child(1), .cat:nth-child(2) { grid-column: span 1; min-height: 260px; }
  .cat:last-child { grid-column: 1 / -1; }
  .why, .steps, .quotes, .steps--4, .models { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .page-head__grid, .about, .about--rev { grid-template-columns: 1fr; }
  .page-head__grid { grid-template-columns: 1fr; }
  .page-head--split .ill { max-width: 420px; order: -1; margin-bottom: 8px; }
  .scards { grid-template-columns: repeat(2, 1fr); }
  .inds { grid-template-columns: repeat(2, 1fr); }
  .seq { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .seq li:nth-child(2)::after { display: none; }
  .toolbar__count { margin-left: 0; width: 100%; }
  .detail { grid-template-columns: 1fr; }
  .detail__img { max-width: 280px; margin-inline: auto; }
  .svc-row { grid-template-columns: 1fr; gap: 16px; padding-block: 32px; }
  .why__item, .why__item + .why__item { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 1.02rem; }
  .brand img { height: 36px; }
  .svc-grid, .ticks, .scards { grid-template-columns: 1fr; }
  .seq { grid-template-columns: 1fr; }
  .seq li { padding: 0 0 0 0; display: grid; grid-template-columns: 68px 1fr; column-gap: 16px; align-items: center; }
  .seq li::after { display: none; }
  .seq__ico { grid-row: span 2; margin: 0; }
  .seq li h3 { align-self: end; margin: 0; }
  .seq li p { align-self: start; }
  .scard { padding: 18px; display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; align-items: start; }
  .scard .icon-tile { width: 52px; height: 52px; margin: 0; grid-row: span 2; }
  .scard h3 { margin: 2px 0 4px; font-size: 1.1rem; }
  .scard p { margin: 0 0 4px; font-size: .92rem; }
  .scard .chips { grid-column: 1 / -1; margin-top: 12px; }
  .inds li { padding: 14px; gap: 10px; font-size: .92rem; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pcard__body { padding: 12px; }
  .pcard__actions { flex-direction: column; align-items: stretch; }
  .pcard__actions .btn { width: 100%; }
  .pcard__more { text-align: center; padding: 6px 0; }
  .pcard--feature { grid-column: 1 / -1; flex-direction: column; }
  .pcard--feature img { width: 70%; margin-inline: auto; }
  .toolbar__search { flex: 1 1 100%; }
  .fgroup { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .fchip { flex: none; }
  .specs div { grid-template-columns: 7.5em 1fr; }
  .cats { grid-template-columns: 1fr; }
  .cat, .cat:last-child { grid-column: auto; min-height: 220px; }
  .cat p { max-width: 24ch; }
  .field-grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .stage__tag { display: none; }
  .stage { max-width: 230px; margin-bottom: 8px; }
  .hero__in { padding-block: 24px 40px; }
  .proof__item { padding: 20px 16px; }
  .cat__img { width: 38%; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .dialog { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: var(--r-l) var(--r-l) 0 0; max-height: 92dvh; }
  .dialog__foot { flex-direction: column-reverse; align-items: stretch; }
  .dialog__foot .btn { width: 100%; }
  .section__head h2 { max-width: none; }
}
