/* ─────────────────────────────────────────────
   Signify Hive — site.css
   Software platform · dark editorial theme.
   Same architecture as Solution, mirrored palette.
   ───────────────────────────────────────────── */

:root{
  /* Default theme = LIGHT (mirrors Signify Solution / Signify Insights light).
     Dark palette lives in html.dark below — Hive ships with class="dark". */
  --paper:        #fbfaf6;
  --paper-2:      #f5f2ea;
  --paper-3:      #ecebe3;
  --ink:          #0e1614;
  --ink-soft:     #3a4744;
  --ink-mute:     #6a7572;
  --hair:         rgba(14, 22, 20, 0.10);
  --hair-2:       rgba(14, 22, 20, 0.18);

  --jade:         #0f4a40;   /* deep jade accent (light) */
  --jade-deep:    #0a3a32;
  --jade-soft:    rgba(15, 74, 64, 0.08);
  --jade-line:    rgba(15, 74, 64, 0.20);
  --jade-brand:   #0f4a40;   /* deep jade — Solution's brand color, used for cross-brand callouts */

  --amber:        #b1602a;
  --amber-soft:   rgba(177, 96, 42, 0.08);

  --shadow-card:  0 18px 40px -28px rgba(14,22,20,.18), 0 5px 14px -8px rgba(14,22,20,.10);
  --shadow-pop:   0 22px 50px -28px rgba(14,22,20,.22), 0 8px 20px -10px rgba(14,22,20,.14);

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --sidebar-w:        64px;
  --sidebar-w-open:   220px;
  --topbar-h:         50px;
  --maxw:             1320px;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;

  /* semantic surfaces — flip in dark mode (see html.dark below) */
  --side-bg:   #ffffff;
  --surface:   #ffffff;
  --foot-bg:   #f5f2ea;
  --on-jade:   #ffffff;
}

*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background:var(--paper); color:var(--ink);
  font-family:var(--sans); font-size:14px; line-height:1.55;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  min-height:100vh; overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;padding:0}
img,svg{display:block;max-width:100%}
::selection{background:var(--jade); color:var(--on-jade)}

/* Typography */
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--mono); font-size:10px; letter-spacing:.18em; text-transform:uppercase;
  color:var(--jade);
}
.eyebrow .dot{ width:4px; height:4px; border-radius:99px; background:var(--jade) }
.eyebrow .vol{ color:var(--amber) }

.serif{ font-family:var(--serif) }
.italic{ font-style:italic }
.mono{ font-family:var(--mono); letter-spacing:.14em; text-transform:uppercase; font-size:10.5px; color:var(--ink-mute) }
.brand-em{ font-style:italic; color:var(--jade); font-weight:500 }

h1,h2,h3,h4{ margin:0; color:var(--ink); font-family:var(--serif); letter-spacing:-.012em; font-weight:300 }
h1 em, h2 em, h3 em, h4 em{ font-style:italic; color:var(--jade); font-weight:300 }
h1{ font-size: clamp(40px, 5vw, 68px); line-height:.98; letter-spacing:-.018em }
h2{ font-size: 32px; line-height:1.05 }
h3{ font-size: 22px; line-height:1.18; font-weight:400 }
h3 em{ font-weight:400 }
h4{ font-size: 17px; line-height:1.25; font-weight:500 }
h4 em{ font-weight:500 }

p{ margin:0 0 14px; color:var(--ink-soft) }
p em{ font-style:italic; color:var(--jade); font-weight:500 }
.lede{ font-size:15px; color:var(--ink-soft); line-height:1.55; max-width:60ch }
.lede em{ font-style:italic; color:var(--jade); font-weight:500 }
.body-md{ font-size:14px; color:var(--ink-soft); line-height:1.6; max-width:62ch }
.body-md em{ font-style:italic; color:var(--jade); font-weight:500 }
.muted{ color:var(--ink-mute) }

/* Layout */
.stage{ padding-left:var(--sidebar-w); }
@media (max-width:720px){ .stage{ padding-left:0 } }
.wrap{ max-width: var(--maxw); margin: 0 auto; }
.section{ padding: 50px 44px; border-bottom:1px solid var(--hair); position:relative }
.section--lg{ padding: 64px 44px }
.section--cream{ background:var(--paper-2) }
.section--ink{ background:#04100c; }

.head{
  display:flex; align-items:end; justify-content:space-between; gap:20px;
  margin-bottom:24px; flex-wrap:wrap;
}
.head h2{ margin:0 }
.head .sub{ font-size:12.5px; color:var(--ink-soft); margin-top:5px; max-width:46ch }
.head .meta{
  display:flex; align-items:center; gap:14px;
  font-family:var(--mono); font-size:10px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--ink-mute);
}
.head .meta a{ color:var(--jade); display:inline-flex; align-items:center; gap:6px }
.head .meta a:hover{ color:var(--jade-deep) }

