/* ============================================================
   SIGVIX — Applied Intelligence
   site.css · consolidated stylesheet
   Loaded by index.html and (in future) every other site page.

   This file replaces two inline <style> blocks that previously
   lived inside index.html. Section A is the main site stylesheet
   (typography, layout, components, modals). Section B is the
   demo-popup styling (Guardian card DEMO button, demo popup modal,
   launch button injected into the Guardian product modal).
   ============================================================ */

/* ============================================================
   SECTION A — Main site stylesheet
   ============================================================ */
/* ============================================
   SIGVIX — Applied Intelligence
   Refined defense-industry editorial.
   Military green on warm paper. Light theme.
   ============================================ */

:root{
  /* Paper / surfaces */
  --paper:        #faf9f3;
  --paper-2:      #f3efe2;
  --paper-3:      #ece6d2;
  --paper-4:      #e2dcc4;

  /* Ink / text */
  --ink:          #1a1f12;
  --ink-2:        #2a3220;
  --ink-3:        #545b46;
  --ink-4:        #7a8170;

  /* Greens */
  --moss:         #2a3a18;
  --olive:        #475a26;
  --field:        #6b8240;
  --sage:         #9aae6f;
  --sage-2:       #b6c599;

  /* Warm accents */
  --khaki:        #b8a06a;
  --khaki-2:      #cdb888;
  --rust:         #8b4a1f;
  --signal:       #6b8240;

  /* Lines & dividers */
  --line:         #d4cfb6;
  --line-2:       #e2ddc4;
  --line-3:       #ede8d3;

  /* Logo navy (matches the wordmark) */
  --navy:         #0d1b3a;

  /* Type */
  --f-display: "Bebas Neue", Impact, sans-serif;
  --f-serif:   "Fraunces", Georgia, serif;
  --f-body:    "IBM Plex Sans", -apple-system, sans-serif;
  --f-mono:    "IBM Plex Mono", "SF Mono", monospace;
  --f-mark:    "Rajdhani", sans-serif;

  /* Layout */
  --max-w: 1320px;
  --gutter: clamp(20px, 4vw, 64px);
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:var(--f-body);
  background:var(--paper);
  color:var(--ink);
  font-size:16px;
  line-height:1.6;
  font-weight:400;
  letter-spacing:-0.005em;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}

/* Topographic background — subtle map-like pattern */
body::before{
  content:"";
  position:fixed; inset:0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(71,90,38,0.04) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(184,160,106,0.04) 0%, transparent 40%);
  pointer-events:none;
  z-index:0;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}

/* Container */
.wrap{
  max-width:var(--max-w);
  margin:0 auto;
  padding:0 var(--gutter);
  position:relative;
  z-index:1;
}

/* ============== Typography classes ============== */
.eyebrow{
  font-family:var(--f-mono);
  font-size:11px;
  font-weight:500;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--olive);
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{
  content:"";
  width:24px; height:1px;
  background:var(--olive);
}
.eyebrow.center{justify-content:center}

.section-label{
  font-family:var(--f-mono);
  font-size:11px;
  font-weight:500;
  letter-spacing:0.2em;
  text-transform:uppercase;
  color:var(--ink-3);
  padding-bottom:18px;
  border-bottom:1px solid var(--line);
  margin-bottom:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.section-label .num{color:var(--olive);font-weight:600}

h1,h2,h3,h4{
  font-family:var(--f-display);
  letter-spacing:0.005em;
  font-weight:400;
  color:var(--moss);
  line-height:0.95;
  margin:0;
}
h1{font-size:clamp(48px, 9vw, 124px); line-height:0.92}
h2{font-size:clamp(36px, 6vw, 76px)}
h3{font-size:clamp(28px, 4vw, 52px)}
h4{font-size:clamp(22px, 2.5vw, 32px)}

.serif{font-family:var(--f-serif);font-style:italic;font-weight:400}
.lede{
  font-size:clamp(18px,2vw,22px);
  line-height:1.55;
  color:var(--ink-2);
  font-weight:400;
}
.muted{color:var(--ink-3)}

/* ============== Header / Nav ============== */
.header{
  position:sticky; top:0; z-index:100;
  background:rgba(250,249,243,0.92);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line-2);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:78px;
  gap:24px;
}
.nav-logo{
  display:flex; align-items:center;
  height:42px;
}
.nav-logo img{ height:42px; width:auto }
.nav-links{
  display:flex;
  align-items:center;
  gap:34px;
  font-family:var(--f-mono);
  font-size:12px;
  font-weight:500;
  letter-spacing:0.08em;
  text-transform:uppercase;
}
.nav-links a{
  color:var(--ink-2);
  position:relative;
  padding:6px 0;
  transition:color .2s;
}
.nav-links a:hover{color:var(--olive)}
.nav-links a::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width:0; height:1px;
  background:var(--olive);
  transition:width .25s ease;
}
.nav-links a:hover::after{width:100%}

.nav-actions{display:flex; gap:14px; align-items:center}
.lang-toggle{
  display:flex;
  border:1px solid var(--line);
  border-radius:2px;
  overflow:hidden;
  font-family:var(--f-mono);
  font-size:11px;
  font-weight:600;
  letter-spacing:0.1em;
}
.lang-toggle button{
  padding:7px 12px;
  color:var(--ink-3);
  background:transparent;
  transition:all .2s;
}
.lang-toggle button.active{
  background:var(--moss);
  color:var(--paper);
}
.btn{
  display:inline-flex;
  align-items:center; gap:10px;
  padding:13px 22px;
  font-family:var(--f-mono);
  font-size:12px;
  font-weight:600;
  letter-spacing:0.1em;
  text-transform:uppercase;
  border:1px solid var(--moss);
  background:var(--moss);
  color:var(--paper);
  border-radius:2px;
  transition:all .25s ease;
  cursor:pointer;
}
.btn:hover{ background:var(--olive); border-color:var(--olive); transform:translateY(-1px); }
.btn-ghost{
  background:transparent;
  color:var(--moss);
}
.btn-ghost:hover{
  background:var(--moss); color:var(--paper);
}
.btn .arrow{ transition:transform .25s }
.btn:hover .arrow{ transform:translateX(3px) }

.menu-toggle{display:none; padding:6px}

