:root {
  --bg: #07121d;
  --panel: rgba(2, 33, 28, 0.82);
  --panel-soft: rgba(4, 24, 31, 0.88);
  --line: rgba(64, 255, 159, 0.28);
  --line-strong: rgba(64, 255, 159, 0.52);
  --text: #effff4;
  --muted: rgba(229, 255, 240, 0.68);
  --hot: #39ff91;
  --cyan: #43eaff;
  --shadow: 0 34px 100px rgba(0, 0, 0, 0.48);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 70% 8%, rgba(45, 255, 150, 0.13), transparent 36%),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 40px 40px, 40px 40px, auto;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.page-shell {
  width: min(1540px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 24px 0 80px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 0 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 116px;
  max-height: 42px;
  object-fit: contain;
  padding: 7px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255,255,255,0.08);
}
.brand strong { display: block; font-size: 18px; letter-spacing: .02em; }
.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.nav-links { display: flex; gap: 24px; flex-wrap: wrap; color: var(--muted); font-weight: 800; }
.nav-links a:hover { color: var(--hot); }

.section-frame {
  position: relative;
  margin-top: 56px;
  padding: clamp(24px, 3vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0, 43, 35, 0.72), rgba(4, 17, 28, 0.82));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.section-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(57,255,145,.08), transparent 32%, rgba(67,234,255,.07)),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
  opacity: .55;
}
.section-frame > * { position: relative; z-index: 1; }

.hero-grid {
  min-height: 720px;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--hot);
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.eyebrow.hot { color: #28ff86; }

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(52px, 6vw, 96px);
  line-height: .92;
  letter-spacing: -.06em;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 4.7vw, 76px);
  line-height: .94;
  letter-spacing: -.055em;
}
h3 { margin-bottom: 8px; font-size: 26px; }
.lede, .section-heading p, .proof-list, label, .form-note {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}
.proof-list { padding-left: 22px; }
.proof-list li { margin: 16px 0; }

.demo-card {
  display: grid;
  gap: 24px;
  padding: clamp(24px, 3.1vw, 48px);
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 23, 26, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), 0 24px 80px rgba(0,0,0,.32);
}
.demo-card h2 { font-size: clamp(42px, 5vw, 82px); }
.route-box {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin: 0;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
}
.route-box legend {
  padding: 0 10px;
  color: var(--hot);
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.route-box label { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 900; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
label { display: grid; gap: 10px; color: var(--text); font-weight: 900; }
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: rgba(2, 12, 16, .72);
  color: var(--text);
  padding: 18px 20px;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--hot); box-shadow: 0 0 0 4px rgba(57,255,145,.12); }
textarea { min-height: 132px; resize: vertical; }
button {
  width: fit-content;
  border: 0;
  border-radius: 999px;
  padding: 16px 24px;
  background: var(--hot);
  color: #00120a;
  font-weight: 1000;
  cursor: pointer;
  box-shadow: 0 16px 42px rgba(57,255,145,.22);
}
button:hover { transform: translateY(-1px); }
.form-note { margin: -10px 0 0; font-size: 15px; }

.workflow-section { padding: clamp(20px, 2.4vw, 34px); }
.section-heading.compact h2 { max-width: 900px; font-size: clamp(34px, 4vw, 68px); }
.workflow-image-card {
  margin: 24px 0 0;
  border: 1px solid rgba(67,234,255,.22);
  border-radius: 24px;
  overflow: hidden;
  background: #020509;
  box-shadow: 0 18px 70px rgba(0,0,0,.44);
}
.workflow-image-card img { display: block; width: 100%; height: auto; }

