/* Fonts, self-hosted (latin + latin-ext, variable woff2) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 600; font-display: swap; src: url(/assets/fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 600; font-display: swap; src: url(/assets/fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/jetbrains-mono-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/jetbrains-mono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* site.css — the redesigned site (index, service pages, references, career). Generated pages: tools/build.mjs */
:root {
  /* tokens of the live monizor.com (styles.css) */
  --bg: hsl(210,30%,98%); --bg-alt: hsl(210,25%,96%); --card: #fff; --card-2: hsl(210,25%,96%);
  --line: hsl(220,15%,88%); --line-soft: hsl(220,15%,92%); --text: hsl(220,25%,12%); --head: hsl(220,25%,12%);
  --muted: hsl(220,10%,40%); --faint: hsl(220,10%,52%); --accent: hsl(195,100%,38%); --accent-hover: hsl(195,100%,32%); --accent-ink: #fff;
  --accent-soft: hsl(195,100%,95%); --glow: hsl(195,100%,45%); --warn: #b4650a; --ok: #15803d;
}
html.dark {
  --bg: hsl(220,25%,6%); --bg-alt: hsl(220,18%,12%); --card: hsl(220,20%,10%); --card-2: hsl(220,22%,8%);
  --line: hsl(220,15%,18%); --line-soft: hsl(220,15%,14%); --text: hsl(210,20%,90%); --head: hsl(210,20%,90%);
  --muted: hsl(215,15%,55%); --faint: hsl(215,12%,45%); --accent: hsl(190,100%,50%); --accent-hover: hsl(190,100%,70%); --accent-ink: hsl(220,25%,6%);
  --accent-soft: hsl(195,60%,12%); --glow: hsl(190,100%,50%); --warn: #ffb35c; --ok: #4ade80;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: 'JetBrains Mono', monospace; color: var(--head); margin: 0; line-height: 1.2; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 1040px; }
.mono { font-family: 'JetBrains Mono', monospace; }
.accent { color: var(--accent); }

/* ── Building blocks ── */
.eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.bar { width: 48px; height: 3px; background: var(--accent); }
.head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.h2 { font-weight: 700; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.15; }
.lead { font-size: 18px; color: var(--muted); max-width: 720px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 2px; padding: 28px; }
a.card { color: inherit; display: block; transition: border-color .2s, transform .2s; }
a.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); }
.chip { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 12px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 2px; color: var(--muted); background: var(--card-2); }
.chip.on { border-color: var(--accent); color: var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 2px; font: 600 15px Inter, sans-serif; border: 1px solid transparent; cursor: pointer; }
.btn-p { background: var(--accent); color: var(--accent-ink); }
.btn-p:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-o { border-color: var(--line); color: var(--text); background: transparent; }
.btn-o:hover { border-color: var(--accent); color: var(--accent); }
.more { font-weight: 600; color: var(--accent); }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
section.pad { padding: 88px 0; }
section.alt { background: var(--bg-alt); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.ico { width: 30px; height: 30px; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
ul.list { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); }
ul.list li { padding-left: 18px; position: relative; }
ul.list li::before { content: ''; position: absolute; left: 0; top: .7em; width: 8px; height: 2px; background: var(--accent); }

/* ── Header ── */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-soft); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 20px; color: var(--head); }
.brand span { color: var(--accent); }
.brand:hover { color: var(--head); }
.nav { display: flex; gap: 28px; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--accent); }
.badge { display: inline-block; margin-left: 4px; font-family: 'JetBrains Mono', monospace; font-size: 11px; line-height: 1; padding: 3px 6px; border-radius: 2px; background: var(--accent); color: var(--accent-ink); vertical-align: 1px; }
.tools { display: flex; align-items: center; gap: 8px; }
.tool { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 2px; color: var(--muted); background: transparent; cursor: pointer; font: 600 12px 'JetBrains Mono', monospace; }
.tool:hover { color: var(--accent); border-color: var(--accent); }
.tool svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.menu-btn { display: none; }
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; }
  .menu-btn { display: inline-flex; }
  .top .btn-p { display: none; }
}

/* ── Home hero ── */
/* square grid (as on the UniFi page) fading out towards the bottom, cyan orb, as on the previous monizor.com hero */
.hero { padding: 132px 0 112px; text-align: center; position: relative; overflow: hidden;
  background-image: linear-gradient(color-mix(in srgb, var(--line) 55%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--line) 55%, transparent) 1px, transparent 1px);
  background-size: 48px 48px; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 55%, var(--bg)); pointer-events: none; }
.hero-orb { position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%); width: 640px; height: 640px; max-width: 100%; border-radius: 50%; background: color-mix(in srgb, var(--accent) 9%, transparent); filter: blur(120px); pointer-events: none; }
.glow { text-shadow: 0 0 20px color-mix(in srgb, var(--accent) 40%, transparent), 0 0 40px color-mix(in srgb, var(--accent) 20%, transparent); }
.hero .wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hero h1 { font-weight: 700; font-size: clamp(36px, 6vw, 72px); line-height: 1.1; max-width: 980px; }
.hero .lead { margin: 0 auto; font-size: 19px; max-width: 640px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ── Logos ── */
/* client logos, as on the previous monizor.com: grey in light mode (colour on hover), white in dark mode */
.logos { padding: 56px 0; background: hsl(0,0%,93%); border-top: 1px solid hsl(0,0%,86%); border-bottom: 1px solid hsl(0,0%,86%); }
html.dark .logos { background: hsl(220,15%,18%); border-color: hsl(220,15%,22%); }
.logos .label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: color-mix(in srgb, var(--muted) 60%, transparent); text-align: center; margin-bottom: 28px; }
.logos .logo-track { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px 56px; }
.logo { height: 48px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1) opacity(.4); transition: filter .3s; }
.logo:hover { filter: none; }
html.dark .logo, html.dark .logo:hover { filter: brightness(0) invert(1) opacity(.75); }
html.dark .logo[alt="Full Doors"] { filter: opacity(.85); }