/* ============== HERO ============== */
.hero{
  position:relative;
  padding:90px 0 110px;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 79px, rgba(71,90,38,0.05) 79px, rgba(71,90,38,0.05) 80px),
    repeating-linear-gradient(90deg, transparent 0, transparent 79px, rgba(71,90,38,0.05) 79px, rgba(71,90,38,0.05) 80px);
  pointer-events:none;
  mask-image:radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image:radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns: 1fr;
  gap:48px;
  align-items:end;
}
.hero-tag{
  display:flex; align-items:center; gap:14px;
  margin-bottom:36px;
}
.hero-tag .dot{
  width:8px; height:8px; border-radius:50%;
  background:var(--field);
  box-shadow:0 0 0 4px rgba(107,130,64,0.15);
  animation:pulse 2.5s infinite;
}
@keyframes pulse{
  0%,100%{box-shadow:0 0 0 4px rgba(107,130,64,0.15)}
  50%{box-shadow:0 0 0 10px rgba(107,130,64,0)}
}
.hero-tag .badge{
  font-family:var(--f-mono);
  font-size:11px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--olive);
  font-weight:500;
}
.hero h1{
  font-size:clamp(64px, 13vw, 200px);
  letter-spacing:-0.01em;
  margin-bottom:24px;
}
.hero h1 .accent{
  font-family:var(--f-serif);
  font-style:italic;
  font-weight:400;
  color:var(--olive);
  font-size:0.86em;
  letter-spacing:-0.01em;
}
.hero-sub{
  font-size:clamp(20px, 2.4vw, 28px);
  font-family:var(--f-serif);
  font-weight:400;
  color:var(--ink-2);
  max-width:780px;
  line-height:1.4;
  margin-bottom:18px;
}
.hero-desc{
  font-size:17px;
  color:var(--ink-3);
  max-width:660px;
  line-height:1.65;
  margin-bottom:40px;
}
.hero-actions{
  display:flex; gap:14px; flex-wrap:wrap;
  margin-bottom:64px;
}

.hero-stats{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:0;
  border-top:1px solid var(--line);
  padding-top:36px;
}
.hero-stat{
  padding-right:24px;
  border-right:1px solid var(--line-2);
}
.hero-stat:last-child{border-right:none}
.hero-stat .num{
  font-family:var(--f-display);
  font-size:clamp(36px,4vw,52px);
  color:var(--moss);
  line-height:1;
  letter-spacing:0.005em;
  display:block;
  margin-bottom:8px;
}
.hero-stat .lbl{
  font-family:var(--f-mono);
  font-size:10px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--ink-3);
  line-height:1.4;
}

/* ============== HERO VIDEO BACKGROUND ============== */
/* Video occupies the right portion of the hero, fading to transparent on
   its left edge (so the headline + paragraph stay readable on cream) and
   on its bottom edge (so the buttons + stats below remain unobstructed). */
.hero{ position:relative; }     /* already has this; explicit for clarity */
.hero-video-bg{
  position:absolute;
  top:0;
  right:0;
  width:62%;
  height:72%;
  z-index:0;
  pointer-events:none;
  overflow:hidden;
  /* Two-axis fade: transparent on left & bottom edges. mask-composite has
     gaps in old browsers — when unsupported, only the FIRST mask applies
     (left fade), which is the more important of the two. Acceptable fallback. */
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%, transparent 8%,  black 55%),
    linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to right,  transparent 0%, transparent 8%,  black 55%),
    linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
          mask-composite: intersect;
}
.hero-video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  opacity:0;
  transition:opacity .8s ease;
  filter:saturate(0.88) contrast(1.02);  /* gentle editorial grade */
}
.hero-video.loaded{ opacity:1; }
.hero .wrap{ position:relative; z-index:1; }   /* keep text above video */

/* On narrower viewports, the side-by-side desktop layout doesn't fit. The
   video moves to a top banner with a bottom fade — same atmospheric idea
   rotated 90° for portrait. A separate, smaller mobile-optimized source
   (~350 KB vs 3.7 MB) is loaded via <source media>, so cellular users
   aren't punished. */
@media (max-width: 900px){
  .hero{
    padding-top:0;                /* video sits flush at the top */
  }
  .hero-video-bg{
    position:relative;            /* in-flow, pushes content down naturally */
    top:auto;
    right:auto;
    width:100%;
    height:36vh;
    margin-bottom:28px;
    /* Bottom fade instead of left fade — same gradient idea, rotated */
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 62%, transparent 100%);
            mask-image: linear-gradient(to bottom, black 0%, black 62%, transparent 100%);
  }
}
/* Respect users who've asked the OS to limit motion */
@media (prefers-reduced-motion: reduce){
  .hero-video-bg{ display:none; }
}

/* ============== Section ============== */
section{
  padding:100px 0;
  position:relative;
  z-index:1;
}
section.alt{ background:var(--paper-2) }
section.dark{
  background:var(--moss);
  color:var(--paper);
}
section.dark h2,section.dark h3,section.dark h4{color:var(--paper)}
section.dark .eyebrow{color:var(--khaki-2)}
section.dark .eyebrow::before{background:var(--khaki-2)}
section.dark .muted{color:var(--sage-2)}
section.dark .section-label{ color:var(--sage-2); border-color:rgba(255,255,255,0.15)}
section.dark .section-label .num{color:var(--khaki)}
section.dark .section-head .right,section.dark .section-head .right p{color:#e8e4d0}

.section-head{
  display:grid;
  grid-template-columns:1fr 2fr;
  gap:48px;
  margin-bottom:72px;
  align-items:end;
}
.section-head .left .eyebrow{margin-bottom:18px}
.section-head .right{
  font-size:18px;
  color:var(--ink-3);
  line-height:1.6;
  max-width:680px;
}

/* ============== STACK / Architecture ============== */
.stack{
  display:flex;
  flex-direction:column;
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
  border-radius:3px;
  overflow:hidden;
}
.stack-row{
  display:grid;
  grid-template-columns: 80px 240px 1fr 200px;
  gap:32px;
  padding:32px 36px;
  background:var(--paper);
  align-items:center;
  transition:background .25s;
  position:relative;
}
.stack-row:hover{ background:var(--paper-2) }
.stack-row .idx{
  font-family:var(--f-mono);
  font-size:12px;
  letter-spacing:0.15em;
  color:var(--khaki);
  font-weight:600;
}
.stack-row .name{
  font-family:var(--f-display);
  font-size:32px;
  color:var(--moss);
  line-height:1;
  letter-spacing:0.01em;
}
.stack-row .desc{
  font-size:15px;
  color:var(--ink-3);
  line-height:1.55;
}
.stack-row .tag{
  font-family:var(--f-mono);
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:0.16em;
  color:var(--olive);
  text-align:right;
}

/* ============== PRODUCTS ============== */
.products-intro{
  max-width:780px;
  margin-bottom:64px;
}
.product-cat{
  margin-bottom:88px;
}
.product-cat:last-child{margin-bottom:0}
.cat-head{
  display:flex;
  align-items:baseline;
  gap:24px;
  margin-bottom:36px;
  padding-bottom:18px;
  border-bottom:1px solid var(--line);
}
.cat-num{
  font-family:var(--f-mono);
  font-size:13px;
  letter-spacing:0.2em;
  color:var(--khaki);
  font-weight:600;
}
.cat-title{
  font-family:var(--f-display);
  font-size:36px;
  color:var(--moss);
  line-height:1;
}
.cat-sub{
  margin-left:auto;
  font-family:var(--f-mono);
  font-size:11px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--ink-3);
}

