/* ============================================================
   Vector Store — Design System
   Stealth-wealth B2B hardware aesthetic:
   near-black, hairline borders, dense grids, no gradients.
   ============================================================ */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/JetBrainsMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/JetBrainsMono-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/JetBrainsMono-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg:        #0a0a0a;
  --bg-raised: #101012;
  --bg-hover:  #161619;
  --border:    #232327;
  --border-soft: #1a1a1e;
  --text:      #ededea;
  --text-dim:  #9b9b96;
  --text-faint:#5f5f5c;
  --accent:    #7c8aff;
  --accent-dim:#3d4470;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --maxw: 1200px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent-dim); color: var(--text); }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.eyebrow .dot { color: var(--accent); }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.logo span { color: var(--text-faint); font-weight: 400; }
.main-nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
}
.main-nav a {
  font-size: 13.5px;
  color: var(--text-dim);
  padding: 6px 11px;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a:hover { color: var(--text); background: var(--bg-hover); }
.main-nav a.active { color: var(--text); }
.main-nav a.nav-cta {
  color: var(--text);
  border: 1px solid var(--border);
  margin-left: 8px;
}
.main-nav a.nav-cta:hover { border-color: var(--text-dim); background: var(--bg-raised); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  padding: 7px 12px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  border-bottom: 1px solid var(--border-soft);
  padding: 96px 0 72px;
}
.hero h1 {
  font-size: clamp(40px, 6.5vw, 68px);
  margin: 20px 0 24px;
  max-width: 14ch;
}
.hero .lede {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 560px;
}
.hero-actions { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  margin-top: 64px;
}
.hero-specs li {
  padding: 16px 20px;
  border-right: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-dim);
}
.hero-specs li:last-child { border-right: none; }
.hero-specs strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: 4px;
  border: 1px solid var(--border);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.btn-primary:hover { background: #cfcfcc; border-color: #cfcfcc; }
.btn-ghost:hover { border-color: var(--text-dim); background: var(--bg-raised); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; border-bottom: 1px solid var(--border-soft); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin: 16px 0 12px; }
.section-head p { color: var(--text-dim); }

/* ---------- Brand strip ---------- */
.brand-strip { padding: 28px 0; border-bottom: 1px solid var(--border-soft); }
.brand-strip .container {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.brand-strip .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}
.brand-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}
.brand-strip ul li {
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

/* ---------- Product lines (bento) ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.product-card {
  background: var(--bg);
  padding: 32px 28px;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  transition: background 0.15s ease;
  position: relative;
}
.product-card:hover { background: var(--bg-raised); }
.product-card.featured { grid-column: span 4; background: var(--bg-raised); }
.product-card .tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.product-card h3 { font-size: 21px; margin-bottom: 10px; }
.product-card.featured h3 { font-size: 26px; }
.product-card p { font-size: 14.5px; color: var(--text-dim); flex: 1; }
.product-card .specs {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}
.product-card .arrow {
  position: absolute;
  top: 30px; right: 26px;
  color: var(--text-faint);
  font-family: var(--mono);
  transition: color 0.15s ease, transform 0.15s ease;
}
.product-card:hover .arrow { color: var(--text); transform: translate(2px, -2px); }

/* ---------- Value props ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.value-item { background: var(--bg); padding: 32px 28px; }
.value-item .num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
  display: block;
  margin-bottom: 40px;
}
.value-item h3 { font-size: 18px; margin-bottom: 10px; }
.value-item p { font-size: 14.5px; color: var(--text-dim); }

/* ---------- About ---------- */
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-wrap .statement {
  font-size: clamp(20px, 2.6vw, 27px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.about-wrap .statement em { font-style: normal; color: var(--accent); }
.about-body p { color: var(--text-dim); margin-bottom: 18px; font-size: 15.5px; }
.about-facts {
  margin-top: 28px;
  border-top: 1px solid var(--border);
}
.about-facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14px;
}
.about-facts li span:first-child {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.contact-facts {
  max-width: 760px;
  margin-top: 32px;
}

/* ---------- CTA ---------- */
.cta-section { padding: 96px 0; text-align: left; border-bottom: 1px solid var(--border-soft); }
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-inner h2 { font-size: clamp(28px, 4vw, 42px); max-width: 20ch; }
.cta-inner p { color: var(--text-dim); margin-top: 14px; max-width: 480px; }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-grid p { color: var(--text-dim); font-size: 13.5px; max-width: 280px; margin-top: 14px; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: 13.5px; color: var(--text-dim); }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
}

/* ---------- Inner pages ---------- */
.page-hero { padding: 80px 0 56px; border-bottom: 1px solid var(--border-soft); }
.page-hero h1 { font-size: clamp(34px, 5vw, 52px); margin: 18px 0 16px; }
.page-hero .lede { color: var(--text-dim); max-width: 620px; font-size: 17px; }
.spec-table { width: 100%; border: 1px solid var(--border); border-collapse: collapse; }
.spec-table th, .spec-table td {
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14px;
}
.spec-table th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.spec-table td:first-child { font-family: var(--mono); font-size: 13px; color: var(--text-dim); }
.card-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.card-list .cell { background: var(--bg); padding: 28px; }
.card-list .cell h3 { font-size: 17px; margin-bottom: 8px; }
.card-list .cell p { font-size: 14px; color: var(--text-dim); }

/* ---------- Forms ---------- */
.rfq-form { max-width: 640px; }
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 14.5px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s ease;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { border-color: var(--text-dim); }
.form-row textarea { min-height: 140px; resize: vertical; }
.form-note {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 28px;
}
.form-note a { color: var(--text-dim); text-decoration: underline; }
.hp-field { display: none; }
.page-hero .lede a { color: var(--text); text-decoration: underline; }
.footer-slim { border-top: none; padding-top: 0; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border-soft); padding: 24px 0; }
.faq-item h3 { font-size: 17px; margin-bottom: 8px; }
.faq-item p { font-size: 14.5px; color: var(--text-dim); max-width: 760px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card, .product-card.featured { grid-column: span 2; }
  .value-grid { grid-template-columns: 1fr; }
  .about-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-specs { grid-template-columns: repeat(2, 1fr); }
  .hero-specs li:nth-child(2) { border-right: none; }
  .hero-specs li:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .card-list { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px var(--gutter) 20px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { display: block; padding: 11px 12px; font-size: 15px; }
  .main-nav a.nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 64px 0; }
}

@media (max-width: 560px) {
  .hero-specs { grid-template-columns: 1fr; }
  .hero-specs li { border-right: none; border-bottom: 1px solid var(--border); }
  .hero-specs li:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  html { scroll-behavior: auto; }
}
