/* diceco.io: Onchain/Software division. Matches the icp.diceco.io hub: royal blue #1F4DE0, gray #4B4B4B, light, rounded. */
:root{--bg:#f5f7fd;--bg2:#fff;--card:#fff;--ink:#1f2430;--ink2:#4b4b4b;--head:#151a26;--line:#e3e7f1;
--accent:#1f4de0;--link:#1f4de0;--btn:#1f4de0;--btn-hover:#1638b0;--icobg:#eef2fd;--navink:#4b4b4b;--navhover:#eef2fd;
--topbg:rgba(255,255,255,.9);--r:16px;--rs:12px;--shadow:0 1px 2px rgba(16,24,40,.04),0 6px 24px rgba(16,24,40,.06);
--herobg:radial-gradient(1200px 500px at 85% -10%,rgba(255,255,255,.18),transparent 60%),linear-gradient(135deg,#1638b0 0%,#1f4de0 55%,#3d6bf5 100%);
--heroink:#fff;--herospan:#cfdcff;--herolead:#e6ecff;--heroeyebrow:#cfdcff;
--sisterbg:linear-gradient(160deg,#0c1a27,#122a3d 60%,#0d3550);--sisterink:#fff;
--footbg:#121a33;--footink:#c3cbe4;--footlink:#9db4ff;--footline:#26305a;--footcard:#18224a;--foothead:#fff}
.brand img.logo{height:34px;width:auto}
.btn-primary{background:linear-gradient(135deg,#3d6bf5,#1f4de0)}
.hero .btn-ghost{color:#fff}
.tool{display:flex;flex-direction:column;padding:0;overflow:hidden}
.tool img{width:100%;aspect-ratio:16/10;object-fit:cover;object-position:top;border-bottom:1px solid var(--line)}
.tool .body{padding:20px;display:flex;flex-direction:column;gap:6px;flex:1}
.tool .body .btn{margin-top:auto;align-self:flex-start}
.live{display:inline-flex;align-items:center;gap:6px;font-size:.78rem;font-weight:800;color:#059669}
.live::before{content:"";width:8px;height:8px;border-radius:50%;background:#059669}
.chainbg{background:url(img/chain-blue.png) right -40px center/260px no-repeat,var(--bg2)}
.demo-cats{display:flex;flex-direction:column;gap:48px}
.demo-group h2{margin-bottom:0}
.demo .demo-date{font-size:.85rem;color:var(--ink2);margin:0}
.demo .demo-highlight{margin:8px 0 0;padding:10px 12px;background:var(--icobg);border-left:4px solid var(--accent);border-radius:var(--rs);font-weight:700;color:var(--head);font-size:.95rem}
.demo-group .grid.g2:has(> :only-child){grid-template-columns:minmax(0,540px)}
