:root {
  --bg: #0b1220;
  --panel: #151f30;
  --text: #e8eef6;
  --ink: #f5f8fc;
  --muted: #aebdcd;
  --line: #34445a;
  --accent: #32b7b0;
  --accent-2: #68b7ff;
  --soft: #1b2b3d;
  --danger: #ff9d91;
  --success: #75d9b3;
  --shadow: 0 14px 40px rgba(0, 0, 0, .24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; line-height: 1.55; color: var(--text); background: var(--bg); }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(11, 18, 32, .97); border-bottom: 1px solid var(--line); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--text); font-weight: 800; }
.brand img { display: block; width: 164px; max-height: 52px; object-fit: contain; }
.brand-copy { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.nav-links a { color: var(--text); font-size: 14px; font-weight: 700; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent-2); text-decoration: none; }
.hero { background: #101a2a; border-bottom: 1px solid var(--line); }
.hero-inner { min-height: 520px; padding: 62px 0; display: grid; grid-template-columns: minmax(0, .92fr) minmax(380px, 1.08fr); gap: 40px; align-items: center; }
.hero-inner.text-only { min-height: 330px; grid-template-columns: minmax(0, 850px); }
.eyebrow, .meta { color: var(--accent); font-size: 13px; font-weight: 800; text-transform: uppercase; }
h1, h2, h3 { margin: 0 0 14px; line-height: 1.14; color: var(--ink); }
h1 { max-width: 820px; font-size: clamp(34px, 5vw, 50px); }
h2 { font-size: clamp(26px, 3vw, 38px); }
h3 { font-size: 22px; }
p { margin: 0 0 14px; }
.lead { max-width: 760px; color: var(--muted); font-size: 19px; }
.actions, .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 18px; border: 2px solid #48c8c1; border-radius: 6px; background: #14736f; color: #fff; font-weight: 800; cursor: pointer; }
.button.secondary { background: #17283b; color: #dceeff; border-color: #68b7ff; }
.button:hover { color: #fff; text-decoration: none; filter: brightness(1.12); }
.button.secondary:hover { background: #20364e; }
.button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(104, 183, 255, .5); outline-offset: 3px; }
.hero-media, .product-frame { overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.hero-media img, .product-frame img { display: block; width: 100%; height: auto; object-fit: contain; background: var(--panel); }
.caption { margin: 0; padding: 14px 16px; color: var(--muted); font-size: 14px; }
.stats { max-width: 720px; margin-top: 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat { padding: 17px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.stat strong { display: block; color: var(--accent); font-size: 25px; line-height: 1; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
.section { padding: 72px 0; }
.section.alt { background: #101a2a; border-block: 1px solid var(--line); }
.section-head { margin-bottom: 30px; display: grid; grid-template-columns: minmax(260px, .7fr) minmax(280px, 1fr); gap: 28px; align-items: end; }
.section-head p { color: var(--muted); font-size: 18px; }
.grid, .feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid.two, .downloads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card, .download-card { min-width: 0; min-height: 100%; padding: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.card p, .download-card p { color: var(--muted); }
.card h2, .card h3, .download-card h2, .download-card h3, .card a, .download-card a { overflow-wrap: anywhere; word-break: break-word; }
.card .icon { width: 48px; height: 48px; margin-bottom: 18px; object-fit: contain; }
.split { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr); gap: 36px; align-items: start; }
.spec-card { padding: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.spec-card p { color: var(--muted); }
.spec-list { display: grid; gap: 1px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 8px; }
.spec-row { padding: 12px 14px; display: grid; grid-template-columns: 185px minmax(0, 1fr); gap: 16px; background: var(--soft); }
.spec-row span:first-child { color: var(--muted); font-size: 14px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gallery figure { margin: 0; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.gallery img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--panel); }
.gallery img.contain-screenshot { object-fit: contain; }
.gallery figcaption { padding: 12px 14px; color: var(--muted); font-size: 14px; }
.gallery .hardware-photo { grid-column: 1 / -1; }
.gallery .hardware-photo img { height: min(620px, 65vh); aspect-ratio: auto; object-fit: contain; padding: 18px; }
.applications { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.pill { min-height: 92px; padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-weight: 750; }
.downloads { display: grid; gap: 18px; }
.download-card .button { margin-top: 10px; }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.video { overflow: hidden; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); border-radius: 8px; }
.video iframe { width: 100%; height: 100%; display: block; border: 0; }
.contact-layout { display: grid; grid-template-columns: minmax(280px, .76fr) minmax(0, 1.24fr); gap: 36px; align-items: start; }
form { display: grid; gap: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
label { display: grid; gap: 7px; color: var(--text); font-weight: 700; }
input, textarea, select { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 6px; background: #0f1928; color: var(--text); font: inherit; }
textarea { min-height: 160px; resize: vertical; }
.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note, .muted { color: var(--muted); }
.note { font-size: 14px; }
.status-panel { width: min(760px, calc(100% - 32px)); margin: 72px auto; padding: 32px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.status-panel img { width: 168px; }
.success { color: var(--success); }
.error { color: var(--danger); }
.footer { padding: 28px 0; color: var(--muted); background: #0f1928; border-top: 1px solid var(--line); }
.footer .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 840px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .nav-links { width: 100%; overflow-x: auto; padding-bottom: 4px; flex-wrap: nowrap; }
  .hero-inner, .section-head, .split, .contact-layout { grid-template-columns: 1fr; }
  .hero-inner { min-height: auto; padding: 44px 0; }
  .feature-grid, .grid, .video-grid, .applications { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .stats, .feature-grid, .grid, .grid.two, .gallery, .applications, .downloads, .video-grid, .form-grid { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
  .section { padding: 54px 0; }
  .brand-copy { display: none; }
}
