/* ---- Reset / base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background: #0a0a0a;
  color: #e6e6e6;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #8ab4ff;
  text-decoration: none;
  transition: color 120ms ease;
}
a:hover {
  color: #b6cbff;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
h4 {
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
  color: #f4f4f5;
}

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 32px;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid #1a1a1a;
}
.nav-logo {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 600;
  color: #f4f4f5;
}
.nav-links {
  display: flex;
  gap: 22px;
}
.nav-links a {
  color: #a1a1aa;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:hover {
  color: #f4f4f5;
}

/* ---- Layout ---- */
main {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 88px 0 32px;
  border-top: 1px solid #161616;
}
.section:first-of-type {
  border-top: none;
}
.section-head {
  margin-bottom: 36px;
}
.section h2 {
  font-size: 28px;
  font-weight: 600;
}
.section-sub {
  color: #a1a1aa;
  margin: 4px 0 0;
  max-width: 56ch;
}

/* ---- Hero ---- */
.hero {
  padding: 84px 0 32px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: #a1a1aa;
  margin: 0 0 18px;
  padding: 6px 12px;
  border: 1px solid #1f1f1f;
  border-radius: 999px;
  background: #121212;
}
.dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 12px;
}
.hero-role {
  font-size: clamp(18px, 2.6vw, 22px);
  color: #d4d4d8;
  margin: 0 0 24px;
}
.muted {
  color: #71717a;
}
.hero-blurb {
  max-width: 60ch;
  color: #c4c4c8;
  font-size: 17px;
  margin: 0 0 28px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
  white-space: nowrap;
}
.btn-primary {
  background: #f4f4f5;
  color: #0a0a0a;
}
.btn-primary:hover {
  background: #ffffff;
  color: #0a0a0a;
}
.btn-ghost {
  background: transparent;
  border-color: #2a2a2a;
  color: #e6e6e6;
}
.btn-ghost:hover {
  border-color: #3f3f46;
  color: #f4f4f5;
}
.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
}
.hero-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  color: #a1a1aa;
  font-size: 14px;
}
.hero-meta strong {
  color: #f4f4f5;
  font-weight: 600;
  font-size: 18px;
  display: block;
}

/* ---- Product cards ---- */
.product {
  background: #0f0f0f;
  border: 1px solid #1f1f1f;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
  transition: border-color 160ms ease, transform 160ms ease;
}
.product:hover {
  border-color: #2a2a2a;
}
.product-head {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.product-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: #1a1a1a;
  object-fit: cover;
}
.icon-mono {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 32px;
  font-weight: 700;
  color: #f4f4f5;
  border: 1px solid #2a2a2a;
}
.product h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 4px;
}
.product-tag {
  margin: 0;
  color: #a1a1aa;
  font-size: 13px;
}
.badge {
  display: inline-block;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge-live {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.product-desc {
  color: #c4c4c8;
  margin: 0 0 16px;
}
.chiplist {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chiplist li {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  padding: 4px 10px;
  background: #161616;
  border: 1px solid #222;
  color: #c4c4c8;
  border-radius: 6px;
}
.screens {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.screens img {
  border-radius: 8px;
  border: 1px solid #1f1f1f;
  background: #161616;
  aspect-ratio: 526 / 296;
  object-fit: cover;
  width: 100%;
  height: auto;
}
.product-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.small {
  font-size: 12px;
}

/* ---- Stack grid ---- */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.stack-card {
  background: #0f0f0f;
  border: 1px solid #1f1f1f;
  border-radius: 10px;
  padding: 20px;
}
.stack-card h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8ab4ff;
  margin: 0 0 12px;
}
.stack-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stack-card li {
  color: #c4c4c8;
  font-size: 14px;
}

/* ---- About ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
}
.about-body p {
  color: #c4c4c8;
  margin: 0 0 14px;
}
.about-body strong {
  color: #f4f4f5;
  font-weight: 600;
}
.about-card {
  background: #0f0f0f;
  border: 1px solid #1f1f1f;
  border-radius: 10px;
  padding: 22px;
  font-size: 14px;
}
.about-card p {
  margin: 0 0 12px;
  color: #d4d4d8;
}
.about-card p:last-child {
  margin: 0;
}
.about-card-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #71717a !important;
  margin: 0 !important;
}

/* ---- Videos ---- */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.video-card {
  margin: 0;
  background: #0f0f0f;
  border: 1px solid #1f1f1f;
  border-radius: 10px;
  overflow: hidden;
}
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-card figcaption {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: #d4d4d8;
}

/* ---- Contact ---- */
.section-contact {
  padding-bottom: 80px;
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.contact-list li {
  background: #0f0f0f;
  border: 1px solid #1f1f1f;
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #71717a;
}

/* ---- Footer ---- */
.footer {
  border-top: 1px solid #161616;
  padding: 24px;
  text-align: center;
  color: #71717a;
  font-size: 13px;
}

/* ---- Responsive ---- */
@media (max-width: 720px) {
  .nav {
    padding: 12px 16px;
  }
  .nav-links {
    gap: 14px;
  }
  .nav-links a {
    font-size: 13px;
  }
  main {
    padding: 0 16px;
  }
  .section {
    padding: 64px 0 24px;
  }
  .hero {
    padding: 52px 0 16px;
  }
  .product {
    padding: 20px;
  }
  .product-head {
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
  }
  .product-icon {
    width: 56px;
    height: 56px;
  }
  .badge {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .screens {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nav-links {
    display: none;
  }
  .screens {
    grid-template-columns: 1fr;
  }
  .hero-meta {
    gap: 18px;
  }
}