.pager{ display:inline-flex; align-items:center; gap:6px }
.pager span{ width:5px; height:5px; border-radius:99px; background:var(--hair-2); transition: background .15s, width .15s }
.pager span.on{ width:18px; background:var(--jade); border-radius:999px }

/* Sidebar */
.side{
  position:fixed; top:0; left:0; bottom:0;
  width:var(--sidebar-w);
  background:var(--side-bg);
  border-right:1px solid var(--hair);
  z-index:60;
  display:flex; flex-direction:column;
  transition: width .26s ease;
  overflow:hidden;
}
.side:hover{ width:var(--sidebar-w-open); box-shadow: 14px 0 48px -36px rgba(0,0,0,.6) }

.side-brand{
  height:var(--topbar-h); display:flex; align-items:center; gap:10px;
  padding:0 18px; border-bottom:1px solid var(--hair);
  color:var(--jade); flex-shrink:0;
}
.side-brand .mark{ width:24px; height:24px; flex:0 0 auto; color:var(--jade)}
.side-brand .name{
  font-family:var(--serif); font-weight:400; font-size:15px; letter-spacing:.005em; color:var(--ink);
  white-space:nowrap; opacity:0; transform:translateX(-6px);
  transition:opacity .2s ease .04s, transform .2s ease .04s;
}
.side-brand .name em{ font-style:italic; color:var(--jade); font-weight:500 }
.side:hover .side-brand .name{ opacity:1; transform:none }

.side-nav{ flex:1; padding:10px 0; display:flex; flex-direction:column; gap:1px; overflow-y:auto; overflow-x:hidden; }
.side-link{
  height:38px; display:flex; align-items:center; gap:14px;
  padding:0 20px; color:var(--ink-soft); position:relative;
  transition:color .15s ease, background .15s ease;
  border-left:2px solid transparent;
  flex-shrink:0;
}
.side-link:hover{ color:var(--jade); background:var(--jade-soft) }
.side-link.is-active{ color:var(--jade); border-left-color:var(--jade); background:var(--jade-soft) }
.side-link svg{ width:18px; height:18px; flex:0 0 auto }
.side-link .lbl{
  font-size:12.5px; font-weight:500; letter-spacing:.005em; white-space:nowrap;
  opacity:0; transform:translateX(-6px);
  transition:opacity .2s ease .04s, transform .2s ease .04s;
}
.side:hover .side-link .lbl{ opacity:1; transform:none }
.side-link .ext{ margin-left:auto; font-size:10.5px; color:var(--ink-mute); opacity:0; transition:opacity .2s ease .06s; }
.side:hover .side-link .ext{ opacity:1 }

.side-foot{ padding:10px 14px 14px; border-top:1px solid var(--hair); display:flex; flex-direction:column; gap:8px; flex-shrink:0; }
.side-cta{
  height:38px; border-radius:999px;
  background:var(--jade); color:var(--on-jade);
  display:flex; align-items:center; gap:10px; padding:0 11px;
  transition:background .15s ease;
}
.side-cta:hover{ background:var(--jade-deep) }
.side-cta svg{ width:16px; height:16px; flex:0 0 auto }
.side-cta .lbl{ font-size:12px; font-weight:600; letter-spacing:.01em; white-space:nowrap; opacity:0; transition:opacity .2s ease .06s; }
.side:hover .side-cta .lbl{ opacity:1 }

@media (max-width:720px){ .side{ display:none } }

/* Mobile header */
.m-header{ display:none }
@media (max-width:720px){
  .m-header{
    display:flex; align-items:center; justify-content:space-between;
    height:54px; padding:0 16px; background:var(--side-bg);
    border-bottom:1px solid var(--hair); position:sticky; top:0; z-index:55;
  }
  .m-header .brand{ display:flex; align-items:center; gap:8px; color:var(--ink); }
  .m-header .brand svg{ width:22px; height:22px; color:var(--jade) }
  .m-header .brand .name{ font-family:var(--serif); font-size:15px }
  .m-header .brand .name em{ font-style:italic; color:var(--jade); font-weight:500 }
  .m-header .menu-btn{
    width:36px; height:36px; border-radius:999px;
    border:1px solid var(--hair-2); display:inline-flex; align-items:center; justify-content:center;
    color:var(--ink);
  }
  .m-header .menu-btn svg{ width:18px; height:18px }
}