.product-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1px;
  background:var(--line-2);
  border:1px solid var(--line-2);
}
.product-card{
  background:var(--paper);
  padding:32px 30px 28px;
  display:flex; flex-direction:column;
  transition:background .25s, transform .25s;
  cursor:pointer;
  position:relative;
  min-height:340px;
}
.product-card:hover{
  background:var(--paper-2);
}
.product-card::after{
  content:"";
  position:absolute; inset:0;
  border:1px solid transparent;
  pointer-events:none;
  transition:border-color .25s;
}
.product-card:hover::after{
  border-color:var(--olive);
}
.pc-head{
  display:flex; justify-content:space-between; align-items:flex-start;
  margin-bottom:24px;
}
.pc-sku{
  font-family:var(--f-mono);
  font-size:10px;
  letter-spacing:0.18em;
  color:var(--olive);
  font-weight:600;
}
.pc-arrow{
  width:28px; height:28px;
  border:1px solid var(--line);
  border-radius:2px;
  display:flex; align-items:center; justify-content:center;
  color:var(--ink-3);
  transition:all .25s;
}
.product-card:hover .pc-arrow{
  background:var(--moss);
  border-color:var(--moss);
  color:var(--paper);
}
.pc-name{
  font-family:var(--f-display);
  font-size:30px;
  color:var(--moss);
  line-height:1;
  margin-bottom:8px;
  letter-spacing:0.01em;
}
.pc-tagline{
  font-family:var(--f-serif);
  font-style:italic;
  font-size:15px;
  color:var(--olive);
  margin-bottom:20px;
}
.pc-desc{
  font-size:14px;
  color:var(--ink-3);
  line-height:1.6;
  margin-bottom:auto;
}
.pc-foot{
  margin-top:24px;
  padding-top:18px;
  border-top:1px solid var(--line-2);
  display:flex; justify-content:space-between; align-items:center;
}
.pc-tags{
  display:flex; gap:6px; flex-wrap:wrap;
}
.pc-tag{
  font-family:var(--f-mono);
  font-size:9px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--ink-3);
  padding:3px 7px;
  border:1px solid var(--line);
  border-radius:1px;
}

/* ============== Capabilities ============== */
.cap-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
}
.cap-card{
  border:1px solid var(--line);
  padding:32px 28px;
  background:var(--paper);
  transition:transform .25s, border-color .25s;
}
.cap-card:hover{ border-color:var(--olive); transform:translateY(-2px) }
.cap-icon{
  width:48px; height:48px;
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--olive);
  color:var(--olive);
  margin-bottom:24px;
  border-radius:2px;
}
.cap-card h4{
  font-family:var(--f-display);
  font-size:24px;
  color:var(--moss);
  margin-bottom:12px;
}
.cap-card p{
  font-size:14px;
  color:var(--ink-3);
  line-height:1.6;
  margin:0;
}

/* ============== Sectors ============== */
.sector-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:1px;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.08);
}
.sector{
  background:var(--moss);
  padding:48px 44px;
  position:relative;
  transition:background .25s;
}
.sector:hover{ background:#1f2c10 }
.sector .stamp{
  font-family:var(--f-mono);
  font-size:10px;
  letter-spacing:0.18em;
  color:var(--khaki);
  margin-bottom:24px;
}
.sector h3{
  font-size:38px;
  color:var(--paper);
  margin-bottom:18px;
}
.sector p{
  font-size:15px;
  color:#e8e4d0;
  line-height:1.6;
  margin-bottom:24px;
}
.sector ul{
  list-style:none;
  padding:0; margin:0;
}
.sector ul li{
  font-family:var(--f-mono);
  font-size:11px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--khaki-2);
  padding:9px 0;
  border-bottom:1px solid rgba(255,255,255,0.08);
  display:flex; align-items:center; gap:10px;
}
.sector ul li::before{
  content:"›";
  color:var(--khaki);
  font-weight:600;
}
.sector ul li:last-child{border-bottom:none}

/* ============== Why SIGVIX ============== */
.diff-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:32px 48px;
}
.diff{
  border-top:1px solid var(--line);
  padding-top:24px;
}
.diff-num{
  font-family:var(--f-mono);
  font-size:11px;
  letter-spacing:0.2em;
  color:var(--khaki);
  font-weight:600;
  margin-bottom:14px;
  display:block;
}
.diff h4{
  font-size:30px;
  color:var(--moss);
  line-height:1;
  margin-bottom:14px;
}
.diff p{
  font-size:14px;
  color:var(--ink-3);
  line-height:1.6;
  margin:0;
}

/* ============== Ecosystem (no vendor names) ============== */
.eco-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:1px;
  background:var(--line-2);
  border:1px solid var(--line-2);
}
.eco-cell{
  background:var(--paper);
  padding:28px 24px;
  text-align:center;
}
.eco-cell .ico{
  width:36px; height:36px;
  margin:0 auto 14px;
  color:var(--olive);
}
.eco-cell h5{
  font-family:var(--f-mono);
  font-size:11px;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:var(--moss);
  margin:0 0 8px;
  font-weight:600;
}
.eco-cell p{
  font-size:12px;
  color:var(--ink-3);
  margin:0;
  line-height:1.5;
}

/* ============== Presence ============== */
.presence{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:24px;
}
.loc{
  border-top:1px solid var(--line);
  padding-top:24px;
}
.loc .city{
  font-family:var(--f-display);
  font-size:38px;
  color:var(--moss);
  line-height:1;
  letter-spacing:0.005em;
  margin-bottom:6px;
}
.loc .country{
  font-family:var(--f-mono);
  font-size:10px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--olive);
  margin-bottom:16px;
}
.loc .role{
  font-size:13px;
  color:var(--ink-3);
  line-height:1.55;
}

/* ============== Contact ============== */
.contact-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:64px;
  align-items:start;
}
.contact-left h2{
  font-size:clamp(56px, 7vw, 92px);
  color:var(--paper);
  margin-bottom:24px;
  line-height:0.9;
}
.contact-left .lede{
  color:#e8e4d0;
  font-family:var(--f-serif);
  font-style:italic;
  font-size:22px;
  max-width:520px;
  line-height:1.5;
}
.contact-card{
  background:var(--paper);
  padding:40px 36px;
  border-radius:3px;
}
.contact-card h4{
  font-size:22px;
  color:var(--moss);
  margin-bottom:24px;
  font-family:var(--f-display);
  letter-spacing:0.01em;
}
.contact-row{
  display:flex; flex-direction:column;
  padding:18px 0;
  border-bottom:1px solid var(--line-2);
}
.contact-row:last-of-type{border-bottom:none}
.contact-row .lbl{
  font-family:var(--f-mono);
  font-size:10px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--ink-3);
  margin-bottom:6px;
}
.contact-row .val{
  font-size:16px;
  color:var(--moss);
  font-weight:500;
}
.contact-row a.val:hover{color:var(--olive)}

