  :root{
    --bg:#0F1417;
    --bg-panel:#171E22;
    --panel-2:#1B2327;
    --steel:#232C31;
    --line:#2B3439;
    --text:#E9E6DE;
    --text-dim:#8FA0A6;
    --text-dimmer:#5E6C71;
    --amber:#F2A93B;
    --amber-dim:#7A5A22;
    --teal:#4FC3B8;
    --teal-dim:#1E4842;
    --red:#E2604C;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--bg);
    color:var(--text);
    font-family:'Inter', sans-serif;
    line-height:1.55;
    overflow-x:hidden;
  }
  ::selection{ background:var(--amber); color:#0F1417; }

  h1,h2,h3, .display{
    font-family:'Big Shoulders Display', sans-serif;
    text-transform:uppercase;
    letter-spacing:0.01em;
    font-weight:800;
    line-height:0.95;
  }
  .mono{
    font-family:'IBM Plex Mono', monospace;
  }
  .eyebrow{
    font-family:'IBM Plex Mono', monospace;
    font-size:12px;
    letter-spacing:0.18em;
    text-transform:uppercase;
    color:var(--teal);
    display:flex;
    align-items:center;
    gap:10px;
  }
  .eyebrow::before{
    content:"";
    width:7px; height:7px;
    background:var(--teal);
    border-radius:50%;
    box-shadow:0 0 8px var(--teal);
    flex-shrink:0;
  }
  a{ color:inherit; }
  .wrap{
    max-width:1180px;
    margin:0 auto;
    padding:0 32px;
  }
  @media (max-width:640px){ .wrap{ padding:0 20px; } }

  /* ---------- NAV ---------- */

  header{
    position:sticky; top:0; z-index:50;
    background:rgba(15,20,23,0.88);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);
  }
  nav{
	position: sticky;

  top: 0;
  z-index: 100; /* must be higher than .submenu's z-index: 50 */
  background: inherit; /* needed or content will scroll visibly under it */
	  
	  display:flex; 
	  align-items:center; 
	  justify-content:space-between;
    padding:18px 32px;
    max-width:1180px; 
	  margin:0 auto;
  }

  .navlinks{ 
	  display: flex; 
	  gap: 34px; 
	  font-size: 14px; 
	  font-weight:500; 
  	  align-items: center;
  }


.dropdown {
  position: relative;
}

.dropdown > a {
  display: inline-block;
}

.submenu {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  position: absolute;
  top: 100%;
  left: 0;

  /* hidden by default */
  display: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.15s ease, transform 0.15s ease;

  background: #1e0202;
  border: 1px solid #eee;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  min-width: 200px;
  z-index: 50;
}