.mobile-menu{
  position:fixed; inset:0; background:var(--side-bg); z-index:90;
  display:none; flex-direction:column; padding:18px 18px 28px;
  overflow-y:auto;
}
.mobile-menu.is-open{ display:flex }
.mobile-menu-head{ display:flex; align-items:center; justify-content:space-between; padding-bottom:14px; border-bottom:1px solid var(--hair); margin-bottom:14px; }
.mobile-menu-head .brand{ display:flex; align-items:center; gap:8px }
.mobile-menu-head .brand svg{ width:24px; height:24px; color:var(--jade) }
.mobile-menu-head .brand .name{ font-family:var(--serif); font-size:17px }
.mobile-menu-head .brand .name em{ font-style:italic; color:var(--jade); font-weight:500 }
.mobile-menu-body{ display:flex; flex-direction:column; gap:2px; flex:1 }
.mobile-menu-body a{
  padding:13px 4px; font-size:16px; color:var(--ink);
  display:flex; align-items:center; justify-content:space-between;
  border-bottom:1px solid var(--hair);
}
.mobile-menu-body a .num{ font-family:var(--mono); font-size:11px; color:var(--ink-mute); letter-spacing:.14em }
.mobile-menu-foot{ margin-top:16px }
.mobile-menu-foot .pill{ width:100%; justify-content:center }

/* Topbar */
.topbar{
  height:var(--topbar-h);
  display:flex; align-items:center; gap:18px;
  padding:0 32px;
  border-bottom:1px solid var(--hair);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  position:sticky; top:0; z-index:30;
}
.topbar .crumb{ font-family:var(--mono); font-size:10px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-mute); }
.topbar .crumb b{ color:var(--ink); font-weight:600 }
.topbar .sep{ width:1px; height:14px; background:var(--hair-2) }
.topbar .editorial{
  font-family:var(--serif); font-style:italic; font-weight:300; font-size:13.5px;
  color:var(--ink-soft); letter-spacing:.005em;
}
.topbar .right{ margin-left:auto; display:flex; align-items:center; gap:14px }
.topbar .right a{ font-size:11.5px; font-weight:500; color:var(--ink-soft); display:inline-flex; align-items:center; gap:6px; }
.topbar .right a:hover{ color:var(--jade) }
.topbar .pill-hive{
  height:30px; padding:0 14px; border-radius:999px;
  border:1px solid var(--jade-line); color:var(--jade);
  font-size:11px; font-weight:600; letter-spacing:.01em;
  display:inline-flex; align-items:center; gap:7px;
  white-space:nowrap; flex-shrink:0;
  transition:background .15s ease, color .15s ease;
}
.topbar .pill-hive svg{ width:14px; height:14px; flex-shrink:0 }
.topbar .pill-hive:hover{ background:var(--jade); color:var(--on-jade) }
@media (max-width:900px){ .topbar .editorial{ display:none } .topbar .right a:not(.pill-hive){ display:none } }
@media (max-width:720px){ .topbar{ display:none } }

/* Pills */
.pill{
  height:38px; border-radius:999px;
  display:inline-flex; align-items:center; gap:9px;
  padding:0 17px 0 13px;
  font-size:12.5px; font-weight:600; letter-spacing:.005em;
  border:1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
  cursor:pointer;
}
.pill .ico{
  width:24px; height:24px; border-radius:999px;
  display:inline-flex; align-items:center; justify-content:center;
  background: currentColor; flex-shrink:0;
}
.pill .ico svg{ width:12px; height:12px; color:var(--on-jade) }
.pill--primary{ background:var(--jade); color:var(--on-jade); border-color:var(--jade) }
.pill--primary:hover{ background:var(--jade-deep); border-color:var(--jade-deep) }
.pill--primary .ico{ background: rgba(7,36,32,.18) }
.pill--ghost{ background:transparent; color:var(--ink); border-color:var(--hair-2) }
.pill--ghost:hover{ border-color:var(--jade); color:var(--jade) }
.pill--ghost .ico{ background:var(--jade-soft) }
.pill--ghost .ico svg{ color:var(--jade) }

.link-go{
  font-family:var(--mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--jade); display:inline-flex; align-items:center; gap:7px;
  transition:color .15s ease, gap .15s ease;
}
.link-go:hover{ color:var(--jade-deep); gap:10px }

/* Hero */
.hero{
  position:relative;
  padding: 50px 44px 44px;
  border-bottom:1px solid var(--hair);
  overflow:hidden;
}
.hero::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(900px 500px at 12% 14%, rgba(126,212,179,.10), transparent 60%),
    radial-gradient(700px 420px at 92% 92%, rgba(240,178,122,.06), transparent 65%);
}
.hero-grid{
  position:relative; z-index:1;
  display:grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap:48px; align-items:center;
  max-width:var(--maxw);
}
.hero h1{ margin: 16px 0 18px; max-width: 18ch; }
.hero h1 em{ color:var(--jade) }
.hero .lede{ margin: 0 0 22px }
.hero-actions{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:18px; }
.hero-meta{
  display:flex; align-items:center; gap:14px;
  font-family:var(--mono); font-size:10px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--ink-mute);
}