/* ============== Footer ============== */
.footer{
  background:var(--paper-3);
  border-top:1px solid var(--line);
  padding:64px 0 36px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.6fr repeat(3, 1fr);
  gap:48px;
  margin-bottom:48px;
}
.footer-logo{ margin-bottom:18px }
.footer-logo img{ height:48px; width:auto }
.footer-tagline{
  font-family:var(--f-serif);
  font-style:italic;
  font-size:15px;
  color:var(--ink-3);
  max-width:320px;
  line-height:1.5;
}
.footer h5{
  font-family:var(--f-mono);
  font-size:11px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--moss);
  margin:0 0 18px;
  font-weight:600;
}
.footer ul{ list-style:none; padding:0; margin:0; }
.footer ul li{ margin-bottom:10px }
.footer ul a{
  font-size:13px;
  color:var(--ink-3);
  transition:color .2s;
}
.footer ul a:hover{ color:var(--olive) }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top:32px;
  border-top:1px solid var(--line);
  font-family:var(--f-mono);
  font-size:11px;
  letter-spacing:0.12em;
  color:var(--ink-3);
}
.footer-bottom .dot{
  display:inline-block;
  width:6px; height:6px;
  background:var(--field);
  border-radius:50%;
  margin:0 12px;
  vertical-align:middle;
}

