:root {
  --bg: #0e1116;
  --bg-alt: #151a22;
  --surface: #1c232e;
  --border: #2a3342;
  --text: #e8ecf2;
  --text-dim: #9aa5b5;
  --accent: #f5b800;
  --accent-dark: #d9a300;
  --ink: #10141a;
  --radius: 14px;
  --maxw: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 700; }

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 17, 22, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}
.brand {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: #ffc71f; }
.btn-ghost { border: 1px solid var(--border); color: var(--text); background: rgba(255,255,255,0.03); }
.btn-ghost:hover { border-color: var(--text-dim); }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/assets/hero.jpg') center 30% / cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 13, 18, 0.96) 30%, rgba(10, 13, 18, 0.55) 70%, rgba(10, 13, 18, 0.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 110px 24px 90px;
  max-width: var(--maxw);
}
.hero h1 { max-width: 640px; margin-bottom: 22px; }
.hero .lead {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero .lead strong { color: var(--accent); font-weight: 700; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  list-style: none;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.14);
  max-width: 640px;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.5rem; font-weight: 800; color: var(--accent); }
.hero-stats span { font-size: 0.82rem; color: var(--text-dim); }

/* ---------- Value strip ---------- */
.value-strip { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 64px 24px;
}
.value-card { position: relative; }
.value-num {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.value-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.value-card p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-dark { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-sub { color: var(--text-dim); margin-top: 14px; }

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-media img {
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
}
.split-body h2 { margin-bottom: 16px; }
.split-body > p { color: var(--text-dim); margin-bottom: 20px; }

.feature-row { display: flex; gap: 18px; margin-bottom: 26px; }
.feature-icon {
  flex: 0 0 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 1.2rem;
}
.feature-row h3 { margin-bottom: 6px; }
.feature-row p { color: var(--text-dim); font-size: 0.94rem; }

/* ---------- IO strip ---------- */
.io-strip { margin-top: 72px; }
.io-strip h3 { font-size: 1.35rem; margin-bottom: 24px; }
.io-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.io-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.io-item strong { color: var(--accent); font-size: 1rem; }
.io-item span { color: var(--text-dim); font-size: 0.82rem; }

/* ---------- Applications ---------- */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.app-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.app-card h3 { margin-bottom: 10px; }
.app-card p { color: var(--text-dim); font-size: 0.93rem; }

/* ---------- Specs ---------- */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.spec-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.spec-block h3 {
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 16px;
}
.spec-block table { width: 100%; border-collapse: collapse; }
.spec-block th, .spec-block td {
  text-align: left;
  padding: 8px 0;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.spec-block tr:last-child th, .spec-block tr:last-child td { border-bottom: 0; }
.spec-block th { color: var(--text-dim); font-weight: 500; width: 34%; padding-right: 14px; }

.dim-figure { margin-top: 48px; text-align: center; }
.dim-figure img {
  border-radius: var(--radius);
  background: #fff;
  padding: 24px;
  margin: 0 auto;
  max-width: 860px;
  width: 100%;
}
.dim-figure figcaption { color: var(--text-dim); font-size: 0.88rem; margin-top: 14px; }

/* ---------- Lists ---------- */
.mini-head { margin: 26px 0 14px; font-size: 1.05rem; }
.mini-head:first-child { margin-top: 0; }
.check-list { list-style: none; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- Mounting ---------- */
.mount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.mount-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.mount-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  background: var(--accent);
  border-radius: 6px;
  padding: 3px 10px;
  margin-bottom: 14px;
}
.mount-card h3 { margin-bottom: 8px; font-size: 1.02rem; }
.mount-card p { color: var(--text-dim); font-size: 0.88rem; }

/* ---------- CTA ---------- */
.cta-section {
  background: linear-gradient(180deg, var(--bg) 0%, #171208 100%);
  text-align: center;
}
.cta-inner { max-width: 660px; }
.cta-inner h2 { margin-bottom: 16px; }
.cta-inner p { color: var(--text-dim); margin-bottom: 32px; }
.cta-inner .hero-ctas { justify-content: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 56px 0 32px; background: var(--bg-alt); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.footer-inner p { color: var(--text-dim); font-size: 0.88rem; margin-top: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--text); }
.footer-note { border-top: 1px solid var(--border); padding-top: 24px; }
.footer-note p { color: #5f6b7d; font-size: 0.8rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .io-grid { grid-template-columns: repeat(2, 1fr); }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .mount-grid { grid-template-columns: repeat(2, 1fr); }
  .specs-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; gap: 36px; padding: 48px 24px; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero-content { padding: 80px 24px 64px; }
  .hero-stats { gap: 24px; }
  .app-grid, .mount-grid, .io-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 18px 24px;
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-inner .btn { display: none; }
  .nav-inner { gap: 12px; }
}
