/* Signal Analytics — holding site styles */
:root {
  --bg: #1f1f1f;
  --bg-2: #2a2a2a;
  --bg-3: #333333;
  --text: #f2f2f2;
  --muted: #b5b5b5;
  --line: #3d3d3d;
  --accent: #e8232b;
  --accent-dark: #b81b22;
  --max: 1120px;
  --radius: 6px;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--text); text-decoration: none; }
a:hover { color: #fff; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(31,31,31,.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand img { height: 44px; width: auto; }
.nav a {
  margin-left: 28px;
  font-size: .9rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.nav a:hover, .nav a.active { color: #fff; }
.nav a.btn { color: #fff; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 26px;
  background: var(--accent);
  color: #fff !important;
  border: 0; border-radius: var(--radius);
  font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  font-size: .85rem; cursor: pointer;
  transition: background .15s;
}
.btn:hover { background: var(--accent-dark); }
.btn-outline {
  background: transparent; border: 1px solid var(--muted); color: var(--text) !important;
}
.btn-outline:hover { background: var(--bg-3); border-color: #fff; }

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex; align-items: center;
  background: #111 url("../images/hero-bench.jpg") center/cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,20,20,.94) 0%, rgba(20,20,20,.75) 55%, rgba(20,20,20,.35) 100%);
}
.hero .wrap { position: relative; padding-top: 80px; padding-bottom: 80px; }
.hero .logo-large { max-width: 420px; margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  font-weight: 300; letter-spacing: .18em; text-transform: uppercase;
  margin: 0 0 18px;
}
.hero h1 b { font-weight: 700; color: #fff; }
.hero p { max-width: 560px; color: var(--muted); font-size: 1.05rem; margin: 0 0 32px; }
.hero .accent-bar { width: 64px; height: 4px; background: var(--accent); margin-bottom: 24px; }

/* Sections */
section { padding: 72px 0; border-top: 1px solid var(--line); }
section.alt { background: var(--bg-2); }
.section-head { margin-bottom: 36px; }
.section-head h2 {
  font-size: 1.1rem; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 600; margin: 0 0 10px; color: #fff;
}
.section-head h2::before {
  content: ""; display: inline-block; width: 0; height: 0;
  border-left: 7px solid transparent; border-right: 7px solid transparent;
  border-bottom: 12px solid var(--accent);
  margin-right: 12px; vertical-align: 1px;
}
.section-head p { color: var(--muted); margin: 0; max-width: 640px; }

/* Spectrum diagrams (white-background figures on a light panel) */
.spectrum { background: #ececea; color: var(--bg); }
.spectrum .section-head h2 { color: var(--bg); }
.spectrum .section-head p { color: #4a4a4a; }
.diagrams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.diagrams figure { margin: 0; background: #fff; border: 1px solid #d8d8d4; border-radius: var(--radius); padding: 16px; }
.diagrams img { width: 100%; height: 200px; object-fit: contain; }
.diagrams figcaption { margin-top: 12px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #666; text-align: center; }
.cta-icon { width: 90px; margin: 0 auto 18px; border-radius: 50%; }

/* Capability grid */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.card img { height: 170px; width: 100%; object-fit: cover; filter: saturate(.85); }
.card .body { padding: 18px 20px 22px; }
.card h3 { margin: 0 0 6px; font-size: 1rem; letter-spacing: .04em; }
.card p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Plain list (markets) */
.pill-list { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0; }
.pill-list li {
  padding: 12px 20px; border: 1px solid var(--line); border-left: 3px solid var(--accent);
  background: var(--bg-3); border-radius: var(--radius); font-size: .95rem;
}

/* Two-column text + image */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); border: 1px solid var(--line); }
.process { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.process li {
  font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.process li:not(:last-child)::after { content: "›"; margin-left: 10px; color: var(--accent); }

/* CTA strip */
.cta { text-align: center; background: var(--bg-2); }
.cta h2 { font-weight: 300; letter-spacing: .1em; font-size: 1.6rem; margin: 0 0 12px; }
.cta p { color: var(--muted); margin: 0 0 28px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .85rem;
}
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer img { height: 28px; opacity: .8; }

/* Contact form */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.contact-intro p { color: var(--muted); }
.form-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field label .req { color: var(--accent); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,35,43,.2);
}
.field textarea { min-height: 150px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 14px; }
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 22px; border: 1px solid; }
.alert-error { border-color: var(--accent); background: rgba(232,35,43,.12); }
.alert-ok { border-color: #2e9e5b; background: rgba(46,158,91,.14); }
.alert ul { margin: 8px 0 0 18px; padding: 0; }

/* Responsive */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .diagrams { grid-template-columns: 1fr; }
  .split, .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .site-header .wrap { height: 64px; }
  .brand img { height: 36px; }
  .nav a { margin-left: 16px; font-size: .78rem; }
  .nav a.btn { padding: 8px 14px; }
  .hero { min-height: 420px; }
  .hero .logo-large { max-width: 280px; }
  .grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  section { padding: 52px 0; }
}