/* ============== Flagship gallery ============== */
.flagship-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:24px;
}
.flagship-tile{
  position:relative;
  aspect-ratio:20/7;
  cursor:pointer;
  background:var(--paper-2);
  overflow:hidden;
  border:1px solid var(--line);
  transition:border-color .25s, transform .25s, box-shadow .25s;
  border-radius:2px;
}
.flagship-tile:hover{
  border-color:var(--olive);
  transform:translateY(-3px);
  box-shadow:0 8px 24px rgba(42,58,24,0.12);
}
.flagship-tile img,
.flagship-tile svg{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* LIVE DEMO pill — top-right corner of flagship tiles */
.flagship-live-pill{
  position:absolute;
  top:14px; right:14px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:6px 12px;
  background:rgba(20,25,15,0.78);
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  border:1px solid rgba(154,174,111,0.6);
  border-radius:2px;
  font-family:var(--f-mono);
  font-size:10px;
  letter-spacing:0.16em;
  text-transform:uppercase;
  font-weight:600;
  color:#9aae6f;
  z-index:2;
  pointer-events:none;
}
.flagship-live-pill .dot{
  width:7px; height:7px; border-radius:50%;
  background:#9aae6f;
  position:relative;
  flex-shrink:0;
}
.flagship-live-pill .dot::after{
  content:''; position:absolute; inset:-3px; border-radius:50%;
  background:rgba(154,174,111,0.4);
  animation:flagPulse 2.4s ease-in-out infinite;
}
@keyframes flagPulse{
  0%,100%{transform:scale(.6); opacity:0.7}
  50%{transform:scale(1); opacity:0}
}

.flagship-tile-overlay{
  position:absolute;
  bottom:0; left:0; right:0;
  padding:20px 22px;
  background:linear-gradient(180deg, transparent 0%, rgba(20,25,15,0.85) 70%, rgba(20,25,15,0.92) 100%);
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:16px;
}
.flagship-tile-meta .sku{
  font-family:var(--f-mono);
  font-size:10px;
  letter-spacing:0.18em;
  color:var(--khaki-2);
  font-weight:600;
  margin-bottom:4px;
}
.flagship-tile-meta .name{
  font-family:var(--f-display);
  font-size:26px;
  color:var(--paper);
  line-height:1;
  letter-spacing:0.01em;
}
.flagship-tile-meta .tag{
  font-family:var(--f-serif);
  font-style:italic;
  font-size:13px;
  color:var(--sage-2);
  margin-top:6px;
  display:block;
}
.flagship-tile-arrow{
  width:34px; height:34px;
  border:1px solid var(--paper);
  border-radius:2px;
  display:flex; align-items:center; justify-content:center;
  color:var(--paper);
  flex-shrink:0;
  transition:background .25s;
}
.flagship-tile:hover .flagship-tile-arrow{
  background:var(--paper);
  color:var(--moss);
}

@media (max-width: 640px){
  .flagship-grid{grid-template-columns:1fr}
  .flagship-tile{aspect-ratio:16/9}
  .flagship-tile-meta .name{font-size:22px}
}

/* ============== Modal ============== */
.modal{
  position:fixed; inset:0;
  background:rgba(20,25,15,0.7);
  backdrop-filter:blur(6px);
  display:none;
  align-items:flex-start;
  justify-content:center;
  z-index:200;
  overflow-y:auto;
  padding:50px 24px;
}
.modal.active{display:flex}
.modal-card{
  background:var(--paper);
  max-width:920px;
  width:100%;
  border-radius:3px;
  position:relative;
  animation:modalIn .3s ease;
  border-top:4px solid var(--olive);
}
@keyframes modalIn{
  from{opacity:0; transform:translateY(20px)}
  to{opacity:1; transform:translateY(0)}
}
.modal-close{
  position:absolute; top:18px; right:18px;
  width:36px; height:36px;
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--line);
  border-radius:2px;
  font-family:var(--f-mono); font-size:14px;
  color:var(--ink-2);
  background:var(--paper);
  z-index:2;
}
.modal-close:hover{ background:var(--moss); color:var(--paper); border-color:var(--moss) }
.modal-body{ padding:48px 56px 56px }
.modal-hero{
  margin:-48px -56px 32px;
  height:240px;
  position:relative;
  overflow:hidden;
  background:var(--paper-2);
  border-bottom:1px solid var(--line);
}
.modal-hero img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
  filter:saturate(0.85) contrast(0.95);
}
.modal-hero::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(42,58,24,0.05) 0%, rgba(250,249,243,0.4) 100%);
  pointer-events:none;
}
.modal-sku{
  font-family:var(--f-mono);
  font-size:11px;
  letter-spacing:0.2em;
  color:var(--olive);
  font-weight:600;
  margin-bottom:14px;
}
.modal-name{
  font-family:var(--f-display);
  font-size:54px;
  color:var(--moss);
  line-height:0.95;
  margin-bottom:10px;
  letter-spacing:0.01em;
}
.modal-tagline{
  font-family:var(--f-serif);
  font-style:italic;
  font-size:20px;
  color:var(--olive);
  margin-bottom:32px;
}
.modal-pitch{
  font-size:17px;
  line-height:1.65;
  color:var(--ink-2);
  margin-bottom:36px;
  padding-bottom:32px;
  border-bottom:1px solid var(--line);
}
.modal-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  margin-bottom:32px;
}
.modal-section h5{
  font-family:var(--f-mono);
  font-size:11px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--moss);
  margin:0 0 18px;
  font-weight:600;
  padding-bottom:10px;
  border-bottom:1px solid var(--line-2);
}
.modal-section ul{
  list-style:none; padding:0; margin:0;
}
.modal-section ul li{
  font-size:14px;
  color:var(--ink-2);
  padding:10px 0 10px 22px;
  position:relative;
  line-height:1.5;
  border-bottom:1px solid var(--line-3);
}
.modal-section ul li:last-child{border-bottom:none}
.modal-section ul li::before{
  content:"";
  position:absolute;
  left:0; top:18px;
  width:10px; height:1px;
  background:var(--olive);
}
/* Pillar layout (multi-pillar product modals like SIGVIX Shield) */
.modal-pillars{
  display:flex;
  flex-direction:column;
  margin-bottom:8px;
}
.modal-pillar{
  display:grid;
  grid-template-columns:60px 1fr;
  gap:24px;
  padding:30px 0;
  border-bottom:1px solid var(--line-2);
}
.modal-pillar:first-child{padding-top:8px}
.modal-pillar:last-child{border-bottom:none}
.pillar-num{
  font-family:var(--f-mono);
  font-size:13px;
  font-weight:600;
  color:var(--khaki);
  letter-spacing:0.18em;
  padding-top:6px;
}
.pillar-name{
  font-family:var(--f-display);
  font-size:28px;
  color:var(--moss);
  line-height:1;
  letter-spacing:0.01em;
  margin:0 0 12px;
  font-weight:400;
}
.pillar-desc{
  font-size:15px;
  color:var(--ink-3);
  line-height:1.55;
  margin:0 0 20px;
  font-family:var(--f-serif);
  font-style:italic;
}
.modal-pillar ul{
  list-style:none; padding:0; margin:0;
  columns:2;
  column-gap:32px;
}
.modal-pillar ul li{
  font-size:13.5px;
  color:var(--ink-2);
  padding:7px 0 7px 18px;
  position:relative;
  line-height:1.5;
  break-inside:avoid;
}
.modal-pillar ul li::before{
  content:"";
  position:absolute;
  left:0; top:15px;
  width:9px; height:1px;
  background:var(--olive);
}
@media (max-width: 640px){
  .modal-pillar{grid-template-columns:1fr}
  .modal-pillar ul{columns:1}
}
/* Operational capabilities section — real-equipment photo gallery */
.ops-hero{
  position:relative;
  width:100%;
  aspect-ratio:21/9;
  overflow:hidden;
  border:1px solid var(--line-2);
  background:var(--moss);
  margin-bottom:32px;
}
.ops-hero img,
.ops-hero video{
  width:100%; height:100%;
  object-fit:cover;
  object-position:center;
  filter:saturate(0.85) contrast(0.96);
  display:block;
}
.ops-hero .ops-caption{
  position:absolute;
  left:0; bottom:0; right:0;
  padding:24px 32px 22px;
  background:linear-gradient(to top, rgba(25,33,14,0.92) 0%, rgba(25,33,14,0.55) 60%, rgba(25,33,14,0) 100%);
  color:#f5f0d8;
}
.ops-hero .ops-caption .ops-eyebrow{
  font-family:var(--f-mono);
  font-size:11px;
  letter-spacing:0.22em;
  text-transform:uppercase;
  color:var(--khaki);
  margin-bottom:8px;
  font-weight:600;
}
.ops-hero .ops-caption .ops-title{
  font-family:var(--f-display);
  font-size:30px;
  letter-spacing:0.01em;
  color:#faf6e3;
  margin:0 0 6px;
  line-height:1.1;
}
.ops-hero .ops-caption .ops-sub{
  font-family:var(--f-serif);
  font-size:15px;
  font-style:italic;
  color:#dad3b4;
  line-height:1.4;
  margin:0;
}
.ops-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
}
.ops-tile{
  display:flex;
  flex-direction:column;
  border:1px solid var(--line-2);
  background:var(--paper);
  overflow:hidden;
}
.ops-tile-img{
  width:100%;
  aspect-ratio:4/3;
  background:#1a1f12;
  overflow:hidden;
}
.ops-tile-img img{
  width:100%; height:100%;
  object-fit:cover;
  filter:saturate(0.88) contrast(0.97);
  display:block;
}
.ops-tile-text{
  padding:18px 20px 22px;
  border-top:1px solid var(--line-3);
}
.ops-tile-text .ops-tile-eyebrow{
  font-family:var(--f-mono);
  font-size:10px;
  letter-spacing:0.2em;
  text-transform:uppercase;
  color:var(--olive);
  margin-bottom:8px;
  font-weight:600;
}
.ops-tile-text h4{
  font-family:var(--f-display);
  font-size:21px;
  color:var(--moss);
  letter-spacing:0.01em;
  line-height:1.1;
  margin:0 0 8px;
  font-weight:400;
}
.ops-tile-text p{
  font-family:var(--f-sans);
  font-size:13.5px;
  color:var(--ink-2);
  line-height:1.55;
  margin:0;
}
@media (max-width: 900px){
  .ops-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width: 640px){
  .ops-grid{grid-template-columns:1fr;}
  .ops-hero{aspect-ratio:16/9;}
  .ops-hero .ops-caption .ops-title{font-size:22px;}
}
.modal-meta{
  display:flex; gap:24px; flex-wrap:wrap;
  padding-top:24px;
  border-top:1px solid var(--line);
}
.modal-meta .meta-item{
  flex:1; min-width:140px;
}
.modal-meta .meta-lbl{
  font-family:var(--f-mono);
  font-size:10px;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:var(--ink-3);
  margin-bottom:4px;
}
.modal-meta .meta-val{
  font-size:13px;
  color:var(--moss);
  font-weight:500;
}

/* ============== Reveal animations ============== */
.reveal{
  opacity:0;
  transform:translateY(20px);
  transition:opacity .8s ease, transform .8s ease;
}
.reveal.in{
  opacity:1;
  transform:translateY(0);
}