/* show on hover, keep open while hovering the submenu itself */
.dropdown:hover .submenu,
.dropdown:focus-within .submenu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu li a {
  display: block;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}



  .logo{
    display:flex; align-items:center; gap:10px;
    font-family:'Big Shoulders Display', sans-serif;
    font-weight:800; font-size:20px; letter-spacing:0.02em;
    text-transform:uppercase;
  }
  .logo .mark{
    width:11px; height:22px;
    background:linear-gradient(180deg, var(--amber), var(--teal));
    border-radius:2px;
    flex-shrink:0;
  }
  .logo .sub{
    font-family:'IBM Plex Mono', monospace;
    font-size:10px; color:var(--text-dimmer); letter-spacing:0.14em;
    text-transform:uppercase; font-weight:400;
    display:block; margin-top:1px;
  }
  .navlinks a{
    color:var(--text-dim); text-decoration:none;
    transition:color .15s ease;
    padding:4px 0;
    border-bottom:1px solid transparent;
  }
  .navlinks a:hover{ color:var(--text); border-color:var(--teal); }
  .navcta{
    font-family:'IBM Plex Mono', monospace;
    font-size:12px; font-weight:600; letter-spacing:0.05em;
    background:var(--amber); color:#191307;
    padding:10px 18px; border-radius:2px;
    text-decoration:none; white-space:nowrap;
  }
  .navmobile{ display:none; }
  @media (max-width:860px){
    .navlinks{ display:none; }
  }


  /* ---------- HERO ---------- */
  .hero{
    padding:90px 0 0;
    position:relative;
  }
  .hero-grid{
    display:grid;
    grid-template-columns:1.15fr 0.85fr;
    gap:60px;
    align-items:center;
  }
  @media (max-width:900px){
    .hero-grid{ grid-template-columns:1fr; gap:40px; }
  }
  .hero h1{
    font-size:clamp(42px, 6.2vw, 78px);
    margin:18px 0 26px;
    color:var(--text);
  }
  .hero h1 em{
    font-style:normal;
    color:var(--teal);
  }
  .hero p.lede{
    font-size:17px;
    color:var(--text-dim);
    max-width:520px;
    margin-bottom:32px;
  }
  .hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:14px; }
  .btn-primary{
    background:var(--teal); color:#08201D;
    font-weight:600; font-size:14px;
    padding:14px 26px; border-radius:3px;
    text-decoration:none;
    border:1px solid var(--teal);
  }
  .btn-secondary{
    background:transparent; color:var(--text);
    font-weight:600; font-size:14px;
    padding:14px 26px; border-radius:3px;
    text-decoration:none;
    border:1px solid var(--line);
  }
  .btn-secondary:hover{ border-color:var(--text-dim); }

  /* ---------- Console / signature element ---------- */
  .console{
    background:var(--bg-panel);
    border:1px solid var(--line);
    border-radius:6px;
    overflow:hidden;
    box-shadow:0 30px 60px -30px rgba(0,0,0,0.6);
  }
  .console-bar{
    display:flex; align-items:center; justify-content:space-between;
    padding:11px 16px;
    border-bottom:1px solid var(--line);
    background:var(--panel-2);
  }
  .console-bar .dots{ display:flex; gap:6px; }
  .console-bar .dots span{ width:8px; height:8px; border-radius:50%; background:var(--line); }
  .console-title{
    font-family:'IBM Plex Mono', monospace;
    font-size:11px; letter-spacing:0.1em; color:var(--text-dimmer);
    text-transform:uppercase;
  }
  .console-live{
    font-family:'IBM Plex Mono', monospace;
    font-size:11px; color:var(--teal); display:flex; align-items:center; gap:6px;
  }
  .console-live .pulse{
    width:6px; height:6px; border-radius:50%; background:var(--teal);
    animation:pulse 1.6s infinite ease-in-out;
  }
  @keyframes pulse{
    0%,100%{ opacity:1; box-shadow:0 0 0 0 rgba(79,195,184,0.5); }
    50%{ opacity:0.5; box-shadow:0 0 0 6px rgba(79,195,184,0); }
  }
  .console-body{ padding:6px 0; }
  .feed-row{
    display:grid;
    grid-template-columns:78px 1fr 90px 70px;
    gap:14px;
    align-items:center;
    padding:12px 16px;
    border-bottom:1px solid var(--line);
    font-family:'IBM Plex Mono', monospace;
    font-size:12.5px;
  }
  .feed-row:last-child{ border-bottom:none; }
  .feed-row .asset{ color:var(--text); font-weight:600; }
  .feed-row .metric{ color:var(--text-dim); }
  .feed-row .metric b{ color:var(--text); font-weight:600; }
  .feed-row .val{ color:var(--amber); text-align:right; font-weight:600; }
  .feed-row .status{ display:flex; align-items:center; gap:6px; justify-content:flex-end; font-size:11px; }
  .feed-row .status.run{ color:var(--teal); }
  .feed-row .status.idle{ color:var(--text-dimmer); }
  .feed-row .status.warn{ color:var(--red); }
  .status i{ width:6px; height:6px; border-radius:50%; background:currentColor; display:inline-block; }
  .console-footer{
    padding:10px 16px;
    font-family:'IBM Plex Mono', monospace;
    font-size:10.5px;
    color:var(--text-dimmer);
    display:flex; justify-content:space-between;
    border-top:1px solid var(--line);
    background:var(--panel-2);
  }

  /* ---------- marquee ---------- */
  .marquee-wrap{
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    background:var(--bg-panel);
    overflow:hidden;
    margin-top:70px;
  }
  .marquee{
    display:flex;
    white-space:nowrap;
    animation:scroll 32s linear infinite;
    width:max-content;
  }
  .marquee span{
    font-family:'IBM Plex Mono', monospace;
    font-size:12px;
    color:var(--text-dimmer);
    padding:14px 32px;
    border-right:1px solid var(--line);
    letter-spacing:0.04em;
  }
  .marquee span b{ color:var(--teal); font-weight:600; }
  @keyframes scroll{
    from{ transform:translateX(0); }
    to{ transform:translateX(-50%); }
  }
  @media (prefers-reduced-motion: reduce){
    .marquee{ animation:none; }
    .console-live .pulse{ animation:none; }
  }

  /* ---------- SECTIONS shared ---------- */
  section{ padding:110px 0; }
  .section-head{ max-width:640px; margin-bottom:56px; }
  .section-head h2{
    font-size:clamp(32px,4vw,48px);
    margin-top:14px;
  }
  .section-head p{ color:var(--text-dim); font-size:16px; margin-top:16px; max-width:560px; }

  /* ---------- PRODUCT 01 : Platform ---------- */
  .product-block{
    display:grid;
    grid-template-columns:0.9fr 1.1fr;
    gap:64px;
    align-items:start;
  }
  @media (max-width:900px){ .product-block{ grid-template-columns:1fr; gap:40px; } }
  .product-num{
    font-family:'Big Shoulders Display', sans-serif;
    font-weight:900;
    font-size:15px;
    color:var(--text-dimmer);
    letter-spacing:0.05em;
  }
  .stack{
    display:flex; flex-direction:column;
    border:1px solid var(--line);
    border-radius:6px;
    overflow:hidden;
  }
  .stack-row{
    display:flex; gap:16px; align-items:flex-start;
    padding:20px 22px;
    border-bottom:1px solid var(--line);
    background:var(--bg-panel);
  }
  .stack-row:last-child{ border-bottom:none; }
  .stack-row:nth-child(even){ background:var(--panel-2); }
  .stack-tag{
    font-family:'IBM Plex Mono', monospace;
    font-size:10.5px; color:var(--teal);
    background:var(--teal-dim);
    padding:4px 8px; border-radius:3px;
    white-space:nowrap; height:fit-content;
    letter-spacing:0.05em;
  }
  .stack-row h4{
    font-family:'Inter'; font-weight:600; font-size:15px; margin-bottom:4px; text-transform:none;
  }
  .stack-row p{ color:var(--text-dim); font-size:13.5px; }

  /* Industry chips */
  .industries{
    display:flex; flex-wrap:wrap; gap:10px; margin-top:28px;
  }
  .chip{
    font-family:'IBM Plex Mono', monospace;
    font-size:12px; color:var(--text-bright);
    border:1px solid var(--line);
    padding:9px 16px; border-radius:20px;
  }

  /* ---------- PRODUCT 02: ERP ---------- */
  .erp-section{ background:var(--bg-panel); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
  .erp-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:1px;
    background:var(--line);
    border:1px solid var(--line);
    border-radius:6px;
    overflow:hidden;
    margin-top:20px;
  }
  @media (max-width:700px){ .erp-grid{ grid-template-columns:1fr; } }
  .erp-card{
    background:var(--bg);
    padding:28px 26px;
  }
  .erp-card .mono.tag{
    font-size:10.5px; color:var(--amber); letter-spacing:0.08em;
  }
  .erp-card h3{
    font-family:'Inter'; text-transform:none; font-weight:600; font-size:16.5px;
    margin:8px 0 8px;
  }
  .erp-card p{ font-size:13.5px; color:var(--text-dim); }

  .erp-highlight{
    margin-top:40px;
    border:1px solid var(--amber-dim);
    background:linear-gradient(180deg, rgba(242,169,59,0.06), rgba(242,169,59,0));
    border-radius:6px;
    padding:26px 28px;
    display:flex; gap:18px; align-items:flex-start;
  }
  .erp-highlight .dot{
    width:10px; height:10px; border-radius:50%; background:var(--amber);
    margin-top:6px; flex-shrink:0;
    box-shadow:0 0 10px rgba(242,169,59,0.6);
  }
  .erp-highlight h4{ font-family:'Inter'; text-transform:none; font-weight:600; font-size:15px; margin-bottom:6px; }
  .erp-highlight p{ font-size:14px; color:var(--text-dim); }

  /* ---------- MACHINE SKETCHES ---------- */
  .machine-sketch{
    width:100%;
    max-width:340px;
    margin:0 0 8px auto;
  }
  .machine-sketch svg{
    width:100%; height:auto; display:block;
  }
  .sketch-label{
    font-family:'IBM Plex Mono', monospace;
    font-size:10px; letter-spacing:0.14em; text-transform:uppercase;
    color:var(--text-dimmer);
    text-align:right;
    margin-top:8px;
  }
  .sketch-panel{
    border:1px solid var(--line);
    border-radius:6px;
    background:
      linear-gradient(var(--bg-panel), var(--bg-panel)) padding-box,
      repeating-linear-gradient(0deg, transparent 0 23px, var(--line) 23px 24px);
    background-color:var(--bg-panel);
    padding:22px 22px 6px;
  }
  .platform-visual{ margin-bottom:44px; }
  .erp-visual{ margin-bottom:36px; display:flex; justify-content:flex-end; }
  .erp-visual .sketch-panel{ max-width:300px; }
  .erp-highlight{ flex-wrap:wrap; }
  .erp-highlight .highlight-text{ flex:1; min-width:260px; }
  .erp-highlight .machine-sketch{ max-width:220px; margin:0; }

  /* ---------- FLOW ---------- */
  .flow{
    display:flex; align-items:stretch; gap:0; margin-top:10px;
    overflow-x:auto; padding-bottom:8px;
  }
  .flow-step{
    flex:1; min-width:160px;
    background:var(--bg-panel);
    border:1px solid var(--line);
    padding:20px;
    position:relative;
  }
  .flow-step + .flow-step{ border-left:none; }
  .flow-step .fnum{
    font-family:'IBM Plex Mono', monospace; font-size:10px; color:var(--text-dimmer);
  }
  .flow-step h4{
    font-family:'Inter'; text-transform:none; font-weight:600; font-size:14.5px;
    margin:8px 0 6px;
  }
  .flow-step p{ font-size:12.5px; color:var(--text-dim); }
  .flow-step::after{
    content:"→";
    position:absolute; right:-11px; top:50%; transform:translateY(-50%);
    color:var(--text-dimmer); font-size:14px; z-index:2;
    background:var(--bg); width:20px; text-align:center;
  }
  .flow-step:last-child::after{ content:none; }
  @media (max-width:750px){
    .flow{ flex-direction:column; }
    .flow-step + .flow-step{ border-left:1px solid var(--line); border-top:none; }
    .flow-step::after{ content:"↓"; right:50%; top:auto; bottom:-11px; transform:translateX(50%); }
  }

  /* ---------- CTA / FOOTER ---------- */
  .cta-band{
    text-align:center;
    padding:100px 0;
    border-top:1px solid var(--line);
  }
  .cta-band h2{ font-size:clamp(30px,5vw,52px); }
  .cta-band p{ color:var(--text-dim); max-width:480px; margin:16px auto 32px; font-size:16px; }
  .cta-row{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

  footer{
    border-top:1px solid var(--line);
    padding:40px 0;
  }
  .footer-grid{
    display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px;
  }
  .footer-grid .mono{ font-size:12px; color:var(--text-dimmer); }
  .foot-links{ display:flex; gap:22px; font-size:13px; }
  .foot-links a{ color:var(--text-dim); text-decoration:none; }
  .foot-links a:hover{ color:var(--text); }
