@font-face {
  font-family: 'BG';
  src: url('fonts/BricolageGrotesque-VariableFont_opsz_wdth_wght.woff2') format('woff2-variations');
  font-weight: 200 800; font-style: normal; font-display: swap;
}

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

:root {
  --black: #050505;
  --bg:    #0a0a0a;
  --bg2:   #101010;
  --bg3:   #161616;
  --surf:  #1e1e1e;
  --bord:  rgba(255,255,255,.07);
  --bord2: rgba(255,255,255,.12);
  --fg:    #f5f5f5;
  --fg2:   #b0b0b0;
  --fg3:   #707070;
  --fg4:   #3a3a3a;
  --accent: #e8e8e8;
  --purple: #2547f5;
  --purpleh: #3d5cff;
  --fd: 'BG', system-ui, sans-serif;
  --fb: 'BG', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--fg);
  font-family: var(--fb);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
em { font-style: normal; }

/* ── NAV ──────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 99;
  height: 56px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 40px;
  background: rgba(8,8,7,.72);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--bord);
}
.nav-logo { display: flex; align-items: center; gap: 9px; }
.logo-mark {
  width: 28px; height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
}
.logo-wordmark { font-family: var(--fd); font-weight: 600; font-size: 15px; letter-spacing: -.2px; color: var(--fg); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--fg3); transition: color .15s; letter-spacing: .01em; }
.nav-links a:hover { color: var(--fg); }
.nav-cta {
  background: var(--purple) !important; color: #fff !important;
  padding: 7px 18px; border-radius: 999px;
  font-weight: 600 !important; font-size: 13px !important;
  transition: background .15s !important;
}
.nav-cta:hover { background: var(--purpleh) !important; }

/* ── HERO ─────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 56px 40px 80px;
  position: relative; overflow: hidden;
  background: #000;
}
#hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 40% at 50% 60%, rgba(0,0,0,.72) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
  z-index: 1;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, black 30%, transparent 100%);
}
.hero-contour { position: absolute; inset: 0; pointer-events: none; }
.hero-contour svg { width: 100%; height: 100%; }
.hero-ripple {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
}
.hero-r {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1400px; height: 800px;
  max-width: 110vw;
  max-height: 95vh;
  object-fit: contain;
  opacity: .85;
  pointer-events: none;
  animation: hero-r-float 14s ease-in-out infinite;
  z-index: 1;
}
@keyframes hero-r-float {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(-50%, -50%) scale(1.015); }
}

.hero-inner {
  position: relative; z-index: 2;
  display: block;
  max-width: 920px;
  text-align: center;
  margin: 0 auto;
}
.hero-actions { justify-content: center; }
.hero-sub { margin-left: auto; margin-right: auto; }
h1.hero-title {
  font-family: var(--fd);
  font-weight: 700;
  font-size: clamp(56px, 7vw, 88px);
  line-height: .95;
  letter-spacing: -3.2px;
  color: var(--fg);
  text-wrap: balance;
  margin-bottom: 28px;
}
h1.hero-title em { color: var(--fg2); }

.hero-sub {
  font-size: 18px; line-height: 1.6; color: var(--fg2);
  max-width: 680px;
  font-weight: 400;
  margin-bottom: 32px;
}
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 80px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--purple); color: #fff;
  padding: 12px 26px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  transition: background .15s, box-shadow .15s;
  letter-spacing: -.01em;
  box-shadow: 0 0 24px rgba(37,71,245,.3);
}
.btn-primary:hover { background: var(--purpleh); box-shadow: 0 0 36px rgba(37,71,245,.5); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--fg2);
  padding: 12px 26px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  border: 1px solid var(--bord2);
  transition: border-color .15s, color .15s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,.3); color: var(--fg); }

.hero-ticker {
  display: flex; align-items: center; gap: 0;
  padding-top: 40px;
  border-top: 1px solid var(--bord);
  overflow: hidden;
  position: relative; z-index: 2;
}
.ticker-item {
  display: flex; align-items: baseline; gap: 10px;
  padding: 0 48px 0 0;
  flex-shrink: 0;
}
.ticker-n {
  font-family: var(--fd); font-weight: 800;
  font-size: clamp(28px,3vw,40px); letter-spacing: -1.5px; line-height: 1;
  color: var(--fg);
}
.ticker-l { font-size: 13px; color: var(--fg3); font-weight: 500; }
.ticker-sep { width: 1px; height: 36px; background: var(--bord2); margin-right: 48px; flex-shrink: 0; }

/* ── MAX WIDTH WRAPPER ───────────────────────────────── */
.site-wrap {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

/* ── SECTION SHARED ───────────────────────────────────── */
.eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--fg2);
  display: flex; align-items: center; gap: 10px; margin-bottom: 0;
}
.eyebrow::before {
  content: ''; display: block;
  width: 24px; height: 1px; background: var(--fg2);
}