.qr-section { display: grid; grid-template-columns: .72fr 1.28fr; gap: 36px; align-items: start; }
.qr-grid { display: grid; gap: 22px; }
.qr-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: rgba(0, 18, 22, .68);
}
.qr-card img {
  width: 150px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.qr-card a { color: #6affcc; font-weight: 1000; }

@media (max-width: 980px) {
  .page-shell { width: min(100% - 24px, 760px); }
  .site-header, .hero-grid, .qr-section { grid-template-columns: 1fr; display: grid; }
  .nav-links { gap: 14px; }
  .form-grid { grid-template-columns: 1fr; }
  .qr-card { grid-template-columns: 108px 1fr; }
  .qr-card img { width: 108px; }
}


/* === Mobile-first trade-show repair patch ===
   Goal: the live lead card is the first thing people see on phones.
   The descriptive copy now sits underneath the form instead of stealing the first screen.
*/
.hero-grid {
  grid-template-columns: 1.15fr .85fr;
  align-items: start;
}
.demo-card { order: 1; }
.hero-copy { order: 2; }
.form-title {
  margin-bottom: 10px;
  font-size: clamp(42px, 4.8vw, 78px);
  line-height: .92;
  letter-spacing: -.055em;
}
.demo-card button {
  min-height: 56px;
}

@media (max-width: 760px) {
  html { scroll-padding-top: 0; }
  body {
    overflow-x: hidden;
    background-size: auto, 28px 28px, 28px 28px, auto;
  }
  .page-shell {
    width: 100%;
    padding: 12px 10px 56px;
  }
  .site-header {
    gap: 14px;
    padding: 10px 8px 16px;
  }
  .brand {
    width: 100%;
    display: grid;
    grid-template-columns: 136px 1fr;
    align-items: center;
    gap: 12px;
  }
  .brand-mark {
    width: 136px;
    max-height: 52px;
    padding: 8px 12px;
  }
  .brand strong {
    font-size: 19px;
    line-height: 1.05;
  }
  .brand small {
    margin-top: 4px;
    font-size: 11px;
    letter-spacing: .28em;
  }
  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    font-size: 14px;
    line-height: 1;
  }
  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 8px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 999px;
    background: rgba(0,0,0,.18);
    white-space: nowrap;
  }
  .section-frame {
    margin-top: 18px;
    padding: 14px;
    border-radius: 20px;
  }
  .hero-grid {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .demo-card {
    padding: 18px 16px;
    border-radius: 20px;
    gap: 16px;
  }
  .eyebrow {
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: .22em;
  }
  .form-title,
  .demo-card h1 {
    font-size: clamp(36px, 11.5vw, 50px);
    line-height: .94;
    letter-spacing: -.055em;
    margin-bottom: 4px;
  }
  .route-box {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 20px 12px 12px;
    border-radius: 18px;
  }
  .route-box legend {
    font-size: 10px;
    letter-spacing: .18em;
  }
  .route-box label {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.08);
    font-size: 16px;
  }
  .route-box input[type="radio"] {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    accent-color: #39ff91;
    margin: 0;
  }
  .form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  label {
    gap: 7px;
    font-size: 16px;
    line-height: 1.2;
  }
  input, select, textarea {
    min-height: 50px;
    padding: 13px 14px;
    border-radius: 14px;
    font-size: 16px;
  }
  textarea { min-height: 96px; }
  button,
  .demo-card button {
    width: 100%;
    min-height: 54px;
    padding: 14px 18px;
    font-size: 16px;
  }
  .form-note {
    margin: -4px 0 0;
    font-size: 13px;
    line-height: 1.35;
  }
  .hero-copy {
    padding: 18px 2px 4px;
  }
  .hero-copy h2 {
    font-size: clamp(30px, 9vw, 42px);
    line-height: .98;
    margin-bottom: 10px;
  }
  .lede,
  .section-heading p,
  .proof-list,
  .hero-copy .lede {
    font-size: 16px;
    line-height: 1.45;
  }
  .proof-list {
    padding-left: 18px;
    margin-bottom: 0;
  }
  .proof-list li { margin: 10px 0; }
  .workflow-section { padding: 12px; }
  .section-heading.compact h2,
  .section-heading h2 {
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1;
  }
  .workflow-image-card {
    margin-top: 14px;
    border-radius: 16px;
  }
  .workflow-image-card img {
    width: 100%;
    height: auto;
  }
  .qr-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .qr-card {
    grid-template-columns: 86px 1fr;
    gap: 14px;
    padding: 14px;
    border-radius: 16px;
  }
  .qr-card img { width: 86px; border-radius: 12px; }
  .qr-card h3 { font-size: 18px; }
}

@media (max-width: 390px) {
  .brand {
    grid-template-columns: 118px 1fr;
  }
  .brand-mark { width: 118px; }
  .brand strong { font-size: 17px; }
  .nav-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-title,
  .demo-card h1 { font-size: 34px; }
  .route-box { grid-template-columns: 1fr; }
}
