/* NexusAV: dark "house lights down" palette. Blue-violet is the accent; stage amber is kept for highlights. */
:root {
  --bg: #0d0f12;
  --bg-alt: #13161b;
  --panel: #191d23;
  --line: #262b33;
  --text: #e9ecef;
  --muted: #9aa3ad;
  --accent: #8f99ff;        /* text-on-dark accent: eyebrows, links, checks */
  --accent-strong: #5a66f2; /* filled buttons */
  --accent-ink: #ffffff;
  --highlight: #f2a541;     /* amber, used sparingly for emphasis */
  --radius: 14px;
  --wrap: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; max-width: 14ch; }
h1 em { font-style: normal; color: var(--highlight); }
.hl { color: var(--highlight); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 750; max-width: 22ch; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.eyebrow {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 14px max(20px, calc((100% - var(--wrap)) / 2));
  background: rgba(13, 15, 18, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; text-decoration: none; }
.brand span { color: var(--accent); }
nav { display: flex; align-items: center; gap: 1.5rem; font-size: 0.95rem; }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--text); }
nav .nav-cta { color: var(--accent); font-weight: 650; }

/* Sections */
main > section { padding: 96px max(20px, calc((100% - var(--wrap)) / 2)); }
.band { border-top: 1px solid var(--line); }
.band.alt { background: var(--bg-alt); }
.band-head { max-width: 680px; margin-bottom: 40px; }
.band-head p:last-child, .split p { color: var(--muted); }

.hero { padding-top: 120px !important; padding-bottom: 80px !important;
  background: radial-gradient(80% 60% at 85% 0%, rgba(90, 102, 242, 0.18), transparent 70%); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 56px; }

.btn {
  display: inline-block; cursor: pointer;
  padding: 14px 24px; border-radius: 999px; border: 1px solid var(--accent-strong);
  background: var(--accent-strong); color: var(--accent-ink);
  font: inherit; font-weight: 700; text-decoration: none;
}
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--accent); border-color: var(--accent); }

.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 16px 48px; }
.facts li { display: flex; flex-direction: column; }
.facts strong { font-size: 1.1rem; }
.facts span { color: var(--muted); font-size: 0.95rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.cards article { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.cards article p { color: var(--muted); margin: 0; }

.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.split > div:only-child { max-width: 720px; }
.checks { list-style: none; margin: 0; padding: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.checks li { padding: 10px 0 10px 30px; position: relative; border-bottom: 1px solid var(--line); }
.checks li:last-child { border-bottom: 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: 18px; width: 12px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* Contact form */
.contact { background: var(--bg-alt); }
form { max-width: 760px; display: grid; gap: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
.opt { color: var(--muted); font-weight: 400; }
input, select, textarea {
  font: inherit; color: var(--text);
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
form .btn { justify-self: start; }
.form-note { color: var(--muted); min-height: 1.6em; margin: 0; }

footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  padding: 32px max(20px, calc((100% - var(--wrap)) / 2));
  border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem;
}
footer p { margin: 0; }

@media (max-width: 820px) {
  nav a:not(.nav-cta) { display: none; }
  .split, .row { grid-template-columns: 1fr; }
  main > section { padding-top: 64px; padding-bottom: 64px; }
  .hero { padding-top: 72px !important; }
}
.form-note.bad { color: var(--highlight); }
form .btn:disabled { opacity: 0.6; cursor: default; }
/* Honeypot: off-screen rather than display:none, which some bots skip. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