/* ── Pillars / services ── */
.num { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--accent); display: block; margin-bottom: 14px; }
.card.top-line { border-top: 3px solid var(--accent); }
.svc-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--faint); }
.sub-label { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; display: block; }
.svc-area .card { display: flex; flex-direction: column; }
.svc-area .card .more { margin-top: auto; padding-top: 14px; }
.card.svc-strip { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.svc-strip .ico { margin: 0; }
.svc-strip > div { flex: 1 1 320px; }
.svc-strip h3 { margin-bottom: 4px; }

/* ── References ── */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { min-height: 40px; cursor: pointer; font-size: 13px; }
.filters button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.refs { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card.ref { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.ref .stripe { height: 3px; background: linear-gradient(90deg, var(--accent), transparent 70%); }
.ref .in { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.ref .client { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.ref h3 { font-size: 17px; line-height: 1.35; margin: 0; }
.ref .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ref .more { margin-top: auto; padding-top: 6px; }
.ref[hidden] { display: none; }

/* ── Process ── */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.steps .card { padding: 24px; display: flex; flex-direction: column; }
.steps h3 { font-size: 17px; }
.out { margin-top: auto; padding-top: 14px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--accent); }

/* ── Team ── */
.team { display: grid; gap: 24px; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
@media (max-width: 900px) { .team { grid-template-columns: minmax(0, 1fr); } }
.person { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.person img { width: 120px; height: 120px; object-fit: cover; border-radius: 2px; border: 1px solid var(--line); }
.person b { display: block; font-family: 'JetBrains Mono', monospace; font-size: 18px; color: var(--head); }
.person span { color: var(--faint); font-size: 14px; }
blockquote.q { margin: 0 0 16px; padding-left: 18px; border-left: 3px solid var(--accent); font-size: 18px; font-style: italic; color: var(--text); }
.team-side { display: flex; flex-direction: column; gap: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.trio { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.trio .card { padding: 20px; }
.trio h4 { font-size: 15px; margin-bottom: 6px; }
.trio p { font-size: 14px; }
.careers-link { display: flex !important; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; }

/* ── Contact + chat ── */
.contact { display: grid; gap: 48px; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }
.contact-side { display: flex; flex-direction: column; gap: 18px; }
.contact-side .h2 { font-size: clamp(28px, 3vw, 38px); }
.chat { padding: 0; display: flex; flex-direction: column; min-height: 460px; }
.chat-head { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--muted); }
.chat-prog { white-space: nowrap; }
.chat-log { padding: 20px 18px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; overflow-y: auto; max-height: 520px; }
.b-in, .b-out { max-width: 85%; border-radius: 2px; padding: 12px 14px; font-size: 15px; line-height: 1.55; white-space: pre-line; }
.b-in { align-self: flex-start; background: var(--card-2); border: 1px solid var(--line); }
.b-out { align-self: flex-end; background: var(--accent-soft); border: 1px solid var(--accent); }
.b-sum { align-self: stretch; max-width: none; font: 14px/1.55 Inter, sans-serif; white-space: normal; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; }
.quick button { min-height: 40px; cursor: pointer; color: var(--text); font-size: 13px; }
.quick button:hover { border-color: var(--accent); color: var(--accent); }
.chat-in { display: flex; gap: 8px; padding: 14px 18px; border-top: 1px solid var(--line); }
.chat-in[hidden] { display: none; }
.input { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 2px; color: var(--text); font: inherit; font-size: 15px; padding: 12px 14px; min-height: 48px; }
.input:focus { border-color: var(--accent); outline: none; }
textarea.input { resize: vertical; min-height: 96px; }
.mic { min-width: 48px; min-height: 48px; }
.mic.rec { color: #ef4444; border-color: #ef4444; }
.chat-fields { display: grid; gap: 10px; }
.label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.form { display: grid; gap: 14px; }
.form-msg { display: none; padding: 12px 14px; border-radius: 2px; font-size: 15px; }
.form-msg.ok { display: block; border: 1px solid var(--ok); color: var(--ok); }
.form-msg.err { display: block; border: 1px solid #ef4444; color: #ef4444; }
details.classic summary { cursor: pointer; color: var(--accent); }
details.classic[open] summary { margin-bottom: 16px; }

/* ── Service page hero + animations ── */
.s-hero { padding: 72px 0; }
.s-hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.s-hero .txt { flex: 1 1 460px; display: flex; flex-direction: column; gap: 22px; }
.s-hero h1 { font-weight: 700; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.1; }
.s-hero .cta-row { justify-content: flex-start; }
.crumbs { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--faint); }
.crumbs a { color: var(--faint); }
.crumbs a:hover { color: var(--accent); }
.viz { flex: 1 1 440px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.viz-head { display: flex; justify-content: space-between; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); }
.live { color: var(--ok); display: flex; align-items: center; gap: 6px; }
.live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: blink 1.6s ease-in-out infinite; }
.viz svg { width: 100%; height: auto; display: block; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stats div { background: var(--card-2); padding: 10px 12px; font-family: 'JetBrains Mono', monospace; }
.stats small { display: block; font-size: 11px; color: var(--faint); text-transform: uppercase; }
.stats b { font-size: 17px; color: var(--head); font-weight: 600; }
.stats b.w { color: var(--warn); }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes draw { from { stroke-dashoffset: 900; } to { stroke-dashoffset: 0; } }
@keyframes scan { from { top: 0; } to { top: calc(100% - 2px); } }
@keyframes rod { 0%,15% { transform: translateX(0); } 45%,60% { transform: translateX(120px); } 90%,100% { transform: translateX(0); } }
@keyframes fill { from { width: 0; } to { width: 100%; } }
@keyframes lineIn { 0% { opacity: 0; transform: translateX(-6px); } 10%,85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes step { 0%,100% { border-color: var(--line); color: var(--faint); } 10%,25% { border-color: var(--accent); color: var(--accent); } }
.trace { stroke-dasharray: 900; animation: draw 4s ease-in-out infinite alternate; }
.cam { position: relative; aspect-ratio: 16/9; background: repeating-linear-gradient(0deg, var(--card-2) 0 2px, var(--bg) 2px 4px); border: 1px solid var(--line); overflow: hidden; }
.cam .scan { position: absolute; left: 0; right: 0; height: 2px; background: var(--accent); box-shadow: 0 0 18px var(--accent); animation: scan 2.8s ease-in-out infinite alternate; }
.cam .box { position: absolute; left: 30%; top: 42%; width: 40%; height: 30%; border: 2px solid var(--accent); }
.cam .tag { position: absolute; left: 30%; top: calc(42% - 24px); background: var(--accent); color: var(--accent-ink); font: 12px 'JetBrains Mono', monospace; padding: 2px 8px; }
.cam .id { position: absolute; left: 12px; top: 10px; font: 11px 'JetBrains Mono', monospace; color: var(--muted); }
.rod { animation: rod 4s ease-in-out infinite; }
.code { font: 13px/1.9 'JetBrains Mono', monospace; color: var(--muted); background: var(--card-2); border: 1px solid var(--line); padding: 14px 16px; min-height: 190px; }
.code div { opacity: 0; animation: lineIn 8s infinite; }
.code .k { color: var(--accent); }
.code .ok { color: var(--ok); }
.sprint { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sprint div { border: 1px solid var(--line); padding: 12px 10px; font: 12px 'JetBrains Mono', monospace; color: var(--faint); animation: step 8s infinite; }
.sprint div b { display: block; font-size: 18px; }
.track { height: 6px; background: var(--card-2); border: 1px solid var(--line); }
.track span { display: block; height: 100%; background: var(--accent); animation: fill 8s linear infinite; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .code div { opacity: 1; } }

/* ── Reference page ── */
.r-hero { padding: 72px 0 40px; }
.r-hero .wrap { display: flex; flex-direction: column; gap: 20px; }
.r-hero h1 { font-weight: 700; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.1; }
.r-hero .lead { font-size: 20px; max-width: 780px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.facts div { background: var(--card); padding: 18px 20px; }
.facts small { display: block; font: 11px 'JetBrains Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.facts span { color: var(--head); font-weight: 500; }
.r-img { width: 100%; aspect-ratio: 16/7; object-fit: cover; border: 1px solid var(--line); margin-top: 32px; }
.story { padding: 24px 0 64px; }
.sec { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 16px 40px; padding: 36px 0; border-top: 1px solid var(--line-soft); }
.sec h2 { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.sec p { font-size: 17px; line-height: 1.7; color: var(--text); }
.sec p + p { margin-top: 12px; }
.sec ul.list { margin-top: 0; font-size: 17px; color: var(--text); }
@media (max-width: 700px) { .sec { grid-template-columns: minmax(0, 1fr); } }

/* ── Career ── */
.pos { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.pos h3 { margin-bottom: 10px; }
.pos-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); margin-top: 32px; }
@media (max-width: 900px) { .pos-grid { grid-template-columns: minmax(0, 1fr); } }
.pos-grid > div { display: flex; flex-direction: column; gap: 24px; }
.flow { display: grid; gap: 12px; margin-top: 12px; }
.flow div { display: flex; gap: 12px; color: var(--muted); }
.flow .num { margin: 0; }

/* ── Footer ── */
.foot { border-top: 1px solid var(--line-soft); padding: 40px 0; font-size: 14px; color: var(--faint); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.foot a { color: var(--muted); }

/* ── Compact services block (fits one screen on desktop) ── */
section.compact { padding: 64px 0; }
section.compact .head { margin-bottom: 24px; }
.svc-area { gap: 16px; }
.card.svc { padding: 20px 22px; }
.svc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.svc-top .ico { width: 26px; height: 26px; margin: 0; flex-shrink: 0; }
.svc-top .svc-meta { margin: 0; }
.svc-top h3 { margin: 0; font-size: 16px; }
.card.svc > h3 { font-size: 17px; margin-bottom: 6px; }
.card.svc p { font-size: 15px; line-height: 1.55; }
.svc-area .card .more { padding-top: 10px; font-size: 14px; }
.compact .sub-label { margin-bottom: 10px; }
.compact .card.svc-strip { margin-top: 16px; padding: 16px 22px; }
.compact .svc-strip .ico { width: 26px; height: 26px; }

/* ══ Look of the live monizor.com: transparent fixed navbar, mono buttons, type scale, full-screen heroes ══ */
@keyframes slideDown { from { opacity: 0; transform: translateY(-80px); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes bounceY { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -6px); } }
html { scroll-padding-top: 72px; }
.top { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; animation: slideDown .3s ease both; }
.top.scrolled, .top:has(.nav.open) { background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.top .wrap { min-height: 0; padding-top: 16px; padding-bottom: 16px; justify-content: flex-start; gap: 2rem; }
.brand { font-size: 1.1rem; letter-spacing: -.02em; color: var(--text); margin-right: auto; }
.nav { gap: 2rem; }
.nav a { font: .8rem 'JetBrains Mono', monospace; color: var(--muted); transition: color .2s; }
.tools { gap: .5rem; }
.tools .btn-p { order: -1; margin-right: 1.5rem; }
.tool { width: 36px; height: 36px; min-width: 36px; min-height: 36px; font-size: .7rem; letter-spacing: .05em; transition: border-color .2s, color .2s; }
.tool svg { width: 16px; height: 16px; }
.btn { font: 400 .85rem 'JetBrains Mono', monospace; min-height: 0; padding: .75rem 2rem; border-radius: 2px; transition: opacity .2s, border-color .2s, color .2s; }
.btn-p:hover { background: var(--accent); opacity: .88; }
.btn-o:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.top .btn { font-size: .8rem; padding: .5rem 1rem; }
.cta-row .btn { min-width: 180px; }
@media (max-width: 860px) { .nav { top: 68px; } .tools .btn-p { display: none; } }
.eyebrow { font-size: .7rem; letter-spacing: .3em; }
.h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.lead { font-size: 1.1rem; line-height: 1.7; }
section.pad { padding: 6rem 0; }
.card { position: relative; padding: 2rem; transition: border-color .3s, box-shadow .3s; }
a.card:hover, .card.top-line:hover { transform: none; border-color: color-mix(in srgb, var(--accent) 22%, transparent); box-shadow: 0 6px 24px color-mix(in srgb, var(--glow) 10%, transparent); }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .75rem; }
.card p { font-size: .875rem; line-height: 1.7; }
.card.top-line { border-top: 1px solid var(--line); }
.card.top-line::before { content: ''; position: absolute; top: 0; left: 0; width: 3rem; height: 2px; background: var(--accent); }
.card.svc p { font-size: .85rem; }

/* full-screen first section on every page, with the bouncing arrow */
.hero, .s-hero, .r-hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; position: relative; padding: 104px 0 96px; }
.hero > .wrap, .s-hero > .wrap, .r-hero > .wrap { width: 100%; }
.hero h1 { font-size: clamp(2rem, 6vw, 4.5rem); }
.hero .eyebrow { font-size: .75rem; }
.hero .lead { max-width: 600px; }
.hero .wrap > *, .s-hero .txt > *, .r-hero .wrap > * { animation: fadeUp .4s ease both; }
.hero .wrap > :nth-child(2), .s-hero .txt > :nth-child(2), .r-hero .wrap > :nth-child(2) { animation-delay: .04s; }
.hero .wrap > :nth-child(3), .s-hero .txt > :nth-child(3), .r-hero .wrap > :nth-child(3) { animation-delay: .08s; }
.hero .wrap > :nth-child(n+4), .s-hero .txt > :nth-child(n+4), .r-hero .wrap > :nth-child(n+4) { animation-delay: .12s; }
.s-hero .viz { animation: fadeUp .4s .08s ease both; }
.s-hero h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.hero-arrow { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); color: color-mix(in srgb, var(--accent) 50%, transparent); animation: fadeIn 1s .5s ease both, bounceY 1.5s 1.5s ease-in-out infinite; }
.hero-arrow svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-height: 640px) { .hero-arrow { display: none; } }

/* logos: visible hover in both themes */
.logo { transition: filter .3s, transform .3s; }
.logo:hover { filter: none; transform: scale(1.06); }
html.dark .logo:hover { filter: brightness(0) invert(1) opacity(1); transform: scale(1.06); }
html.dark .logo[alt="Full Doors"]:hover { filter: none; }

/* "too expensive to buy?" band */
.pricey { padding: 3rem 0; border-bottom: 1px solid var(--line-soft); }
.pricey .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.pricey .card { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; border-left: 3px solid var(--accent); }
.pricey h3 { margin: 0 0 .4rem; }
.pricey .card > div { flex: 1 1 420px; }

/* softer visualisations */
.viz { border-radius: 4px; }
.viz svg text { font-family: 'JetBrains Mono', monospace; }
.vnode { fill: var(--card-2); stroke: var(--accent); stroke-width: 2; }
.vflow { fill: none; stroke: url(#vgrad); stroke-width: 1.6; }
.cam { border-radius: 4px; }
.cam .box { border: 0; background:
  linear-gradient(var(--accent), var(--accent)) left top / 18px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) left top / 2px 18px no-repeat,
  linear-gradient(var(--accent), var(--accent)) right top / 18px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) right top / 2px 18px no-repeat,
  linear-gradient(var(--accent), var(--accent)) left bottom / 18px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) left bottom / 2px 18px no-repeat,
  linear-gradient(var(--accent), var(--accent)) right bottom / 18px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) right bottom / 2px 18px no-repeat;
  animation: track 5s ease-in-out infinite alternate; }
@keyframes track { from { left: 26%; top: 44%; } to { left: 34%; top: 40%; } }
.cam .tag { border-radius: 2px; animation: track 5s ease-in-out infinite alternate; transform: translateY(-26px); top: 0; }
section.pad.compact { padding: 64px 0; }
.s-hero h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
.compact .svc-strip .more { font-size: 14px; }

/* services: the core offer (custom software) leads, the "too expensive?" message sits inside it */
.svc-area { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .svc-area { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .svc-area { grid-template-columns: 1fr; } }
.card.svc-core { padding: 0; display: grid; grid-template-columns: 1.8fr 1fr; border-color: color-mix(in srgb, var(--accent) 45%, transparent); overflow: hidden; }
.core-main { padding: 28px 30px; }
.core-main h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.core-main .svc-top .ico { width: 30px; height: 30px; }
.core-list { list-style: none; padding: 0; margin: 16px 0 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.core-list li { position: relative; padding-left: 18px; font-size: .875rem; color: var(--muted); }
.core-list li::before { content: ''; position: absolute; left: 0; top: .6em; width: 8px; height: 2px; background: var(--accent); }
.core-main .more { display: inline-block; margin-top: 12px; font-size: 14px; }
.core-pricey { padding: 28px 30px; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; gap: .6rem; }
.core-pricey h4 { font-size: 1.15rem; margin: 0; }
.core-pricey p { font-size: .875rem; line-height: 1.7; margin: 0 0 .6rem; }
.core-pricey .btn { align-self: flex-start; }
@media (max-width: 860px) { .card.svc-core { grid-template-columns: 1fr; } .core-pricey { border-left: 0; border-top: 1px solid var(--line); } .core-list { grid-template-columns: 1fr; } }
.svc-entry .svc-meta { margin: 0; }
.svc-entry h3 { font-size: 1rem; }
.svc-entry h3 { margin: 0 0 2px; }
.svc-entry p { margin: 0; }
.compact .svc-entry + .sub-label { margin-top: 28px; }
.core-main { padding: 24px 28px; } .core-main h3 { font-size: 1.35rem; }

/* reference cards: client logo on the right, grey like the logo strip */
.ref-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; }
.ref-logo { height: 30px; width: auto; max-width: 110px; object-fit: contain; filter: grayscale(1) opacity(.45); transition: filter .3s; }
.ref:hover .ref-logo { filter: none; }
html.dark .ref-logo, html.dark .ref:hover .ref-logo { filter: brightness(0) invert(1) opacity(.6); }
html.dark .ref-logo[alt="Full Doors"] { filter: grayscale(1) opacity(.6); }
.r-img.contain { object-fit: contain; aspect-ratio: auto; max-height: 520px; background: var(--card); }
.svc-area .card .more { display: none; } /* the whole card is the link; keeps the block on one screen */
.svc-area .card.svc { padding: 18px 20px; }

.nb { white-space: nowrap; }
/* reference page: image + compact facts fit the first screen */
.r-hero { padding-top: 88px; padding-bottom: 72px; }
.r-hero .wrap { gap: 14px; }
.r-hero h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.r-hero .r-img { margin: 4px 0 0; aspect-ratio: 16/6; max-height: 40vh; }
.r-hero .r-img.contain { aspect-ratio: auto; height: 40vh; }
.facts { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.facts div { padding: 10px 14px; }
.facts span { font-size: 13px; line-height: 1.4; display: block; }

/* reference card: whole card links to the case study, the logo links to the client's site */
.card.ref { position: relative; }
.card.ref:hover { border-color: color-mix(in srgb, var(--accent) 22%, transparent); box-shadow: 0 6px 24px color-mix(in srgb, var(--glow) 10%, transparent); }
.ref-main { display: flex; flex-direction: column; gap: 10px; flex-grow: 1; color: inherit; }
.ref-main::after { content: ''; position: absolute; inset: 0; }
.ref-logo-link { position: relative; z-index: 2; display: block; line-height: 0; }
.logo-link { display: block; line-height: 0; }
/* results: three short boxes */
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }

/* service pages: sub-categories, tiles, live values */
.subs { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { .subs { grid-template-columns: 1fr; } }
.sub h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.sub > p { font-size: .9rem; line-height: 1.7; color: var(--muted); margin-bottom: 18px; }
.sub .viz { margin: 0; }
.card.tile { display: flex; flex-direction: column; gap: 4px; padding: 26px; }
.card.tile .ico { width: 34px; height: 34px; margin-bottom: 12px; }
.card.tile h3 { font-size: 1.05rem; }
.card.tile .more { margin-top: auto; padding-top: 12px; }
.cta-extra { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.cta-extra .ico { width: 34px; height: 34px; margin: 0; }
.cta-extra > div { flex: 1 1 320px; }
.cta-extra h3 { margin: 0 0 4px; }
.cta-extra p { margin: 0; }
.stats b span { font-variant-numeric: tabular-nums; }
.card.result { padding: 20px 22px; }
.result b { display: block; font: 700 1.35rem/1.25 'JetBrains Mono', monospace; color: var(--accent); margin-bottom: 8px; }
.result span { font-size: .875rem; line-height: 1.5; color: var(--muted); }

/* home: both halves of the core card are links */
a.core-main, a.core-pricey { display: block; color: inherit; transition: background .3s; }
a.core-main:hover { background: color-mix(in srgb, var(--accent) 5%, transparent); }
a.core-main:hover h3, a.core-pricey:hover h4 { color: var(--accent); }
a.core-pricey { display: flex; }
a.core-pricey:hover { background: color-mix(in srgb, var(--accent) 5%, transparent); }
.core-pricey .btn, .pricey .btn { display: inline-block; align-self: flex-start; }
a.core-pricey:hover .btn-o, .pricey a.card:hover .btn-o { border-color: var(--accent); color: var(--accent); }
.pricey a.card { color: inherit; }
.pricey a.card:hover h3 { color: var(--accent); }
.grid.g4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* reference page: compact first screen, so the text below is visibly there */
.r-hero { min-height: 0; display: block; padding: 88px 0 28px; }
.r-hero .r-img { aspect-ratio: 16/6; max-height: 30vh; }
.r-hero .r-img.contain { height: 30vh; }
.story { padding-top: 8px; }
.gallery { position: relative; margin-top: 4px; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border: 1px solid var(--line); }
.gallery-track::-webkit-scrollbar { display: none; }
.r-hero .gallery .r-img { flex: 0 0 100%; scroll-snap-align: center; height: 42vh; max-height: none; aspect-ratio: auto; margin: 0; border: 0; object-fit: contain; background: #fff; }
.gal-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.5); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.gal-btn:hover { background: var(--accent); color: var(--accent-ink); }
.gal-btn.prev { left: 12px; } .gal-btn.next { right: 12px; }
.gal-count { position: absolute; right: 12px; bottom: 10px; font: 12px 'JetBrains Mono', monospace; color: #fff; background: rgba(0,0,0,.55); padding: 3px 8px; }
/* embedded simulation excerpts */
.sim-sec { padding: 24px 0 56px; }
.sim-sec h2 { font-size: 1.4rem; margin-bottom: 6px; }
.sim-note { color: var(--muted); font-size: .9rem; margin-bottom: 16px; max-width: 760px; }
iframe.sim { width: 100%; border: 1px solid var(--line); background: var(--card); display: block; overflow: hidden; }
/* services: the entry strip leads, the core card follows */
.compact .card.svc-strip.svc-entry { margin-top: 0; margin-bottom: 16px; }
.svc-core + .sub-label { margin-top: 28px; }
.r-hero .gallery .r-img.contain { object-fit: contain; background: var(--card); }
.result b, .result span { overflow-wrap: anywhere; }
.result b { font-size: 1.2rem; }

/* ── JS-driven service animations (site.js [data-viz]) ── */
.v-dot { fill: var(--accent); }
.v-halo { fill: var(--accent); transform-box: fill-box; transform-origin: center; animation: halo 1.6s ease-out infinite; }
.v-alert { opacity: 0; transition: opacity .2s; }
svg.hot .v-dot, svg.hot .v-halo { fill: var(--warn); }
svg.hot .v-alert { opacity: 1; }
@keyframes halo { from { transform: scale(.6); opacity: .45; } to { transform: scale(2.2); opacity: 0; } }
.r-dot { fill: var(--ok); }
.r-spark { stroke: var(--accent); }
.r-val { fill: var(--head); }
.row.down .r-dot { fill: var(--warn); animation: blink .8s infinite; }
.row.down .r-val { fill: var(--warn); font-weight: 600; }
.d-link { fill: none; stroke: var(--line); stroke-width: 1.5; }
.d-link.off { stroke-dasharray: 3 5; }
.d-link.alarm { stroke: var(--warn); }
.dev rect { fill: var(--card-2); stroke: var(--line); }
.dev text { fill: var(--muted); }
.dev .led { fill: var(--faint); }
.dev.tx .led { fill: var(--accent); }
.dev.off { opacity: .45; }
.dev.alarm rect { stroke: var(--warn); }
.dev.alarm .led { fill: var(--warn); animation: blink .6s infinite; }
.d-pk { fill: var(--accent); }
.d-pk.hot { fill: var(--warn); }
.d-cmd { fill: var(--card); stroke: var(--accent); stroke-width: 2.5; opacity: 0; }
.d-cloud { fill: var(--card-2); stroke: var(--accent); transition: fill .15s; }
.d-cloud.rx { fill: var(--accent-soft); }
.d-toast { fill: var(--faint); }
.d-toast.warn { fill: var(--warn); font-weight: 600; }
.d-toast.cmd { fill: var(--accent); font-weight: 600; }
.d-toast.ok { fill: var(--ok); }
.cam-ai { --hud: #00d4ff; background: #03101a; border-radius: 2px; }
.cam-ai image { filter: saturate(.45) contrast(1.1) brightness(.85); }
.cam-ai .c-grid { opacity: .16; }
.cam-ai .det { opacity: 0; }
.cam-ai .flash { fill: var(--hud); opacity: 0; }
.c-rec { animation: blink 1.6s ease-in-out infinite; }
/* featured tile in the service hero (thermal AI on the camera page) */
.card.tile.feat-tile { flex-direction: row; align-items: center; gap: 18px; padding: 18px 22px; max-width: 560px; }
.feat-tile .ico { width: 40px; height: 40px; margin: 0; flex-shrink: 0; }
.feat-tile h3 { margin-bottom: 2px; }
.feat-tile p { margin: 0; font-size: 14px; }
.card.tile.feat-tile .more { margin: 0 0 0 auto; padding: 0; white-space: nowrap; }
@media (max-width: 560px) { .card.tile.feat-tile { flex-wrap: wrap; } .card.tile.feat-tile .more { margin-left: 0; } }
.cam-ai .c-glitch { fill: var(--hud); opacity: 0; }
.det.bad { --hud: #ff9f43; }
.lg-hl { fill: var(--accent); opacity: 0; }
.mf-hl { fill: var(--accent); opacity: 0; }

/* ── Rich service pages (build.mjs RICH): compact hero so the page visibly continues, then the service's own story ── */
.s-hero { min-height: 0; padding: 120px 0 56px; }
.sec-head { display: flex; flex-direction: column; gap: 14px; max-width: 860px; margin-bottom: 40px; }
.uc-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; align-items: end; margin-bottom: 32px; }
.uc-head .eyebrow { margin-bottom: 14px; }
@media (max-width: 860px) { .uc-head { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
.more-grid h3, .steps4 h3 { font-size: 17px; margin-bottom: 8px; }
.more-grid p, .steps4 p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.uc-viz { max-width: 760px; margin: 0 auto; }
.demo-note { font-size: 13px; color: var(--faint); margin: 14px auto 0; max-width: 760px; text-align: center; }
.sub-h { font: 600 13px 'JetBrains Mono', monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--head); margin: 48px 0 18px; }
.rules { display: grid; max-width: 900px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 2px; }
.rule { font: 14px/1.6 'JetBrains Mono', monospace; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); color: var(--text); }
.rule:last-child { border-bottom: 0; }
.rule.warn .if { color: var(--warn); }
.rule .if { color: var(--accent); font-weight: 700; margin-right: 4px; }
.rule .then { color: var(--head); font-weight: 600; }
.pipe { display: grid; grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1.2fr) 36px minmax(0, 1fr); align-items: stretch; }
.pipe .card { padding: 24px; }
.pipe-tag { display: block; font: 11px 'JetBrains Mono', monospace; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.pipe h3 { font-size: 18px; margin-bottom: 8px; }
.pipe p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.pipe ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.pipe ul li { padding-left: 14px; position: relative; color: var(--text); }
.pipe ul li::before { content: ''; position: absolute; left: 0; top: .65em; width: 6px; height: 2px; background: var(--accent); }
.pipe .core ul li { padding-left: 0; display: flex; gap: 10px; }
.pipe .core ul li::before { display: none; }
.pipe .core ul li b { font: 12px 'JetBrains Mono', monospace; color: var(--accent); padding-top: 2px; }
.pipe-arrow { display: flex; align-items: center; justify-content: center; color: var(--accent); }
.pipe-arrow svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pipe-arrow .flow { stroke-dasharray: 4 4; animation: flow 1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -8; } }
@media (max-width: 960px) { .pipe { grid-template-columns: minmax(0, 1fr); } .pipe-arrow { height: 36px; transform: rotate(90deg); } }
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.more-grid .card { display: flex; flex-direction: column; }
.more-grid .more { margin-top: auto; padding-top: 12px; }
@media (max-width: 960px) { .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .more-grid { grid-template-columns: minmax(0, 1fr); } }
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps4 { grid-template-columns: minmax(0, 1fr); } }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font: 600 16px 'JetBrains Mono', monospace; color: var(--head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-weight: 700; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 12px; color: var(--muted); line-height: 1.7; }
/* plate gate demo */
.a-step rect { fill: var(--card-2); stroke: var(--line); }
.a-step .a-l { fill: var(--faint); letter-spacing: .1em; }
.a-step .a-v { fill: var(--head); }
.a-step .a-dot { fill: var(--line); }
.a-step.on .a-dot { fill: var(--ok); }
.a-step.on.deny rect { stroke: var(--warn); }
.a-step.on.deny .a-v, .a-step.on.deny .a-dot { fill: var(--warn); }
.a-step.on.open .a-v, .a-step.on.ticket .a-v { fill: var(--ok); }
.a-step.on.open rect, .a-step.on.ticket rect { stroke: var(--ok); }
svg.deny .a-box { stroke: #ff9f43; }
.a-log { fill: var(--muted); }
.a-log.new { fill: var(--head); }
.a-log.deny { fill: var(--warn); }
.uc-viz.v-thermal { max-width: 640px; }
.viz canvas { width: 100%; height: auto; display: block; border-radius: 2px; background: #07090d; }
.stats.s2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats b.a { color: var(--accent); }
.uc-more { text-align: center; margin-top: 10px; font: 600 14px 'JetBrains Mono', monospace; }
/* before / after table (concept page) */
.compare { padding: 0; overflow: hidden; max-width: 960px; margin: 0 auto; }
.cmp-row { display: grid; grid-template-columns: minmax(110px, .8fr) minmax(0, 1.4fr) minmax(0, 1.6fr); border-top: 1px solid var(--line); }
.cmp-row > * { padding: 14px 18px; font-size: 15px; line-height: 1.5; }
.cmp-row > b { font: 600 13px 'JetBrains Mono', monospace; color: var(--head); }
.cmp-row > span { color: var(--muted); }
.cmp-row > .new { color: var(--head); background: color-mix(in srgb, var(--accent) 7%, transparent); border-left: 3px solid var(--accent); }
.cmp-head { border-top: 0; }
.cmp-head > span { font: 600 12px 'JetBrains Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.cmp-head > .new { color: var(--accent); }
/* headings: balanced lines instead of one-word orphans; forced <br>s only where the column is wide enough */
h1, h2, h3, .h2 { text-wrap: balance; }
.uc-head { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.uc-head .h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.uc-head .h2 br, .sec-head .h2 br { display: none; }
@media (min-width: 1100px) { .sec-head .h2 br { display: inline; } }
/* tablet / half-screen: once the hero stacks, the animation must not grow to full width */
@media (max-width: 1080px) { .s-hero .viz { flex: 1 1 100%; max-width: 560px; margin: 0 auto; } .uc-viz, .uc-viz.v-thermal { max-width: 560px; } }
/* comparison tables on phones: label on its own line, before/after side by side */
@media (max-width: 680px) {
  .cmp-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cmp-row > b { grid-column: 1 / -1; padding: 12px 14px 0; }
  .cmp-row > span { padding: 6px 14px 12px; font-size: 14px; }
  .cmp-row > .new { border-left-width: 2px; }
  .cmp-head > span:first-child { display: none; }
  .cmp-head > span { padding: 12px 14px; font-size: 11px; }
}
/* career hero: short, the page visibly continues */
.hero.short { min-height: 0; padding: 120px 0 56px; }
/* use-case heads stack below tablet width (overrides the wider desktop columns above) */
@media (max-width: 860px) { .uc-head { grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; } }
/* phones: denser, so related things fit on one screen */
@media (max-width: 620px) {
  section.pad { padding: 56px 0; }
  .s-hero, .hero.short { padding: 96px 0 40px; }
  .card { padding: 20px; }
  .head, .sec-head { margin-bottom: 24px; gap: 10px; }
  .uc-head { margin-bottom: 20px; }
  .grid, .more-grid, .steps4, .refs, .subs { gap: 12px; }
  .sub-h { margin: 32px 0 14px; }
  .lead { font-size: 1rem; line-height: 1.6; }
  .num { margin-bottom: 8px; }
  .pipe .card { padding: 18px; }
  .pipe-arrow { height: 28px; }
  .faq details { padding: 14px 0; }
}
.faq { max-width: 880px; }
/* reference pages: results stay on one row, headings sit closer to their paragraphs */
.sec { grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 10px 28px; padding: 28px 0; }
.results { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
@media (max-width: 700px) { .sec { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

/* chat: selectable chips, free answer fields, readable summary */
.quick .chip.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.q-other { flex: 1 1 220px; min-height: 40px; padding: 8px 12px; font-size: 14px; line-height: 1.4; font-family: inherit; resize: none; overflow: hidden; }
.b-sum p { margin: 0 0 6px; }
.b-sum b { color: var(--head); font-weight: 600; }
.b-sum ul { margin: 0 0 8px; padding-left: 18px; }
.b-sum li { margin: 2px 0; }

/* ── Taken over from the ipari-automatizalas landing: check lists, icon benefits, service cards, enquiry, mobile bar ── */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.ck { width: 16px; height: 16px; flex: 0 0 auto; margin-top: .2em; stroke: var(--accent); fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; font-weight: 500; color: var(--text); }
.hero-checks li { align-items: center; }
.hero-checks .ck { margin-top: 0; }
.lead-points { gap: 12px; margin: 4px 0 6px; color: var(--muted); font-size: 15px; }
.pipe ul li.ckd { padding-left: 0; display: flex; gap: 8px; align-items: flex-start; }
.pipe ul li.ckd::before { content: none; }
.pipe ul li.ckd .ck { width: 14px; height: 14px; }
.li { width: 22px; height: 22px; flex: 0 0 auto; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.why-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .why-list { grid-template-columns: minmax(0, 1fr); } }
.why-item { display: flex; gap: 14px; padding: 22px 24px; background: var(--card); border: 1px solid var(--line); border-radius: 2px; }
.why-item .li { margin-top: 2px; }
.why-item h3 { font-family: Inter, sans-serif; font-size: 16px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 4px; }
.why-item p { font-size: 14px; color: var(--muted); line-height: 1.55; }

.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }
.svc-card { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; align-items: start; transition: border-color .3s; }
.svc-card:hover { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
@media (max-width: 520px) { .svc-card { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
.svc-ico { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 2px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.svc-ico .li { width: 26px; height: 26px; stroke-width: 1.6; }
.svc-card h3 { font-size: 18px; margin-bottom: 6px; }
.svc-card p { font-size: 15px; line-height: 1.6; }
.svc-card .checks { margin-top: 12px; gap: 6px; font-size: 14px; }
.tag-row { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tag-row b { font-size: 14px; font-weight: 600; margin-right: 6px; }
.tag-row span { font-size: 13px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--muted); }

.contact-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.c-details { display: grid; gap: 16px; margin-top: 6px; }
.c-det { display: flex; gap: 14px; align-items: flex-start; }
.c-det small { display: block; font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 600; color: var(--head); margin-bottom: 2px; }
.c-det a, .c-det span { font-size: 15px; }
.c-det span { color: var(--muted); }

.mobile-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); align-items: center; justify-content: space-between; gap: 12px; transform: translateY(110%); transition: transform .3s ease; }
.mobile-cta.show { transform: none; }
.mobile-cta .mc-text { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--head); min-width: 0; }
.mobile-cta .mc-text small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.mobile-cta .btn { flex: 0 0 auto; }
@media (max-width: 960px) { .mobile-cta { display: flex; } .foot { padding-bottom: 96px; } }

/* chat composer (chat.js): growing text field, + menu for photo / video, thumbnails, icon buttons */
.chat-in.composer { flex-direction: column; gap: 0; margin: 12px 14px 14px; padding: 0; border: 1px solid var(--line); border-radius: 2px; background: var(--bg); transition: border-color .2s; }
.chat-in.composer:focus-within { border-color: var(--accent); }
.c-text { display: block; width: 100%; min-height: 48px; max-height: 180px; border: 0; background: none; color: var(--text); font: inherit; font-size: 16px; line-height: 1.5; padding: 12px 14px 4px; resize: none; outline: none; }
.c-text::placeholder { color: var(--muted); }
.c-bar { display: flex; align-items: center; gap: 6px; padding: 6px 8px 8px; }
.c-grow { flex: 1; }
.c-btn { width: 40px; height: 40px; min-width: 40px; min-height: 40px; flex: none; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 2px; background: none; color: var(--muted); cursor: pointer; }
.c-btn[hidden] { display: none; }
.c-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.c-btn:hover, .c-btn[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }
.c-btn.c-send { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.c-btn.mic.rec { color: #ef4444; border-color: #ef4444; }
.c-plus { position: relative; }
.c-menu { position: absolute; left: 0; bottom: calc(100% + 6px); z-index: 5; min-width: 230px; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 2px; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.c-menu[hidden] { display: none; }
.c-item { display: block; padding: 10px 12px; cursor: pointer; font-size: 14px; color: var(--text); outline: none; }
.c-item:hover, .c-item:focus-visible { background: var(--accent-soft); }
.c-item small { color: var(--muted); margin-left: 6px; font-size: 12px; }
.c-thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.c-thumbs:not(:empty) { padding: 12px 14px 0; }
.c-thumb { position: relative; }
.c-thumb img { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: 2px; border: 1px solid var(--line); }
.c-thumb-x { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: 15px; line-height: 1; cursor: pointer; }
.c-thumb-tag { position: absolute; left: 4px; bottom: 4px; font-size: 10px; padding: 1px 5px; border-radius: 2px; background: rgba(0, 0, 0, .65); color: #fff; }

/* chat on phones: tighter header, log and bubbles */
@media (max-width: 560px) { .chat-head { padding: 12px 14px; font-size: 12px; } .chat-log { padding: 16px 12px; } .b-in, .b-out { max-width: 92%; padding: 10px 12px; } .chat-in.composer { margin: 10px; } }

/* use cases side by side (kamera 01–03): text left, a smaller demo right, about one screen each */
.uc-side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 56px; align-items: center; }
.uc-side .uc-head { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 0; align-items: start; }
.uc-side .uc-head .lead { font-size: 16px; }
.uc-side .uc-viz, .uc-side .rules { max-width: none; margin: 0; }
.uc-side .uc-more { text-align: left; margin-top: 18px; }
.uc-side .rule { padding: 11px 14px; font-size: 13px; }
@media (max-width: 960px) { .uc-side { grid-template-columns: minmax(0, 1fr); gap: 24px; } .uc-side > div:last-child { max-width: 520px; } }