/* ── MISSION ──────────────────────────────────────────── */
#mission {
  padding: 0;
  border-top: 1px solid var(--bord);
  border-bottom: 1px solid var(--bord);
  background: var(--bg);
}
.mission-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
}
.mission-left {
  padding: 64px 40px;
  border-right: 1px solid var(--bord);
  display: flex; flex-direction: column; gap: 48px;
}
.mission-right {
  padding: 64px 64px 64px 72px;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 56px;
}
.mission-headline {
  font-family: var(--fd);
  font-weight: 700;
  font-size: clamp(38px, 4.5vw, 64px);
  letter-spacing: -2.5px;
  line-height: 1.02;
  color: var(--fg);
  text-wrap: balance;
}
.mission-headline em { color: var(--fg2); }
.mission-body {
  font-size: 17px; line-height: 1.75; color: var(--fg2);
  max-width: 600px;
}
.pillars {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid var(--bord);
}
.pillar {
  padding: 28px 0 28px 0;
  border-bottom: 1px solid var(--bord);
}
.pillar:nth-child(odd) { padding-right: 40px; border-right: 1px solid var(--bord); }
.pillar:nth-child(even) { padding-left: 40px; }
.pillar-num {
  font-size: 10px; font-weight: 700; letter-spacing: .16em;
  color: var(--fg4); text-transform: uppercase; margin-bottom: 14px;
}
.pillar h4 {
  font-family: var(--fd); font-size: 16px; font-weight: 600;
  color: var(--fg); margin-bottom: 7px; letter-spacing: -.3px;
}
.pillar p { font-size: 13px; line-height: 1.65; color: var(--fg3); }

/* ── PRODUCTS ─────────────────────────────────────────── */
#products {
  padding: 100px 40px;
  background: var(--black);
}
.products-header {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--bord);
  gap: 40px;
}
.products-title {
  font-family: var(--fd); font-weight: 800;
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -3px; line-height: .97;
  color: var(--fg);
}
.products-title em { color: var(--fg2); }
.products-sub {
  font-size: 16px; line-height: 1.65; color: var(--fg2);
  max-width: 380px; padding-bottom: 4px;
}

/* Main product - full width strip */
.pcard-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg2);
  margin-bottom: 16px;
  transition: background .2s;
}
.pcard-main:hover { background: var(--bg3); }
.pcard-main-media {
  aspect-ratio: unset;
  min-height: 380px;
  background: var(--bg2);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.pm-noise {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,.015) 2px, rgba(255,255,255,.015) 3px),
    repeating-linear-gradient(90deg, transparent, transparent 3px, rgba(255,255,255,.01) 3px, rgba(255,255,255,.01) 4px);
  z-index: 1;
}
.pm-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(255,255,255,.04) 0%, transparent 70%);
  z-index: 2;
}
.pm-logo {
  position: relative; z-index: 3;
  font-family: var(--fd); font-weight: 800;
  font-size: 72px; letter-spacing: -4px;
  color: rgba(255,255,255,.12);
  user-select: none;
}
.pcard-main-body {
  padding: 48px 52px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.chip-live {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  background: rgba(255,255,255,.07); color: var(--fg2);
  border: 1px solid var(--bord2);
  width: fit-content; margin-bottom: 24px;
}
.chip-dot { width: 5px; height: 5px; border-radius: 50%; background: #78d97a; animation: blink 2.5s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.pname {
  font-family: var(--fd); font-weight: 800;
  font-size: clamp(40px, 4vw, 56px);
  letter-spacing: -2.5px; line-height: 1; color: var(--fg);
  margin-bottom: 16px;
}
.pname span { color: var(--fg3); }
.pdesc {
  font-size: 16px; line-height: 1.7; color: var(--fg2);
  max-width: 440px; margin-bottom: 40px;
}
.pcard-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--fg);
  transition: gap .15s;
}
.pcard-link:hover { gap: 13px; }

/* Coming soon card */
.pcard-soon {
  border: 1px dashed var(--bord2);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 36px 48px;
  gap: 32px;
}
.soon-left { display: flex; flex-direction: column; gap: 8px; }
.soon-label {
  font-size: 10px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--fg4);
}
.soon-title {
  font-family: var(--fd); font-weight: 700;
  font-size: 24px; letter-spacing: -.6px; color: var(--fg2);
}
.soon-desc { font-size: 14px; color: var(--fg3); line-height: 1.5; max-width: 380px; }
.soon-dots { display: flex; gap: 8px; }
.soon-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--bord2);
}