.hero-figure{
  position:relative;
  aspect-ratio: 5/4;
  border-radius: 18px;
  overflow:hidden;
  border:1px solid var(--hair);
  background: linear-gradient(160deg, #0f2520 0%, #0a1c18 55%, #061410 100%);
  box-shadow: 0 24px 50px -28px rgba(0,0,0,.55), 0 6px 18px -10px rgba(0,0,0,.35);
}
.hero-figure img{ width:100%; height:100%; object-fit:contain; padding:34px 22px 22px; }
.hero-figure--cover img{ object-fit:cover; padding:0 }
.hf-art{ position:absolute; inset:0; width:100%; height:100% }
.hf-cap{ position:absolute; left:16px; top:14px; font-family:var(--mono); font-size:9.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-mute); }
.hf-cap b{ color:var(--jade); font-weight:600 }
.hf-corner{ position:absolute; right:16px; top:14px; font-family:var(--mono); font-size:9.5px; letter-spacing:.14em; color:var(--ink-mute); }

.insight-card{
  position:absolute; left:16px; bottom:16px; right:16px;
  background: rgba(10,22,18,.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border:1px solid var(--hair);
  border-radius:12px; padding:14px 16px;
  display:grid; grid-template-columns: repeat(4, 1fr); gap:10px;
}
.insight-card .k{ font-family:var(--mono); font-size:9px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-mute); margin-bottom:5px; }
.insight-card .v{ font-family:var(--serif); font-weight:400; font-size:18px; line-height:1; color:var(--ink); letter-spacing:-.01em; }
.insight-card .v em{ font-style:italic; color:var(--jade); font-weight:400 }
.insight-card .sub{ font-size:10px; color:var(--ink-mute); margin-top:3px }

.page-hero{
  padding: 56px 44px 36px;
  border-bottom:1px solid var(--hair);
  position:relative;
}
.page-hero .eyebrow{ margin-bottom:14px }
.page-hero h1{ font-size: clamp(36px, 4.4vw, 56px); margin:0 0 14px; max-width:22ch }
.page-hero .lede{ max-width:64ch; margin:0 0 18px }
.page-hero-row{
  display:flex; align-items:center; gap:14px; flex-wrap:wrap;
  font-family:var(--mono); font-size:10px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--ink-mute); margin-top:6px;
}
.page-hero-row .sep{ width:1px; height:14px; background:var(--hair-2) }

/* Cards */
.cards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:18px;
}
.cards--2{ grid-template-columns: repeat(2, minmax(0, 1fr)) }
.card{
  position:relative;
  background:var(--paper-3);
  border:1px solid var(--hair);
  border-radius:14px;
  overflow:hidden;
  transition: transform .22s ease, border-color .18s ease, box-shadow .22s ease;
  display:flex; flex-direction:column;
}
.card:hover{
  transform: translateY(-3px);
  border-color: var(--jade-line);
  box-shadow: var(--shadow-card);
}
.card-art{
  aspect-ratio: 7/4;
  background: #08130f;
  position:relative; overflow:hidden;
  border-bottom:1px solid var(--hair);
}
.card-art img{ width:100%; height:100%; object-fit:cover }
.card-art .num{ position:absolute; left:14px; top:11px; font-family:var(--mono); font-size:10px; letter-spacing:.16em; text-transform:uppercase; color:var(--jade); z-index:2; background: rgba(10,22,18,.6); padding:2px 8px; border-radius:99px; }
.card-art .tag{ position:absolute; right:14px; top:11px; font-family:var(--mono); font-size:9px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-mute); z-index:2; background: rgba(10,22,18,.6); padding:2px 8px; border-radius:99px; }
.card-body{ padding:18px 18px 18px; display:flex; flex-direction:column; gap:7px; flex:1; }
.card h3{ font-size:18px; font-weight:400 }
.card h3 em{ font-weight:400 }
.card p{ font-size:12.5px; color:var(--ink-soft); margin:0; line-height:1.55 }
.card-foot{
  margin-top:auto; padding-top:12px;
  display:flex; align-items:center; justify-content:space-between;
  font-family:var(--mono); font-size:10px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--ink-mute);
}
.card-foot .go{ color:var(--jade); display:inline-flex; align-items:center; gap:6px }
.card:hover .card-foot .go{ color:var(--jade-deep) }
.art-svg{ width:100%; height:100%; display:block }

/* Product screenshots */
.shot{
  position:relative; border-radius:14px; overflow:hidden;
  border:1px solid var(--hair);
  background:#000;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.5);
}
.shot img{ width:100%; height:auto; display:block; opacity:.96 }
.shot:hover img{ opacity:1 }

.shot-grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap:18px }
@media (max-width:720px){ .shot-grid{ grid-template-columns: 1fr } }