/* ============== Responsive ============== */
@media (max-width: 1024px){
  .nav-links{display:none}
  .menu-toggle{display:block}
  .section-head{grid-template-columns:1fr; gap:24px}
  .product-grid{grid-template-columns:repeat(2, 1fr)}
  .cap-grid{grid-template-columns:repeat(2, 1fr)}
  .sector-grid{grid-template-columns:1fr}
  .diff-grid{grid-template-columns:repeat(2, 1fr)}
  .eco-grid{grid-template-columns:repeat(2, 1fr)}
  .presence{grid-template-columns:repeat(2, 1fr)}
  .contact-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr; gap:32px}
  .stack-row{grid-template-columns: 60px 1fr; row-gap:16px}
  .stack-row .desc, .stack-row .tag{grid-column:span 2}
  .hero-stats{grid-template-columns:repeat(2, 1fr); row-gap:24px}
  .hero-stat{ border-right:none; border-bottom:1px solid var(--line-2); padding-bottom:16px }
}
@media (max-width: 640px){
  .nav{height:64px}
  .nav-logo img{height:32px}
  .hero{padding:60px 0 70px}
  section{padding:64px 0}
  .product-grid{grid-template-columns:1fr}
  .cap-grid,.diff-grid,.eco-grid,.presence{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .modal-body{padding:32px 24px 36px}
  .modal-grid{grid-template-columns:1fr; gap:24px}
  .modal-name{font-size:38px}
  .footer-bottom{flex-direction:column; gap:12px; align-items:flex-start}
  .cat-head{flex-wrap:wrap}
  .cat-sub{margin-left:0; width:100%}
}

/* Mobile menu */
.mobile-menu{
  display:none;
  position:fixed; top:78px; left:0; right:0;
  background:var(--paper);
  border-bottom:1px solid var(--line);
  padding:24px var(--gutter) 36px;
  z-index:99;
}
.mobile-menu.open{display:block}
.mobile-menu a{
  display:block;
  padding:14px 0;
  font-family:var(--f-mono);
  font-size:13px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--ink-2);
  border-bottom:1px solid var(--line-2);
}

/* utility */
.center{text-align:center}
hr.rule{ border:none; height:1px; background:var(--line); margin:0 }

/* ===== NEWSROOM ===== */
.news-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:0;
  border-bottom:1px solid var(--line-2);
  margin-bottom:32px;
}
.news-tab{
  background:transparent;
  border:none;
  padding:14px 22px;
  font-family:var(--f-mono);
  font-size:11px;
  font-weight:600;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:var(--ink-3);
  cursor:pointer;
  border-bottom:2px solid transparent;
  margin-bottom:-1px;
  transition:color 0.18s, border-color 0.18s;
}
.news-tab:hover{ color:var(--moss); }
.news-tab.active{
  color:var(--moss);
  border-bottom-color:var(--olive);
}
.news-tab .tab-count{
  display:inline-block;
  margin-left:6px;
  padding:1px 7px;
  background:var(--line-2);
  color:var(--ink-3);
  font-size:10px;
  border-radius:9px;
  vertical-align:middle;
}
.news-tab.active .tab-count{
  background:var(--olive);
  color:var(--paper);
}

.news-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
}
.news-card{
  display:flex;
  flex-direction:column;
  background:var(--paper);
  border:1px solid var(--line-2);
  padding:24px 24px 22px;
  transition:transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor:pointer;
  text-decoration:none;
  color:inherit;
}
.news-card:hover{
  transform:translateY(-3px);
  box-shadow:0 8px 24px rgba(42, 58, 24, 0.10);
  border-color:var(--olive);
}
.news-card .news-meta{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
  font-family:var(--f-mono);
  font-size:10px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--olive);
  font-weight:600;
}
.news-card .news-meta .news-prod{
  padding:3px 8px;
  background:var(--moss);
  color:var(--paper);
}
.news-card .news-meta .news-date{
  color:var(--ink-3);
  font-weight:500;
}
.news-card h4{
  font-family:var(--f-display);
  font-size:21px;
  font-weight:400;
  letter-spacing:0.005em;
  line-height:1.18;
  color:var(--moss);
  margin:0 0 12px;
}
.news-card p{
  font-family:var(--f-sans);
  font-size:13.5px;
  line-height:1.55;
  color:var(--ink-2);
  margin:0 0 18px;
  flex:1;
}
.news-card .news-source{
  font-family:var(--f-mono);
  font-size:10px;
  color:var(--ink-3);
  letter-spacing:0.12em;
  text-transform:uppercase;
  padding-top:14px;
  border-top:1px solid var(--line-3);
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.news-card .news-source .news-arrow{
  color:var(--olive);
  font-size:14px;
  transition:transform 0.2s;
}
.news-card:hover .news-source .news-arrow{
  transform:translateX(4px);
}
@media (max-width: 1024px){
  .news-grid{grid-template-columns:repeat(2, 1fr);}
}
@media (max-width: 640px){
  .news-grid{grid-template-columns:1fr;}
  .news-tab{padding:12px 14px; font-size:10px;}
}

/* ===== PARTNERS BANNER ===== */
.partners-band{
  background:var(--moss);
  padding:80px 0 86px;
  border-top:1px solid var(--olive);
  border-bottom:1px solid var(--olive);
}
.partners-band .section-label{
  border-bottom-color:rgba(184, 160, 106, 0.3);
}
.partners-band .section-label > span{
  color:var(--khaki);
}
.partners-band .section-label .num{
  color:var(--khaki);
}
.partners-band .eyebrow{
  color:var(--khaki);
  border-color:var(--khaki);
}
.partners-band h2{
  color:#faf6e3;
}
.partners-band .right p{
  color:#dad3b4;
}
.partners-band .partners-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:0;
  margin-top:48px;
  border-top:1px solid rgba(184, 160, 106, 0.18);
  border-bottom:1px solid rgba(184, 160, 106, 0.18);
}
.partner-cell{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:48px 28px;
  border-right:1px solid rgba(184, 160, 106, 0.18);
  min-height:200px;
  transition:background 0.25s;
}
.partner-cell:last-child{ border-right:none; }
.partner-cell:hover{
  background:rgba(0,0,0,0.18);
}
.partner-cell .partner-logo{
  height:72px;
  max-width:100%;
  width:auto;
  object-fit:contain;
  filter:brightness(0) invert(1) opacity(0.78);
  transition:filter 0.3s, transform 0.25s;
}
.partner-cell:hover .partner-logo{
  filter:brightness(0) invert(1) opacity(1);
  transform:scale(1.04);
}
.partner-cell .partner-name{
  font-family:var(--f-mono);
  font-size:10px;
  letter-spacing:0.22em;
  text-transform:uppercase;
  color:var(--khaki-2);
  margin-top:18px;
  font-weight:600;
}
.partner-cell .partner-domain{
  font-family:var(--f-serif);
  font-style:italic;
  font-size:13px;
  color:#d4ca9f;
  margin-top:6px;
  text-align:center;
  line-height:1.4;
}
/* Placeholder when logo not yet provided */
.partner-cell .partner-placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  height:72px;
  width:160px;
  border:1px dashed rgba(184, 160, 106, 0.4);
  font-family:var(--f-mono);
  font-size:10px;
  letter-spacing:0.18em;
  color:rgba(184, 160, 106, 0.6);
  text-align:center;
}
.partners-footer-note{
  margin-top:36px;
  text-align:center;
  font-family:var(--f-serif);
  font-style:italic;
  font-size:13px;
  color:#d4ca9f;
  line-height:1.5;
  max-width:680px;
  margin-left:auto;
  margin-right:auto;
}
@media (max-width: 900px){
  .partners-band .partners-grid{ grid-template-columns:repeat(2, 1fr); }
  .partner-cell{ border-right:none; }
  .partner-cell:nth-child(odd){ border-right:1px solid rgba(184, 160, 106, 0.18); }
  .partner-cell:nth-child(-n+2){ border-bottom:1px solid rgba(184, 160, 106, 0.18); }
}
@media (max-width: 640px){
  .partners-band .partners-grid{ grid-template-columns:1fr; }
  .partner-cell{ border-right:none !important; border-bottom:1px solid rgba(184, 160, 106, 0.18) !important; }
  .partner-cell:last-child{ border-bottom:none !important; }
}