/* ── TECH ─────────────────────────────────────────────── */
#tech {
  padding: 0;
  border-top: 1px solid var(--bord);
  background: var(--bg);
}
.tech-banner {
  padding: 80px 40px 72px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: end;
  border-bottom: 1px solid var(--bord);
}
.tech-headline {
  font-family: var(--fd); font-weight: 800;
  font-size: clamp(44px, 5.5vw, 80px);
  letter-spacing: -3px; line-height: .96;
  color: var(--fg);
}
.tech-headline em { color: var(--fg2); }
.tech-sub {
  font-size: 17px; line-height: 1.7; color: var(--fg2);
  max-width: 480px; align-self: end;
}
.tech-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--bord);
}
.tech-cell {
  border-right: 1px solid var(--bord);
  display: flex; flex-direction: column;
}
.tech-cell:last-child { border-right: none; }
.tech-cell-img {
  aspect-ratio: 4/3;
  background: var(--bg3);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--bord);
}
.tc-label {
  font-family: var(--fd); font-weight: 700;
  font-size: 13px; letter-spacing: -0px; color: rgba(255,255,255,.18);
  position: absolute; bottom: 16px; left: 20px; z-index: 2;
}
.tc-stripe {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    135deg,
    transparent, transparent 18px,
    rgba(255,255,255,.018) 18px, rgba(255,255,255,.018) 19px
  );
}
.tc-dim { opacity: .45; }
.tech-cell-body { padding: 28px 28px 36px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.feat-num {
  font-size: 10px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--fg2);
}
.feat-title {
  font-family: var(--fd); font-size: 21px; font-weight: 700;
  letter-spacing: -.6px; color: var(--fg); line-height: 1.15;
}
.feat-badge {
  display: inline-block; font-size: 10px; font-weight: 600;
  padding: 2px 9px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid var(--bord2);
  color: var(--fg3); vertical-align: middle; margin-left: 7px;
  letter-spacing: .04em; text-transform: uppercase;
}
.feat-desc { font-size: 14px; line-height: 1.65; color: var(--fg3); margin-top: 4px; }

/* ── CONTACT ──────────────────────────────────────────── */
#contact {
  padding: 100px 40px;
  background: var(--black);
  border-top: 1px solid var(--bord);
}
.contact-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 100px; align-items: start;
}
.contact-big {
  font-family: var(--fd); font-weight: 800;
  font-size: clamp(52px, 6vw, 88px);
  letter-spacing: -4px; line-height: .95;
  color: var(--fg);
}
.contact-big em { color: var(--fg2); }
.contact-right {
  display: flex; flex-direction: column; gap: 0;
  padding-top: 8px;
}
.contact-link {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid var(--bord);
  color: var(--fg2); font-size: 15px; font-weight: 500;
  transition: color .15s;
}
.contact-link:first-child { border-top: 1px solid var(--bord); }
.contact-link:hover { color: var(--fg); }
.contact-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border: 1px solid var(--bord2); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg3);
}
.contact-icon svg { width: 17px; height: 17px; stroke: var(--fg3); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ── FOOTER ───────────────────────────────────────────── */
footer {
  padding: 28px 40px;
  border-top: 1px solid var(--bord);
  background: var(--bg);
  display: flex; align-items: center; justify-content: space-between;
}
.footer-logo { display: flex; align-items: center; gap: 8px; }
.logo-mark-sm {
  width: 24px; height: 24px; border-radius: 5px;
  flex-shrink: 0;
}
.footer-wordmark { font-family: var(--fd); font-weight: 700; font-size: 13px; color: var(--fg2); }
.footer-copy { font-size: 11px; color: var(--fg4); margin-top: 3px; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 12px; color: var(--fg4); transition: color .15s; }
.footer-links a:hover { color: var(--fg3); }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { padding-bottom: 0; }
  .mission-layout { grid-template-columns: 1fr; }
  .mission-left { border-right: none; border-bottom: 1px solid var(--bord); padding: 48px 24px; }
  .mission-right { padding: 48px 24px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar:nth-child(odd) { border-right: none; padding-right: 0; }
  .pillar:nth-child(even) { padding-left: 0; }
  #products { padding: 80px 24px; }
  .products-header { flex-direction: column; align-items: flex-start; }
  .pcard-main { grid-template-columns: 1fr; }
  .pcard-main-media { min-height: 240px; }
  .tech-banner { grid-template-columns: 1fr; padding: 60px 24px 48px; }
  .tech-row { grid-template-columns: 1fr; }
  .tech-cell { border-right: none; border-bottom: 1px solid var(--bord); }
  .contact-layout { grid-template-columns: 1fr; gap: 56px; }
  #contact { padding: 80px 24px; }
  nav { padding: 0 24px; }
  #hero { padding: 0 24px 60px; }
  footer { flex-direction: column; gap: 20px; align-items: flex-start; padding: 28px 24px; }
  .pcard-soon { flex-direction: column; padding: 32px 28px; }
}

@media (max-width: 640px) {
  nav, #hero, #products, #contact { padding-left: 14px; padding-right: 14px; }
  .logo-wordmark { display: none; }
  .nav-logo { gap: 0; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 12px; }
  .nav-cta { padding: 7px 12px !important; font-size: 11px !important; white-space: nowrap; }
  .nav-links a { white-space: nowrap; }

  h1.hero-title { font-size: clamp(40px, 11vw, 56px); letter-spacing: -1.5px; margin-bottom: 24px; }
  .hero-sub { font-size: 16px; margin-bottom: 28px; }
  .hero-actions { margin-bottom: 56px; }

  .mission-left, .mission-right { padding: 36px 18px; }
  .tech-banner { padding: 44px 18px 36px; }

  .footer-links { flex-wrap: wrap; gap: 10px 18px; }
}