/* Feature list */
.feat-list{ display:grid; grid-template-columns: 1fr 1fr; gap:8px 18px; margin:8px 0 16px }
.feat-list .item{
  display:flex; gap:10px; align-items:flex-start;
  padding:10px 0; border-bottom:1px solid var(--hair);
  font-size:13px; color:var(--ink-soft);
}
.feat-list .item:last-child, .feat-list .item:nth-last-child(2){ border-bottom:0 }
.feat-list .item .ico{ color:var(--jade); flex-shrink:0; margin-top:1px }
.feat-list .item b{ color:var(--ink); font-weight:600; display:block; font-size:12.5px; margin-bottom:2px }
@media (max-width: 720px){ .feat-list{ grid-template-columns: 1fr } }

/* Stat strip */
.stat-strip{
  display:grid; grid-template-columns: repeat(4, 1fr); gap:0;
  border:1px solid var(--hair); border-radius:14px; overflow:hidden;
  background:var(--paper-3);
}
.stat-strip > *{ padding:18px 22px; border-right:1px solid var(--hair); }
.stat-strip > *:last-child{ border-right:0 }
.stat-strip .k{ font-family:var(--mono); font-size:9.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-mute); margin-bottom:6px; }
.stat-strip .v{ font-family:var(--serif); font-size:30px; line-height:1; font-weight:300; color:var(--ink); letter-spacing:-.02em; }
.stat-strip .v em{ font-style:italic; color:var(--jade); font-weight:300 }
.stat-strip .sub{ font-size:11px; color:var(--ink-mute); margin-top:4px }
@media (max-width:900px){ .stat-strip{ grid-template-columns: repeat(2, 1fr) } .stat-strip > *{ border-right:0; border-bottom:1px solid var(--hair) } .stat-strip > *:nth-child(2n){ border-right:0 } .stat-strip > *:nth-last-child(-n+2){ border-bottom:0 } }
@media (max-width:520px){ .stat-strip{ grid-template-columns: 1fr } .stat-strip > *{ border-bottom:1px solid var(--hair); border-right:0 } .stat-strip > *:last-child{ border-bottom:0 } }

/* Product detail layout */
.prod-grid{
  display:grid; grid-template-columns: 2fr 1fr; gap:32px; align-items:start;
}
.aside-card{
  background:var(--paper-3); border:1px solid var(--hair); border-radius:14px; padding:18px;
  position:sticky; top: calc(var(--topbar-h) + 18px);
}
.aside-card h4{ font-family:var(--mono); font-size:10px; color:var(--jade); letter-spacing:.16em; text-transform:uppercase; font-weight:600; margin:0 0 12px }
.aside-card dl{ margin:0; font-size:12.5px; color:var(--ink-soft) }
.aside-card dt{ font-family:var(--mono); font-size:9.5px; color:var(--ink-mute); letter-spacing:.14em; text-transform:uppercase; margin-bottom:3px }
.aside-card dd{ margin:0 0 12px; color:var(--ink); font-size:13px }
.aside-card dd em{ font-style:italic; color:var(--jade) }

.fw-chips{ display:flex; gap:6px; flex-wrap:wrap; margin:8px 0 14px }
.fw-chip{
  font-family:var(--mono); font-size:10px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--jade); padding:5px 10px; border-radius:999px; border:1px solid var(--jade-line);
  background:var(--jade-soft);
}

/* Footer */
.foot{
  background:var(--foot-bg); border-top:1px solid var(--hair);
  padding: 44px 44px 24px;
  padding-left: calc(var(--sidebar-w) + 44px);
}
@media (max-width: 720px){ .foot{ padding-left: 16px } }
.foot-grid{
  display:grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap:28px;
  max-width:var(--maxw);
}
.foot-brand{ display:flex; align-items:center; gap:10px; margin-bottom:12px; color:var(--jade) }
.foot-brand svg{ width:24px; height:24px }
.foot-brand .name{ font-family:var(--serif); font-size:18px; color:var(--ink) }
.foot-brand .name em{ font-style:italic; color:var(--jade); font-weight:500 }
.foot-tagline{
  font-family:var(--serif); font-style:italic; font-weight:300; font-size:18px;
  color:var(--ink-soft); margin: 0 0 14px;
}
.foot-tagline em{ color:var(--jade) }
.foot p{ font-size:12.5px; color:var(--ink-soft); margin:0 0 8px; line-height:1.55 }
.foot h5{
  font-family:var(--mono); font-size:10px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--ink-mute); margin:0 0 12px; font-weight:600;
}
.foot ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:7px }
.foot ul a{ font-size:13px; color:var(--ink-soft) }
.foot ul a:hover{ color:var(--jade) }
.foot-social{ display:flex; gap:8px; margin-top:10px }
.foot-social a{
  width:32px; height:32px; border-radius:999px; border:1px solid var(--hair-2);
  display:inline-flex; align-items:center; justify-content:center; color:var(--ink-soft);
  transition: border-color .15s, color .15s, background .15s;
}
.foot-social a:hover{ border-color:var(--jade); color:var(--on-jade); background:var(--jade) }
.foot-social svg{ width:14px; height:14px }
.foot-bottom{
  max-width:var(--maxw);
  margin-top:24px; padding-top:18px; border-top:1px solid var(--hair);
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-family:var(--mono); font-size:10px; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-mute);
}
.foot-bottom em{ font-style:italic; color:var(--jade) }
@media (max-width: 900px){ .foot-grid{ grid-template-columns: 1fr 1fr } }
@media (max-width: 520px){ .foot-grid{ grid-template-columns: 1fr } }

