:root {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: #e8eef5;
  background: #0b1118;
  --bg: #0b1118;
  --panel: #121b26;
  --panel-2: #172331;
  --line: #243445;
  --muted: #8fa3b8;
  --accent: #19c3e6;
  --ok: #2fd27a;
  --warn: #ffb020;
  --bad: #ff5468;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }
.container { width: min(1760px, 100% - clamp(28px, 5vw, 96px)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: rgb(11 17 24 / 88%); backdrop-filter: blur(14px); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: -.5px; }
.logo svg { width: 30px; height: 30px; }
.logo span span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14px; color: var(--muted); }
.nav-links a:hover, .nav-links a.current { color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border: 1px solid transparent; border-radius: 9px; font-size: 14px; font-weight: 600; cursor: pointer; transition: transform .15s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-primary { background: var(--accent); color: #04222b; }
.btn-primary:hover { background: #3fd4f2; }
.btn-ghost { border-color: var(--line); background: transparent; color: #e8eef5; }
.btn-ghost:hover { border-color: var(--accent); }
.nav-links a.btn-primary { color: #04222b; }
.nav-dropdown { position: relative; }
.nav-dropdown > button { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.nav-dropdown > button::after { content: " \25BE"; }
.nav-dropdown > button:hover, .nav-dropdown:focus-within > button, .nav-dropdown.current > button { color: #fff; }
.dropdown-menu { position: absolute; top: 100%; left: 0; min-width: 160px; padding: 8px; margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); display: none; z-index: 10; }
.dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 9px 12px; border-radius: 7px; white-space: nowrap; }
.dropdown-menu a:hover, .dropdown-menu a.current { background: #1a2634; }.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: #fff; padding: 8px 12px; cursor: pointer; }

.hero { padding: 84px 0 70px; background: radial-gradient(ellipse 70% 60% at 80% 10%, rgb(25 195 230 / 16%), transparent), radial-gradient(ellipse 50% 50% at 0 100%, rgb(255 176 32 / 8%), transparent); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
.eyebrow { display: inline-block; margin-bottom: 16px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .5px; }
.hero h1 { margin: 0 0 18px; font-size: clamp(34px, 5vw, 56px); line-height: 1.08; letter-spacing: -1.5px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p.lead { max-width: 560px; margin: 0 0 30px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.live-card { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(160deg, var(--panel-2), var(--panel)); box-shadow: 0 20px 60px rgb(0 0 0 / 40%); }
.hmi-status { margin: 0 0 12px; font-size: 13px; color: var(--muted, #8aa0b4); }
.live-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 13px; color: var(--muted); }
.pulse { display: inline-flex; align-items: center; gap: 7px; color: var(--ok); font-weight: 600; }
.pulse i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; transform: scale(1.5); } }
.mini-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-metric { padding: 14px; border-radius: 10px; background: #0e1722; }
.mini-metric small { color: var(--muted); font-size: 11px; }
.mini-metric strong { display: block; margin-top: 2px; font-size: 24px; font-variant-numeric: tabular-nums; }
.mini-metric strong span { color: var(--muted); font-size: 12px; font-weight: 500; }

section { padding: 76px 0; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head h2 { margin: 0 0 12px; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -1px; line-height: 1.15; }
.section-head p { margin: 0; color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); transition: border-color .2s, transform .2s; }
.card:hover { border-color: #35506a; transform: translateY(-3px); }
.card .icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 10px; background: rgb(25 195 230 / 12%); color: var(--accent); font-size: 22px; }
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

.alt { background: #0e151e; border-block: 1px solid var(--line); }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.flow-step { padding: 22px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); text-align: center; }
.flow-step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; margin: 0 auto 12px; border-radius: 50%; background: var(--accent); color: #04222b; font-size: 13px; font-weight: 800; }
.flow-step h3 { margin: 0 0 6px; font-size: 15px; }
.flow-step p { margin: 0; color: var(--muted); font-size: 12.5px; }

.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.industry { padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(160deg, var(--panel-2), var(--panel)); }
.industry h3 { margin: 0 0 8px; }
.industry ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; padding: 36px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(120deg, rgb(25 195 230 / 14%), rgb(255 176 32 / 8%)); }
.cta-band h2 { margin: 0 0 6px; font-size: 26px; }
.cta-band p { margin: 0; color: var(--muted); }

.faq-wrap { max-width: 820px; }
.faq details { margin-bottom: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.faq summary { padding: 16px 18px; font-weight: 600; cursor: pointer; }
.faq summary:hover { color: var(--accent); }
.faq details p { margin: 0; padding: 0 18px 16px; color: var(--muted); font-size: 14px; }
.breadcrumb { margin-bottom: 14px; color: var(--muted); font-size: 13px; }
.breadcrumb a:hover { color: var(--accent); }
.page-hero { padding: 64px 0 28px; background: radial-gradient(ellipse 60% 80% at 80% 0, rgb(25 195 230 / 14%), transparent); }
.page-hero h1 { margin: 0 0 10px; font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -1.2px; line-height: 1.1; }
.page-hero p { max-width: 620px; margin: 0; color: var(--muted); font-size: 16px; }
.contact-section { padding: 36px 0 80px; }
.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 36px; align-items: start; }
.info-card { padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.info-card h2 { margin: 0 0 14px; font-size: 18px; }
.info-card ul { margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.info-card li { display: flex; gap: 10px; margin-bottom: 14px; }
.info-card li b { color: #fff; font-weight: 600; }
.contact-person { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.contact-person h3 { margin: 0 0 8px; color: var(--accent); font-size: 13px; letter-spacing: .4px; text-transform: uppercase; }
.contact-person p { margin: 0 0 6px; color: var(--muted); }
.contact-person .person-name { color: #fff; font-size: 17px; font-weight: 700; }
.contact-person .person-label { display: block; font-size: 12px; }
.contact-person a { color: #fff; word-break: break-all; }
.contact-person a:hover { color: var(--accent); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.contact-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 8px; outline: none; background: #0e1722; color: #fff; font-weight: 400; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgb(25 195 230 / 14%); }
.contact-form textarea { resize: vertical; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; margin: 0; padding: 12px 14px; border-radius: 8px; font-size: 13px; }
.form-status.success { background: rgb(47 210 122 / 12%); color: var(--ok); }
.form-status.error { background: rgb(255 84 104 / 12%); color: #ff8a98; }
.form-status a { text-decoration: underline; }
.site-footer { padding: 30px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

@media (max-width: 900px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .grid-3, .industry-grid { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: block; }
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; border-bottom: 1px solid var(--line); background: var(--bg); }
  .nav-links a { padding: 12px 0; }
  .nav-links a.btn-primary { margin-top: 8px; }
  .nav-dropdown > button { width: 100%; text-align: left; padding: 12px 0; }
  .dropdown-menu { position: static; display: block; margin: 0 0 4px 12px; padding: 0; border: 0; background: transparent; }
  .dropdown-menu::before { display: none; }
  .nav-links:not(.open) { display: none; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 28px); }
  .nav-row { height: 60px; }
  .logo { font-size: 17px; }
  .btn { padding: 11px 16px; }
  img, svg, video, canvas { max-width: 100%; height: auto; }
  table { display: block; overflow-x: auto; }
  section { padding: 54px 0; }
  .hero { padding-top: 52px; }
  .grid-3, .industry-grid, .flow, .contact-form { grid-template-columns: 1fr; }
  .cta-band { padding: 24px; }
}

/* Mobile view toggle (viewmode.js): mirrors the small-screen rules at any browser width */
.viewmode-btn { position: fixed; right: 14px; bottom: 14px; z-index: 50; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line, #243445); background: var(--panel, #121b26); color: #e8eef5; font-size: 13px; font-weight: 600; cursor: pointer; box-shadow: 0 6px 20px rgb(0 0 0 / 40%); }
html.phone-view body { width: 390px; max-width: 100%; margin: 0 auto; border-inline: 1px solid var(--line, #243445); min-height: 100vh; }
html.phone-view .container { width: calc(100% - 28px); }
html.phone-view .hero-grid, html.phone-view .contact-grid { grid-template-columns: 1fr; }
html.phone-view .grid-3, html.phone-view .industry-grid, html.phone-view .flow, html.phone-view .contact-form { grid-template-columns: 1fr; }
html.phone-view .menu-toggle { display: block; }
html.phone-view .nav-links { position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; border-bottom: 1px solid var(--line); background: var(--bg); }
html.phone-view .nav-links a { padding: 12px 0; }
html.phone-view .nav-links a.btn-primary { margin-top: 8px; }
html.phone-view .nav-dropdown > button { width: 100%; text-align: left; padding: 12px 0; }
html.phone-view .dropdown-menu { position: static; display: block; margin: 0 0 4px 12px; padding: 0; border: 0; background: transparent; }
html.phone-view .dropdown-menu::before { display: none; }
html.phone-view .nav-links:not(.open) { display: none; }
html.phone-view .nav-row { height: 60px; }
html.phone-view section { padding: 54px 0; }
html.phone-view .hero { padding-top: 52px; }
html.phone-view .cta-band { padding: 24px; }
html.phone-view .site-header { position: sticky; }

/* viewmode.js: button bar and home-screen help */
.viewmode-bar { position: fixed; right: 14px; bottom: 14px; z-index: 50; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; max-width: calc(100% - 28px); }
.viewmode-bar .viewmode-btn { position: static; }
.home-help { position: fixed; right: 14px; bottom: 70px; z-index: 60; width: min(320px, calc(100% - 28px)); padding: 16px; border-radius: 14px; border: 1px solid var(--line, #243445); background: var(--panel, #121b26); color: #e8eef5; box-shadow: 0 10px 30px rgb(0 0 0 / 50%); font-size: 14px; }
.home-help p { margin: 6px 0 12px; color: var(--muted, #8fa3b8); }
.home-help button { padding: 8px 14px; border-radius: 8px; border: 0; background: var(--accent, #19c3e6); color: #04222b; font-weight: 700; cursor: pointer; }

/* SEO / content additions */
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.15em; }
.card .icon .ico, .industry .icon .ico { width: 24px; height: 24px; }
.industry .icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 12px; background: rgb(25 195 230 / 12%); color: var(--accent); }
.flow-step .ico { width: 28px; height: 28px; margin: 0 auto 8px; display: block; color: var(--accent); }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; padding: 10px 16px; background: var(--accent); color: #04222b; font-weight: 700; }
.skip-link:focus { left: 8px; top: 8px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.chips li { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--muted); font-size: 12.5px; }
.stats { padding: 26px 0; border-block: 1px solid var(--line); background: #0e151e; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.stat .ico { grid-row: span 2; width: 30px; height: 30px; color: var(--accent); }
.stat strong { font-size: 20px; }
.stat span { color: var(--muted); font-size: 13px; }
.more-link { margin: 28px 0 0; text-align: center; }
.more-link a { color: var(--accent); font-weight: 600; }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 24px; }
.footer-cols h4 { margin: 0 0 10px; color: var(--text, #e8eef5); font-size: 14px; }
.footer-cols nav a { display: block; padding: 3px 0; color: var(--muted); }
.footer-cols nav a:hover { color: var(--accent); }
.footer-cols p { margin: 12px 0 0; max-width: 320px; }
.page-hero { padding: 64px 0 36px; }
.page-hero h1 { margin: 0 0 14px; font-size: clamp(30px, 4.4vw, 48px); letter-spacing: -1.2px; line-height: 1.1; }
.crumbs { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.crumbs a { color: var(--accent); }
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; padding: 30px 0; border-top: 1px solid var(--line); }
.detail h2 { margin: 0 0 10px; font-size: 26px; }
.detail p, .detail li { color: var(--muted); }
.detail ul { padding-left: 18px; }
.detail .icon-lg { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 14px; border-radius: 14px; background: rgb(25 195 230 / 12%); color: var(--accent); }
.detail .icon-lg .ico { width: 28px; height: 28px; }
@media (max-width: 960px) { .grid-4, .stat-grid { grid-template-columns: 1fr 1fr; } .footer-cols { grid-template-columns: 1fr 1fr; } .detail { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-4, .stat-grid, .footer-cols { grid-template-columns: 1fr; } }
html.phone-view .grid-4, html.phone-view .stat-grid, html.phone-view .footer-cols, html.phone-view .detail { grid-template-columns: 1fr; }