/* ============================================================
   SECTION B — Demo popup + Guardian card DEMO button
   ============================================================ */
/* ============================================
   Demo Gateway — selector modal opened from nav DEMO link
   Robust pattern: position:fixed; inset:0 (same as the demo modal).
   No header stacking-context dependency.
   ============================================ */
.demo-gateway{
  position:fixed;
  inset:0;
  background:rgba(20,25,15,0.65);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  display:none;
  align-items:flex-start;
  justify-content:center;
  z-index:9500;
  padding:6vh 20px 40px;
  overflow-y:auto;
  animation:demoModalFade .25s ease;
}
.demo-gateway.active{display:flex}

.demo-gateway-card{
  position:relative;
  width:100%;
  max-width:920px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:4px;
  padding:48px 44px 44px;
  box-shadow:0 50px 100px -30px rgba(0,0,0,.5), 0 0 0 1px rgba(13,27,58,.04);
}
.demo-gateway-card::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(42,223,255,.4),transparent);
}

.demo-gateway-close{
  position:absolute;
  top:14px; right:14px;
  width:36px; height:36px;
  border:1px solid var(--line);
  border-radius:50%;
  background:transparent;
  color:var(--ink-2);
  font-size:22px;
  line-height:1;
  cursor:pointer;
  transition:all .18s ease;
}
.demo-gateway-close:hover{
  border-color:var(--olive);
  color:var(--olive);
  transform:rotate(90deg);
}

.demo-gateway-head{
  text-align:center;
  margin-bottom:36px;
  max-width:560px;
  margin-left:auto;
  margin-right:auto;
}
.demo-gateway-eyebrow{
  font-family:var(--f-mono);
  font-size:11px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--olive);
  margin-bottom:14px;
}
.demo-gateway-h{
  font-family:var(--f-display);
  font-size:38px;
  font-weight:600;
  letter-spacing:-0.01em;
  color:var(--ink);
  margin:0 0 14px;
  line-height:1.1;
}
.demo-gateway-sub{
  font-family:var(--f-body);
  font-size:15px;
  line-height:1.5;
  color:var(--ink-2);
  margin:0;
}

.demo-gateway-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}

.dg-tile{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:12px;
  padding:22px 22px 24px;
  background:var(--paper-2);
  border:1px solid var(--line);
  border-radius:3px;
  text-align:left;
  cursor:pointer;
  transition:all .2s ease;
  position:relative;
  min-height:160px;
  font-family:var(--f-body);
}
.dg-tile-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  gap:10px;
}
.dg-dot{
  width:8px; height:8px; border-radius:50%;
  flex-shrink:0;
}
.dg-status{
  font-family:var(--f-mono);
  font-size:9.5px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--ink-3);
  font-weight:600;
}
.dg-tile-name{
  font-family:var(--f-display);
  font-size:26px;
  font-weight:600;
  color:var(--ink);
  margin:0;
  letter-spacing:-0.01em;
  line-height:1;
}
.dg-tile-desc{
  font-family:var(--f-body);
  font-size:13px;
  color:var(--ink-3);
  margin:0;
  line-height:1.4;
}

/* Live tile (Guardian) */
.dg-tile--live{
  background:linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  border-color:var(--moss);
}
.dg-tile--live::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height:2px;
  background:linear-gradient(90deg,transparent,#34a366,transparent);
}
.dg-tile--live .dg-dot{
  background:#34a366;
  box-shadow:0 0 6px rgba(52,163,102,.6), 0 0 0 3px rgba(52,163,102,.18);
  animation:demoLaunchPulse 2.2s ease-in-out infinite;
}
.dg-tile--live .dg-status{
  color:var(--moss);
}
.dg-tile--live:hover{
  border-color:var(--olive);
  transform:translateY(-2px);
  box-shadow:0 14px 30px -16px rgba(52,163,102,.4);
}
.dg-tile--live:hover .dg-tile-name{
  color:var(--moss);
}

/* Coming-soon tiles */
.dg-tile--soon{
  cursor:not-allowed;
  opacity:0.65;
}
.dg-tile--soon .dg-dot{
  background:transparent;
  border:1px dashed var(--ink-4);
}
.dg-tile--soon .dg-tile-name{
  color:var(--ink-3);
}

/* Mobile responsive */
@media (max-width: 760px){
  .demo-gateway{padding:4vh 16px 30px}
  .demo-gateway-card{padding:42px 22px 30px}
  .demo-gateway-h{font-size:30px}
  .demo-gateway-grid{
    grid-template-columns:1fr;
    gap:10px;
  }
  .dg-tile{min-height:auto; padding:18px 18px 20px}
}
@media (min-width: 761px) and (max-width: 980px){
  .demo-gateway-grid{grid-template-columns:repeat(2, 1fr)}
}