/* FAB (kept hidden — CTA lives only in sidebar) */
.fab{ display:none !important }

/* Back to top */
.totop{
  position:fixed; right:22px; bottom:22px; z-index:75;
  width:38px; height:38px; border-radius:999px;
  background:var(--paper-3); border:1px solid var(--hair-2);
  display:inline-flex; align-items:center; justify-content:center;
  color:var(--ink); opacity:0; pointer-events:none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, background .15s, color .15s, border-color .15s;
}
.totop.is-visible{ opacity:1; pointer-events:auto; transform:translateY(0) }
.totop:hover{ background:var(--jade); color:var(--on-jade); border-color:var(--jade) }
.totop svg{ width:16px; height:16px }
@media (max-width:720px){ .totop{ bottom:16px } }

/* Reveal */
.reveal{ opacity:0; transform: translateY(12px); transition: opacity .55s ease, transform .55s ease }
.reveal.is-in{ opacity:1; transform:none }

/* Responsive */
@media (max-width: 1100px){
  .hero{ padding:36px 28px 32px }
  .hero-grid{ grid-template-columns:1fr; gap:28px }
  .section, .section--lg{ padding:36px 28px }
  .page-hero{ padding:40px 28px 28px }
  .cards{ grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .prod-grid{ grid-template-columns: 1fr; gap:22px }
  .aside-card{ position:static }
  .foot{ padding:32px 28px 20px }
}
@media (max-width: 720px){
  .hero{ padding:24px 16px 24px }
  .section, .section--lg{ padding:28px 16px }
  .page-hero{ padding:28px 16px 20px }
  .cards{ grid-template-columns: 1fr }
  .insight-card{ grid-template-columns: repeat(2, 1fr) }
  .head{ flex-direction:column; align-items:flex-start }
  .foot{ padding:28px 16px 20px }
  .hero h1{ font-size:34px }
  h2{ font-size:26px }
}

/* ════════════════════════════════════════════════════════════════
   DARK MODE + THEME TOGGLE + SIGNIFY FAMILY
   Signify Hive ships dark by default (<html class="dark">), but now
   supports a light theme too — consistent with Solution & Insights.
   :root = LIGHT.  html.dark = DARK (Hive's original palette).
   ════════════════════════════════════════════════════════════════ */
html.dark{
  --paper:#0a1612; --paper-2:#0d1f1a; --paper-3:#122722;
  --ink:#f3f0e4; --ink-soft:#c8c3ad; --ink-mute:#8a8975;
  --hair:rgba(243,240,228,.10); --hair-2:rgba(243,240,228,.18);
  --jade:#7ed4b3; --jade-deep:#4fb88f; --jade-soft:rgba(126,212,179,.10); --jade-line:rgba(126,212,179,.25);
  --amber:#f0b27a; --amber-soft:rgba(240,178,122,.10);
  --shadow-card:0 18px 40px -28px rgba(0,0,0,.4),0 5px 14px -8px rgba(0,0,0,.25);
  --shadow-pop:0 22px 50px -28px rgba(0,0,0,.5),0 8px 20px -10px rgba(0,0,0,.3);
  --side-bg:#08130f; --surface:#122722; --foot-bg:#08130f; --on-jade:#072420;
}
html{ color-scheme: light }
html.dark{ color-scheme: dark; scrollbar-color: var(--hair-2) transparent }
body{ transition: background .4s ease, color .4s ease }
.side,.topbar,.m-header,.mobile-menu,.foot,.card,.stat-strip,.totop,.pill,.fam-card{ transition: background .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease }
@media (prefers-reduced-motion:reduce){ body,.side,.topbar,.m-header,.mobile-menu,.foot,.card,.fam-card{ transition:none } }

/* ───── Dark media frames stay dark in BOTH themes ─────
   .hero-figure, .insight-card, .card-art and .section--ink are deliberately
   dark editorial frames (built around product imagery). Their backgrounds are
   hardcoded dark above; here we keep their overlay text legible in light mode. */
.section--ink{ color:#e9e4d3 }
.section--ink h1,.section--ink h2,.section--ink h3,.section--ink h4{ color:#f3f0e4 }
.section--ink h1 em,.section--ink h2 em,.section--ink h3 em,.section--ink h4 em{ color:#7ed4b3 }
.section--ink p,.section--ink .lede{ color:rgba(243,240,228,.80) }
.section--ink .eyebrow{ color:#7ed4b3 }
.section--ink .eyebrow .dot{ background:#7ed4b3 }
.section--ink .mono{ color:rgba(243,240,228,.55) }
.section--ink .pill--ghost{ background:transparent; color:#f3f0e4; border-color:rgba(243,240,228,.30) }
.hf-cap{ color:rgba(243,240,228,.60) }
.hf-cap b{ color:#7ed4b3 }
.hf-corner{ color:rgba(243,240,228,.55) }
.insight-card .k{ color:rgba(243,240,228,.55) }
.insight-card .v{ color:#f3f0e4 }
.insight-card .v em{ color:#7ed4b3 }
.insight-card .sub{ color:rgba(243,240,228,.50) }
.card-art .num{ color:#7ed4b3 }
.card-art .tag{ color:rgba(243,240,228,.60) }

/* ───── Theme toggle button ───── */
.theme-tg{
  width:34px; height:34px; border-radius:999px;
  border:1px solid var(--hair-2); color:var(--ink-soft);
  display:inline-flex; align-items:center; justify-content:center; flex-shrink:0;
  background:transparent;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.theme-tg:hover{ color:var(--jade); border-color:var(--jade-line); background:var(--jade-soft) }
.theme-tg svg{ width:16px; height:16px }
.m-header .m-tools{ display:flex; align-items:center; gap:10px }

/* ───── Signify family — three properties ───── */
.family .head{ flex-direction:column; align-items:center; text-align:center; margin-bottom:30px }
.family .head h2{ margin-top:6px }
.family .head .sub{ max-width:58ch; margin-top:10px; text-align:center }
.fam-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; max-width:var(--maxw); margin:0 auto }
.fam-card{
  position:relative; display:flex; flex-direction:column; text-align:center; align-items:center;
  padding:34px 26px 28px; background:var(--surface);
  border:1px solid var(--hair); border-radius:var(--r-lg); box-shadow:var(--shadow-card);
  transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, border-color .28s ease;
}
.fam-card:hover{ transform:translateY(-5px); box-shadow:var(--shadow-pop); border-color:var(--jade-line) }
.fam-card.cur{ outline:2px solid var(--jade); outline-offset:-2px }
.fam-card.dark{ background:#0c1512; border-color:rgba(255,255,255,.08) }
.fam-card.dark.cur{ outline-color:#7ed4b3 }
.fam-card .fm{ width:58px; height:58px; margin:0 auto 16px; color:var(--jade) }
.fam-card.dark .fm{ color:#7ed4b3 }
.fam-card .fname{ font-family:var(--serif); font-size:23px; font-weight:500; letter-spacing:-.01em; color:var(--ink) }
.fam-card .fname em{ font-style:italic; color:var(--jade); font-weight:500 }
.fam-card.dark .fname{ color:#f3f0e4 }
.fam-card.dark .fname em{ color:#7ed4b3 }
.fam-card .frole{ font-family:var(--mono); font-size:10px; text-transform:uppercase; letter-spacing:.12em; color:var(--ink-mute); margin:9px 0 13px }
.fam-card.dark .frole{ color:#9fb0aa }
.fam-card .fdesc{ font-size:13.5px; color:var(--ink-soft); line-height:1.55; margin:0 }
.fam-card.dark .fdesc{ color:#b9c6c1 }
.fam-card .flink{ margin-top:16px; font-family:var(--mono); font-size:10.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--jade); display:inline-flex; gap:7px; align-items:center }
.fam-card.dark .flink{ color:#7ed4b3 }
.fam-card .flink .ar{ transition: transform .3s ease }
.fam-card:hover .flink .ar{ transform: translateX(3px) }
.cur-badge{
  position:absolute; top:13px; right:13px;
  font-family:var(--mono); font-size:8.5px; text-transform:uppercase; letter-spacing:.1em;
  background:var(--jade); color:var(--on-jade); padding:4px 9px; border-radius:999px;
}
/* footer family block */
.foot-fam{ margin-top:18px }
.foot-fam h5{ margin-bottom:10px }
.foot-fam ul{ display:flex; flex-direction:column; gap:7px; list-style:none; padding:0; margin:0 }
.foot-fam ul a{ font-size:13px; color:var(--ink-soft); display:inline-flex; align-items:center; gap:7px }
.foot-fam ul a:hover{ color:var(--jade) }
.foot-fam .here{ font-family:var(--mono); font-size:8.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--jade); border:1px solid var(--jade-line); border-radius:999px; padding:1px 7px }
@media (max-width:900px){ .fam-row{ grid-template-columns:1fr; gap:16px } }

/* ═══════════ Round 5 additions ═══════════ */

/* (1) Product cards keep their dark editorial look in BOTH themes — locked, theme-invariant */
.card{ background:#122722; border-color:rgba(243,240,228,.10) }
.card:hover{ border-color:rgba(126,212,179,.25) }
.card-art{ border-bottom-color:rgba(243,240,228,.10) }
.card h3, .card h3 em{ color:#f3f0e4 }
.card p{ color:#c8c3ad }
.card-foot{ color:#8a8975 }
.card-foot .go, .card:hover .card-foot .go{ color:#7ed4b3 }

/* (2/5) Footer legal links (Privacy | Terms) */
.foot-legal{ display:inline-flex; align-items:center; gap:14px }
.foot-legal a{ color:var(--ink-mute) }
.foot-legal a:hover{ color:var(--jade) }
.foot-legal .foot-sep{ color:var(--ink-mute); opacity:.5 }

/* Legal / policy prose (terms, privacy) */
.legal{ max-width:74ch }
.legal > p{ color:var(--ink-soft); font-size:14.5px; line-height:1.7; margin:0 0 16px }
.legal h2{ font-size:20px; font-weight:500; letter-spacing:-.01em; margin:28px 0 8px }
.legal h2:first-of-type{ margin-top:6px }
.legal a{ color:var(--jade); text-decoration:underline; text-underline-offset:2px }
.legal strong{ color:var(--ink); font-weight:600 }
.legal .updated{ margin-top:26px; font-family:var(--mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-mute) }

/* ═══════════ Round 6 — About enrichment ═══════════ */
.pillar-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:18px; max-width:var(--maxw); margin-inline:auto }
.pillar{ background:var(--surface); border:1px solid var(--hair); border-radius:var(--r-lg); padding:26px 26px 24px; box-shadow:var(--shadow-card); transition:transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, border-color .28s ease }
.pillar:hover{ transform:translateY(-4px); box-shadow:var(--shadow-pop); border-color:var(--jade-line) }
.pillar .pk{ font-family:var(--mono); font-size:9px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-mute); display:block; margin-bottom:14px }
.pillar .pico{ width:40px; height:40px; border-radius:11px; display:grid; place-items:center; background:var(--jade-soft); color:var(--jade); margin-bottom:15px }
.pillar .pico svg{ width:21px; height:21px }
.pillar h3{ font-family:var(--serif); font-size:19px; font-weight:500; margin:0 0 7px; color:var(--ink) }
.pillar h3 em{ font-style:italic; color:var(--jade) }
.pillar p{ font-size:13px; color:var(--ink-soft); line-height:1.6; margin:0 }

.about-products{ display:grid; grid-template-columns:repeat(2,1fr); gap:0 40px; max-width:var(--maxw); margin-inline:auto }
.about-products a{ display:flex; gap:14px; align-items:baseline; padding:16px 2px; border-bottom:1px solid var(--hair); transition:padding .15s ease }
.about-products a:hover{ padding-inline-start:8px }
.about-products .pn{ font-family:var(--serif); font-size:17px; color:var(--ink); flex:0 0 130px }
.about-products .pn em{ font-style:italic }
.about-products a:hover .pn{ color:var(--jade) }
.about-products .pd{ font-size:13px; color:var(--ink-soft); line-height:1.5 }
@media(max-width:760px){ .about-products .pn{ flex-basis:auto } }

.lead-quote{ display:grid; grid-template-columns:260px 1fr; gap:40px; align-items:center; max-width:1080px; margin-inline:auto }
.lead-quote .lq-portrait{ border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow-card); aspect-ratio:1/1; border:1px solid var(--hair) }
.lead-quote .lq-portrait img{ width:100%; height:100%; object-fit:cover; display:block }
.lead-quote .lq-mark{ width:42px; height:42px; color:var(--jade); opacity:.4; margin-bottom:2px }
.lead-quote blockquote{ margin:0; font-family:var(--serif); font-weight:300; font-size:clamp(22px,2.5vw,30px); line-height:1.3; letter-spacing:-.012em; color:var(--ink) }
.lead-quote blockquote em{ font-style:italic; color:var(--jade) }
.lead-quote .lq-who{ margin-top:22px }
.lead-quote .lq-who strong{ display:block; color:var(--ink); font-size:15px; font-weight:600 }
.lead-quote .lq-who span{ font-family:var(--mono); font-size:10px; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-mute) }
@media(max-width:760px){ .pillar-grid,.about-products{ grid-template-columns:1fr } .lead-quote{ grid-template-columns:1fr; gap:24px } .lead-quote .lq-portrait{ max-width:210px } }