/* Inline DEMO button on the Guardian product card */
  .pc-demo-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:7px 12px 7px 10px;
    background:linear-gradient(180deg,#0a121d 0%, #04070d 100%);
    border:1px solid #2a4258;
    border-radius:2px;
    color:#eaf1f9;
    font-family:var(--f-mono);
    font-size:10px;
    letter-spacing:.16em;
    text-transform:uppercase;
    font-weight:600;
    cursor:pointer;
    transition:all .2s ease;
    position:relative;
    overflow:hidden;
    flex-shrink:0;
  }
  .pc-demo-btn::before{
    content:"";
    position:absolute;
    top:0;left:0;right:0;height:1px;
    background:linear-gradient(90deg,transparent,rgba(42,223,255,.7),transparent);
  }
  .pc-demo-btn:hover{
    border-color:#2adfff;
    transform:translateY(-1px);
    box-shadow:0 8px 20px -10px rgba(42,223,255,.45);
  }
  .pc-demo-btn .dot{
    width:6px;height:6px;border-radius:50%;
    background:#34e88a;
    box-shadow:0 0 5px #34e88a, 0 0 0 2px rgba(52,232,138,.18);
    animation:demoLaunchPulse 2.2s ease-in-out infinite;
    flex-shrink:0;
  }
  .pc-demo-btn .arr{
    color:#2adfff;
    font-size:13px;
    line-height:1;
    transition:transform .2s ease;
  }
  .pc-demo-btn:hover .arr{transform:translate(2px,-2px)}

  /* Launch button injected into Guardian product modal */
  .modal-demo-launch{
    display:flex;
    align-items:center;
    gap:14px;
    width:100%;
    margin:24px 0 32px;
    padding:18px 22px;
    background:linear-gradient(180deg,#0a121d 0%, #04070d 100%);
    border:1px solid #2a4258;
    border-radius:4px;
    color:#eaf1f9;
    font-family:var(--f-body);
    cursor:pointer;
    text-align:left;
    transition:all .18s ease;
    position:relative;
    overflow:hidden;
  }
  .modal-demo-launch::before{
    content:"";
    position:absolute;
    top:0;left:0;right:0;height:1px;
    background:linear-gradient(90deg,transparent,rgba(42,223,255,.55),transparent);
  }
  .modal-demo-launch:hover{
    border-color:#2adfff;
    transform:translateY(-1px);
    box-shadow:0 12px 30px -15px rgba(42,223,255,.35);
  }
  .modal-demo-launch .dot{
    flex:0 0 10px;
    width:10px;height:10px;border-radius:50%;
    background:#34e88a;
    box-shadow:0 0 8px #34e88a, 0 0 0 4px rgba(52,232,138,.18);
    animation:demoLaunchPulse 2.2s ease-in-out infinite;
  }
  @keyframes demoLaunchPulse{
    0%,100%{opacity:1;transform:scale(1)}
    50%{opacity:.55;transform:scale(.85)}
  }
  .modal-demo-launch .text{flex:1;display:flex;flex-direction:column;gap:3px}
  .modal-demo-launch .lab{
    font-family:var(--f-mono);
    font-size:10.5px;
    color:#2adfff;
    letter-spacing:.18em;
    text-transform:uppercase;
    font-weight:600;
  }
  .modal-demo-launch .ttl{
    font-family:var(--f-display);
    font-size:22px;
    color:#eaf1f9;
    letter-spacing:.06em;
    line-height:1.1;
  }
  .modal-demo-launch .arrow{
    flex:0 0 auto;
    color:#2adfff;
    font-size:20px;
    transition:transform .18s ease;
  }
  .modal-demo-launch:hover .arrow{transform:translate(3px,-3px)}

  /* Demo popup modal */
  .demo-modal{
    position:fixed;
    inset:0;
    background:rgba(4,7,13,.88);
    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:9999;
    padding:2.5vh 2.5vw;
    animation:demoModalFade .25s ease;
  }
  .demo-modal.active{display:flex}
  @keyframes demoModalFade{
    from{opacity:0}
    to{opacity:1}
  }
  .demo-modal-card{
    position:relative;
    width:100%;
    height:100%;
    max-width:1600px;
    background:#04070d;
    border:1px solid #1c2c3e;
    border-radius:4px;
    box-shadow:
      0 0 0 1px rgba(42,223,255,.12),
      0 50px 100px -30px rgba(0,0,0,.8);
    display:flex;
    flex-direction:column;
    overflow:hidden;
  }
  .demo-modal-card::before{
    content:"";
    position:absolute;
    top:0;left:0;right:0;height:1px;
    background:linear-gradient(90deg,transparent,rgba(42,223,255,.55),transparent);
    z-index:5;
  }
  .demo-modal:fullscreen{padding:0;background:#04070d}
  .demo-modal:fullscreen .demo-modal-card{max-width:none;border:0;border-radius:0}
  /* Vendor prefixes */
  .demo-modal:-webkit-full-screen{padding:0;background:#04070d}
  .demo-modal:-webkit-full-screen .demo-modal-card{max-width:none;border:0;border-radius:0}

  .demo-modal-bar{
    flex:0 0 auto;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 14px 0 18px;
    background:#080d16;
    border-bottom:1px solid #1c2c3e;
    color:#c2cfdc;
    font-family:var(--f-mono);
    font-size:11.5px;
    letter-spacing:.06em;
  }
  .demo-modal-bar .left{display:flex;align-items:center;gap:12px;color:#8da0b4;min-width:0}
  .demo-modal-bar .left .dot{
    width:7px;height:7px;border-radius:50%;flex:0 0 7px;
    background:#34e88a;box-shadow:0 0 6px #34e88a;
    animation:demoLaunchPulse 2.4s ease-in-out infinite;
  }
  .demo-modal-bar .left .ttl{
    color:#eaf1f9;
    font-weight:600;
    letter-spacing:.1em;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .demo-modal-bar .left .ttl b{color:#2adfff;margin-right:6px}
  .demo-modal-bar .left .pill{
    flex:0 0 auto;
    font-size:10px;
    color:#ffb43a;
    border:1px solid rgba(255,180,58,.3);
    background:rgba(255,180,58,.1);
    padding:3px 8px;
    border-radius:2px;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;
  }
  .demo-modal-bar .right{display:flex;align-items:stretch;gap:0}
  .demo-modal-bar .right button{
    background:transparent;
    border:none;
    border-left:1px solid #1c2c3e;
    color:#c2cfdc;
    font-family:var(--f-mono);
    font-size:11px;
    letter-spacing:.08em;
    padding:0 16px;
    cursor:pointer;
    height:48px;
    display:flex;
    align-items:center;
    gap:8px;
    transition:all .15s;
    text-transform:uppercase;
  }
  .demo-modal-bar .right button:hover{color:#2adfff;background:rgba(42,223,255,.05)}
  .demo-modal-bar .right button .ic{
    font-family:var(--f-body);
    font-size:14px;
    line-height:1;
  }
  .demo-modal-bar .right button[data-action="close"]:hover{color:#ff4a5e;background:rgba(255,74,94,.08)}
  .demo-modal-bar .right button[data-action="close"] .ic{font-size:18px}

  .demo-modal-body{
    flex:1;
    min-height:0;
    background:#04070d;
    position:relative;
  }
  .demo-modal-body iframe{
    width:100%;
    height:100%;
    border:0;
    display:block;
  }

  @media (max-width: 700px){
    .demo-modal{padding:0}
    .demo-modal-card{border-radius:0;border:0}
    .demo-modal-bar .right button[data-action="fullscreen"]{display:none}
    .demo-modal-bar{font-size:10.5px;padding-left:12px}
    .demo-modal-bar .left .ttl{letter-spacing:.06em}
  }
